aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtgraphicaleffects/APKBUILD
blob: 2bfe2abea4081689489a036eae0595fa7f9b4c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtgraphicaleffects
pkgver=5.3.0_beta0
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
pkgrel=0
pkgdesc="Qt5 - QtGraphicalEffects 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"
install=""
subpackages=""
case $pkgver in
*_beta*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtgraphicaleffects-opensource-src-$_ver.tar.xz"

_builddir="$srcdir"/qtgraphicaleffects-opensource-src-$_ver
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
}

md5sums="b2f8c1d64696d68f7aec2f9a26a336a0  qtgraphicaleffects-opensource-src-5.3.0-beta.tar.xz"
sha256sums="f27dbde429719fb3852b51e881eb997355ede383c00470faef46a2e9156ca0f6  qtgraphicaleffects-opensource-src-5.3.0-beta.tar.xz"
sha512sums="1972a86eb94258aaebc87d48c7fba830be5b7689f12a2b56b374d61f30c27af0e8f0f043e4920926481ffdaf0f274245350a69a40ee0fac7872385e05660db1d  qtgraphicaleffects-opensource-src-5.3.0-beta.tar.xz"