diff options
author | Juergen Daubert <jue@jue.li> | 2017-11-06 13:21:08 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2017-11-06 13:21:08 +0100 |
commit | 6ec445f90caae9c88eb0b4129c3894b9ac0ca131 (patch) | |
tree | e1f42bbb18a169d7f251b1b967ff0b13830f56b0 /qpdfview | |
parent | 9da2da8f9c8d07d08f8cc3d73a5b970d40df5cbf (diff) | |
download | opt-6ec445f90caae9c88eb0b4129c3894b9ac0ca131.tar.gz opt-6ec445f90caae9c88eb0b4129c3894b9ac0ca131.tar.xz |
qpdfview: don't depend on cups at buildtime, FS#1525
Diffstat (limited to 'qpdfview')
-rw-r--r-- | qpdfview/.signature | 6 | ||||
-rw-r--r-- | qpdfview/Pkgfile | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/qpdfview/.signature b/qpdfview/.signature index 2508bd129..2a913e8f3 100644 --- a/qpdfview/.signature +++ b/qpdfview/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/URhEMIrodUZVBEizqbzyCkxQ3WfeX53Ta1RfdtpZZqnBJt+RJuA80Z4d/2kl/MybTvJ8v1ecTeRubmxftb5NQ4= -SHA256 (Pkgfile) = c521fed656d63ecd68c2dc7e231b4cfb6b141458ca81d0546e64e242c9b2a63d -SHA256 (.footprint) = 75aab53ceb8ff2006850a67151c196fac74b04d113ed4d1dea72dd0b714b42c6 +RWSE3ohX2g5d/fjCMJWLUmosxigDn+Uce9ovm874rtwbH3H8w5SYbWFwBbbL+hqxGaCbrUYEBlpm9g4FRd22CBtNbuwlKaAVGAA= +SHA256 (Pkgfile) = 693a43ae94fbafeaddf6c932b4fb96daa823642ab024e47b6c1167afc166e202 +SHA256 (.footprint) = d46c3ee367b004f1ee5c1328e1a07e365d2f22163f213861965befe1e120f23e SHA256 (qpdfview-0.4.17beta1.tar.gz) = 60206c5f76410a35098e3c965552cec08cd85941776ea6f6b207d7ea63ce940f diff --git a/qpdfview/Pkgfile b/qpdfview/Pkgfile index 7d753e188..3b3cba623 100644 --- a/qpdfview/Pkgfile +++ b/qpdfview/Pkgfile @@ -5,15 +5,20 @@ name=qpdfview version=0.4.17beta1 -release=1 +release=2 source=(https://launchpad.net/qpdfview/trunk/$version/+download/$name-$version.tar.gz) build () { cd $name-$version + local OPTS + pkginfo -i | grep -q '^cups ' || OPTS+='without_cups ' + pkginfo -i | grep -q '^libspectre ' || OPTS+='without_ps ' + pkginfo -i | grep -q '^djvulibre ' || OPTS+='without_djvu ' + qmake-qt5 qpdfview.pro \ MANUAL_INSTALL_PATH=/usr/share/man/man1 \ - CONFIG+="without_ps without_djvu" + CONFIG+="$OPTS" make make INSTALL_ROOT=$PKG install |