aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtgraphicaleffects/APKBUILD
blob: 1c43cff43cb058d219c6a6d40e544d969af7d22d (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
46
47
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtgraphicaleffects
pkgver=5.3.0
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
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*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtgraphicaleffects-opensource-src-$_V.tar.xz"

_builddir="$srcdir"/qtgraphicaleffects-opensource-src-$_V
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="a4170d057978794c2c3c477e841a0e08  qtgraphicaleffects-opensource-src-5.3.0.tar.xz"
sha256sums="3f95fb603fb3c7fbb54587b3dfe423491e058fd61af2d7371b1f12881cff20c1  qtgraphicaleffects-opensource-src-5.3.0.tar.xz"
sha512sums="94dc6f9ed44b9785b5d8db3b85a3f1af45e5b8571d1ebf8f3567f4a10b88817ace17f0f56b2a97b3477e22852ab99c2d26425596d70516a8ade9092e0f3840bf  qtgraphicaleffects-opensource-src-5.3.0.tar.xz"