1
0
forked from ports/opt

qpdfview: don't depend on cups at buildtime, FS#1525

This commit is contained in:
Juergen Daubert 2017-11-06 13:21:08 +01:00
parent 9da2da8f9c
commit 6ec445f90c
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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