summaryrefslogtreecommitdiff
path: root/user/qt5-qtsvg
diff options
context:
space:
mode:
Diffstat (limited to 'user/qt5-qtsvg')
-rw-r--r--user/qt5-qtsvg/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/qt5-qtsvg/APKBUILD b/user/qt5-qtsvg/APKBUILD
new file mode 100644
index 000000000..e5384eb23
--- /dev/null
+++ b/user/qt5-qtsvg/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qt5-qtsvg
+_pkgname=qtsvg-opensource-src
+pkgver=5.9.6
+pkgrel=0
+pkgdesc="Qt 5 - SVG rendering library"
+url="https://qt.io/"
+arch="all"
+license="LGPL-2.0 with exceptions OR GPL-3.0 with exceptions"
+makedepends="qt5-qtbase-dev zlib-dev"
+subpackages="$pkgname-dev"
+source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ qmake
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+sha512sums="6e86f050c07621d628f6e9440541be1fd80b3e05b034ba17bb5068afd4775d9ee08d7bf11d2ffdf03da2cb8ca66bfaf2f59b7e5e76acdb1a1e2ec25af25c65b4 qtsvg-opensource-src-5.9.6.tar.xz"