macports: update master with relevant parts of 1.25 update
This commit is contained in:
@@ -2,13 +2,17 @@
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup app 1.0
|
||||
PortGroup qt5 1.0
|
||||
PortGroup cxx11 1.1
|
||||
|
||||
qt5.depends_component qtwebkit
|
||||
|
||||
name recoll
|
||||
version 1.25.0
|
||||
version 1.26.0
|
||||
categories textproc
|
||||
platforms darwin
|
||||
license GPL-2+
|
||||
maintainers dockes.org:jf openmaintainer
|
||||
maintainers {dockes.org:jf @medoc92} openmaintainer
|
||||
|
||||
description Desktop full text search
|
||||
|
||||
@@ -17,35 +21,41 @@ long_description Recoll is a desktop search tool based on Xapian
|
||||
homepage http://www.recoll.org/
|
||||
master_sites ${homepage}
|
||||
|
||||
checksums rmd160 2518c8ce8cf5661985283c153c20b1caec9e5860 \
|
||||
sha256 f1552961dd0cfd1a12d95fab1bf4990846df2085ddeaa5e832442bbce35acad2 \
|
||||
size 2675171
|
||||
checksums rmd160 88aebac6074f3e6242770348ac30e405975effa6 \
|
||||
sha256 500d114952aa03c222847df8ecd0f9c58fc1d03b940df72de81e02e52ca905bc \
|
||||
size 2849390
|
||||
|
||||
depends_lib port:xapian-core \
|
||||
port:qt5 \
|
||||
port:qt5-qtwebkit \
|
||||
port:aspell \
|
||||
port:libiconv \
|
||||
port:zlib
|
||||
|
||||
depends_run port:antiword \
|
||||
port:py27-libxml2 \
|
||||
port:py27-libxslt \
|
||||
port:python37 \
|
||||
port:py37-lxml \
|
||||
port:poppler \
|
||||
port:unrtf \
|
||||
port:unzip
|
||||
|
||||
patchfiles patch-sampleconf-mimeview.diff \
|
||||
patch-mkin-no-no-undefined.diff
|
||||
patch-mkin-no-no-undefined.diff \
|
||||
patch-recoll-pro-stdlib.diff
|
||||
|
||||
post-patch {
|
||||
if {[string match *clang* ${configure.compiler}]} {
|
||||
set clang_stdlib -stdlib=${configure.cxx_stdlib}
|
||||
reinplace "s|@@STDLIB@@|${clang_stdlib}|g" qtgui/recoll.pro.in
|
||||
}
|
||||
}
|
||||
|
||||
# Note: this is probably not the right way to configure QMAKE
|
||||
configure.args QMAKE=${prefix}/libexec/qt5/bin/qmake \
|
||||
--without-x \
|
||||
--disable-x11mon \
|
||||
--disable-python-module \
|
||||
--disable-python-chm
|
||||
configure.args QMAKE=${prefix}/libexec/qt5/bin/qmake \
|
||||
--without-x \
|
||||
--disable-x11mon \
|
||||
--disable-python-module \
|
||||
--disable-python-chm
|
||||
|
||||
build.args CC=${configure.cc} CXX=${configure.cxx}
|
||||
build.args CC=${configure.cc} CXX=${configure.cxx} CPPFLAGS=-DMACPORTS=1
|
||||
|
||||
pre-destroot {
|
||||
xinstall -m 755 ${worksrcpath}/qtgui/recoll.app/Contents/MacOS/recoll ${destroot}${prefix}/bin/${name}
|
||||
|
||||
Reference in New Issue
Block a user