1
0
forked from ports/opt

qpdfview: update to 0.5.0beta1, new deps poppler-qt6, qt6-svg

This commit is contained in:
Juergen Daubert 2022-11-13 14:02:55 +01:00
parent 498e87d495
commit ce9f563d37
3 changed files with 22 additions and 27 deletions

View File

@ -6,8 +6,6 @@ drwxr-xr-x root/root usr/lib/qpdfview/
-rwxr-xr-x root/root usr/lib/qpdfview/libqpdfview_image.so
-rwxr-xr-x root/root usr/lib/qpdfview/libqpdfview_pdf.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/appdata/
-rw-r--r-- root/root usr/share/appdata/qpdfview.appdata.xml
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/qpdfview.desktop
drwxr-xr-x root/root usr/share/icons/
@ -18,5 +16,7 @@ drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/qpdfview.1.gz
drwxr-xr-x root/root usr/share/metainfo/
-rw-r--r-- root/root usr/share/metainfo/qpdfview.appdata.xml
drwxr-xr-x root/root usr/share/qpdfview/
-rw-r--r-- root/root usr/share/qpdfview/help.html

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/YZ2mU5+GoJSmuzEtuFH+61qv4JUxA6rXF5vYMWPrlt5ap8h/8RSnGOEFGjUuyeXhzULJpZs8xpHFASxr/t5+gY=
SHA256 (Pkgfile) = 148d766701aa5b281c2cec269c04662a22a14ff81a7e39a9cbf87e878eb75f08
SHA256 (.footprint) = 75aab53ceb8ff2006850a67151c196fac74b04d113ed4d1dea72dd0b714b42c6
SHA256 (qpdfview-0.4.18.tar.gz) = cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c
SHA256 (qt5-5.15.diff) = d5a15d296d0178a8bd22f49344db5377b6d937dfabb076dc1109d37ea6a6449f
RWSE3ohX2g5d/WpOWwb0dq8C3MDfkhGOQlubScw/dVRLgMYWTMhKTSQCHVm3+hB+3alk8777VHIwR4kkVK38ZkAvO31bqbQ4dwY=
SHA256 (Pkgfile) = 1937d51e212f90d8e2ef779a65f8d42dde4182e4c697a4a39b70f18a46749383
SHA256 (.footprint) = 3ad99cff3fdcb781dd90c73f5f98155b88ff845f762bf2311d4e799c80495784
SHA256 (qpdfview-0.5.0beta1.tar.gz) = b1ce3ec3683ba15e323e02780c7777b45760ce10f022f56f053500b3e3a9432e

View File

@ -1,30 +1,26 @@
# Description: PDF viewer
# URL: https://launchpad.net/qpdfview
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: poppler-qt5
# URL: https://launchpad.net/qpdfview
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: poppler-qt6 qt6-svg
name=qpdfview
version=0.4.18
release=2
source=(https://launchpad.net/qpdfview/trunk/$version/+download/$name-$version.tar.gz
qt5-5.15.diff)
version=0.5.0beta1
release=1
source=(https://launchpad.net/qpdfview/trunk/$version/+download/$name-$version.tar.gz)
build () {
cd $name-$version
cd $name-$version
patch -p0 -i $SRC/qt5-5.15.diff
prt-get isinst cups || PKGMK_QPDFVIEW+='without_cups '
prt-get isinst libspectre || PKGMK_QPDFVIEW+='without_ps '
prt-get isinst djvulibre || PKGMK_QPDFVIEW+='without_djvu '
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-qt6 qpdfview.pro \
MANUAL_INSTALL_PATH=/usr/share/man/man1 \
CONFIG+="$PKGMK_QPDFVIEW"
qmake-qt5 qpdfview.pro \
MANUAL_INSTALL_PATH=/usr/share/man/man1 \
CONFIG+="$OPTS"
make
make INSTALL_ROOT=$PKG install
make
make INSTALL_ROOT=$PKG install
rm $PKG/usr/share/qpdfview/help_*.html
rm $PKG/usr/share/qpdfview/help_*.html
}