diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/qt5-qtsvg/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/qt5-qtsvg/APKBUILD b/testing/qt5-qtsvg/APKBUILD new file mode 100644 index 000000000..c3d60a367 --- /dev/null +++ b/testing/qt5-qtsvg/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: +# Maintainer: +pkgname=qt5-qtsvg +pkgver=5.1.1 +pkgrel=0 +pkgdesc="Qt5 - Support for rendering and displaying SVG" +url="http://qt-project.org/" +arch="all" +license="LGPLv2 with exceptions or GPLv3 with exceptions" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev zlib-dev" +install="" +subpackages="$pkgname-dev" +source="http://download.qt-project.org/official_releases/qt/5.1/$pkgver/submodules/qtsvg-opensource-src-$pkgver.tar.xz" + +_builddir="$srcdir"/qtsvg-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" || return 1 + rm "$pkgdir"/usr/lib/*.la || return 1 +} + +md5sums="9db8209602b0ea942273e01a874ea5b7 qtsvg-opensource-src-5.1.1.tar.xz" +sha256sums="6bfe7705ff58391205ca797d84ca6dda57ebcce106fdff52d4908b0e443567bf qtsvg-opensource-src-5.1.1.tar.xz" +sha512sums="c6faa5e0e0815180e6183fd71caa19973d08707d729b83d269bedcfe62d9eaa1634d71a390ad11b3665601ec0d39b08728b0d14d07552fe7d7b81b9d930aa5b6 qtsvg-opensource-src-5.1.1.tar.xz" |