summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-03-24 19:54:09 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-03-24 19:54:09 +0000
commitdf1c7b8e8a64c40ef6defd7477b1a6ad0d581581 (patch)
tree8566a805b772a2eeb51956f02b13ee2bb460d83a
parent179bca29153204cd41d8e66a622ee8895e5b80ad (diff)
parent3a8aa124bf5b8915b8129b6824b19db97d05e5aa (diff)
downloadpackages-df1c7b8e8a64c40ef6defd7477b1a6ad0d581581.tar.gz
packages-df1c7b8e8a64c40ef6defd7477b1a6ad0d581581.tar.bz2
packages-df1c7b8e8a64c40ef6defd7477b1a6ad0d581581.tar.xz
packages-df1c7b8e8a64c40ef6defd7477b1a6ad0d581581.zip
Merge branch 'qpdfview' into 'master'
user/qpdfview: new package Note that PS and DjVu support have been disabled until the following are packaged: * libspectre * djvulibre This is a new aport and can be submitted to Alpine as well. See merge request !18
-rw-r--r--user/qpdfview/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/qpdfview/APKBUILD b/user/qpdfview/APKBUILD
new file mode 100644
index 000000000..7610acac0
--- /dev/null
+++ b/user/qpdfview/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=qpdfview
+pkgver=0.4.16
+pkgrel=0
+pkgdesc="A tabbed document viewer"
+url="https://launchpad.net/qpdfview"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="poppler-qt5-dev qt5-qttools-dev qt5-qtbase-dev qt5-qtsvg-dev pkgconf cups-dev gnutls-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$url/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+options="!check" # No test suite.
+
+build() {
+ cd "$builddir"
+ lrelease-qt5 qpdfview.pro
+ qmake-qt5 CONFIG+="without_ps without_djvu" qpdfview.pro
+ make
+}
+
+package() {
+ cd "$builddir"
+ make INSTALL_ROOT="$pkgdir" install
+}
+
+sha512sums="d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584 qpdfview-0.4.16.tar.gz"