summaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtimageformats/APKBUILD
blob: 27da02e7ce3a2c5714709d91142decc3a39b2591 (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
# 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"