[133751] trunk/dports/graphics/poppler/Portfile
devans at macports.org
devans at macports.org
Tue Mar 10 11:15:44 PDT 2015
Revision: 133751
https://trac.macports.org/changeset/133751
Author: devans at macports.org
Date: 2015-03-10 11:15:44 -0700 (Tue, 10 Mar 2015)
Log Message:
-----------
poppler: update to version 0.32.0, enable unit tests for poppler-qt4-mac subport, move Qt version independent configuration to a subport common seqment in anticipation of a future poppler-qt5-mac subport, update TODO comments (#47025).
Modified Paths:
--------------
trunk/dports/graphics/poppler/Portfile
Modified: trunk/dports/graphics/poppler/Portfile
===================================================================
--- trunk/dports/graphics/poppler/Portfile 2015-03-10 16:21:23 UTC (rev 133750)
+++ trunk/dports/graphics/poppler/Portfile 2015-03-10 18:15:44 UTC (rev 133751)
@@ -8,7 +8,7 @@
name poppler
conflicts pdf2json xpdf-tools
-version 0.31.0
+version 0.32.0
license GPL-2+
maintainers devans openmaintainer
categories graphics
@@ -22,8 +22,8 @@
use_xz yes
-checksums rmd160 6b786565edf89fdd97419fcbe39302f8ce837400 \
- sha256 943290270dca390d8f14467d54b06a25d9d6f70dc5853b0a9b89c62f74570694
+checksums rmd160 3c301db613399db407bd2ee9b033423b0232b8c2 \
+ sha256 4963e31ba5e17530a87b16588e22928bc044e8d28d02303dded981bff6725b98
depends_build port:pkgconfig
@@ -65,18 +65,32 @@
}
# TODO:
-# add subport for poppler-qt4-x11 when qt4-x11 builds and port group qt4 allows
-# add subport(s) for poppler-qt5-* when a qt5 port is available
+# add subport poppler-qt4-x11 when qt4-x11 builds and port group qt4 allows
+# add subport poppler-qt5-mac when various qt5 build issues are resolved (#47025)
subport poppler-qt4-mac {
PortGroup qt4 1.0
+
+ configure.args-delete --disable-poppler-qt4
+}
+
+if {${subport} ne ${name}} {
+ post-extract {
+ system -W ${workpath} "git clone --depth=1 git://git.freedesktop.org/git/poppler/test"
+ }
depends_lib-append port:poppler
- configure.args-delete --disable-poppler-qt4
+
configure.args-append --disable-cairo-output \
--disable-poppler-glib \
--disable-poppler-cpp \
--disable-utils
+
+# currently poppler only provides unit tests for the Qt wrappers
+
+ test.run yes
+ test.target check
+
post-destroot {
foreach dot_h [glob -nocomplain -directory ${destroot}${prefix}/include/poppler *.h] {
delete $dot_h
@@ -84,7 +98,7 @@
delete ${destroot}${prefix}/include/poppler/fofi \
${destroot}${prefix}/include/poppler/goo \
${destroot}${prefix}/include/poppler/splash \
- ${destroot}${prefix}/lib/libpoppler.50.dylib \
+ ${destroot}${prefix}/lib/libpoppler.51.dylib \
${destroot}${prefix}/lib/libpoppler.a \
${destroot}${prefix}/lib/libpoppler.dylib \
${destroot}${prefix}/lib/libpoppler.la \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150310/8612f975/attachment-0001.html>
More information about the macports-changes
mailing list