aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/qt5-qtimageformats/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/qt5-qtimageformats/APKBUILD b/testing/qt5-qtimageformats/APKBUILD
new file mode 100644
index 0000000000..27da02e7ce
--- /dev/null
+++ b/testing/qt5-qtimageformats/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=qt5-qtimageformats
+pkgver=5.1.1
+pkgrel=0
+pkgdesc="Qt5 - QtImageFormats component"
+url="http://qt-project.org/"
+arch="all"
+license="LGPLv2 with exceptions or GPLv3 with exceptions"
+depends=""
+depends_dev=""
+makedepends="$depends_dev qt5-qtbase-dev libmng-dev tiff-dev"
+install=""
+subpackages=""
+source="http://download.qt-project.org/official_releases/qt/5.1/$pkgver/submodules/qtimageformats-opensource-src-$pkgver.tar.xz"
+
+_builddir="$srcdir"/qtimageformats-opensource-src-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ qmake && make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+md5sums="209edddd5899b36ea7ea7ad52204a593 qtimageformats-opensource-src-5.1.1.tar.xz"
+sha256sums="3bbb7825c0298c7d95d26b205e48da02c5bac3b35d66a601f939f8ee8b3463a4 qtimageformats-opensource-src-5.1.1.tar.xz"
+sha512sums="c42144fe39df5da69eec6b00e54bb0d0795a7f8c1617094c9dd9c5f79f96ff7ba5c447bbd931aa730bf5dcebac8a7e8e6f397501264d7279233876df6cbd2771 qtimageformats-opensource-src-5.1.1.tar.xz"