2015-09-24 13:28:31 +02:00
|
|
|
# Description: PDF viewer
|
2022-11-13 14:02:55 +01:00
|
|
|
# URL: https://launchpad.net/qpdfview
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: poppler-qt6 qt6-svg
|
2015-09-24 13:28:31 +02:00
|
|
|
|
|
|
|
name=qpdfview
|
2022-11-13 14:02:55 +01:00
|
|
|
version=0.5.0beta1
|
|
|
|
release=1
|
|
|
|
source=(https://launchpad.net/qpdfview/trunk/$version/+download/$name-$version.tar.gz)
|
2015-09-24 13:28:31 +02:00
|
|
|
|
|
|
|
build () {
|
2022-11-13 14:02:55 +01:00
|
|
|
cd $name-$version
|
2015-09-24 13:28:31 +02:00
|
|
|
|
2022-11-13 14:02:55 +01:00
|
|
|
prt-get isinst cups || PKGMK_QPDFVIEW+='without_cups '
|
|
|
|
prt-get isinst libspectre || PKGMK_QPDFVIEW+='without_ps '
|
|
|
|
prt-get isinst djvulibre || PKGMK_QPDFVIEW+='without_djvu '
|
2020-07-03 13:26:46 +02:00
|
|
|
|
2022-11-13 14:02:55 +01:00
|
|
|
qmake-qt6 qpdfview.pro \
|
|
|
|
MANUAL_INSTALL_PATH=/usr/share/man/man1 \
|
|
|
|
CONFIG+="$PKGMK_QPDFVIEW"
|
2017-11-06 13:21:08 +01:00
|
|
|
|
2022-11-13 14:02:55 +01:00
|
|
|
make
|
|
|
|
make INSTALL_ROOT=$PKG install
|
2015-09-24 13:28:31 +02:00
|
|
|
|
2022-11-13 14:02:55 +01:00
|
|
|
rm $PKG/usr/share/qpdfview/help_*.html
|
2015-09-24 13:28:31 +02:00
|
|
|
}
|