aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evas_generic_loaders/APKBUILD
blob: 3a34aa0faae73a3c62cd38a3c44cca3af3865da0 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evas_generic_loaders
pkgver=1.7.4
pkgrel=2
pkgdesc="Extra loaders for GPL loaders and unstable libraries"
url="http://trac.enlightenment.org/e/wiki/Evas_Generic_Loaders"
arch="all"
license="BSD"
depends=
makedepends="eina-dev poppler-dev gstreamer-dev gst-plugins-base-dev
	libraw-dev librsvg-dev"
install=""
subpackages=""
source="http://download.enlightenment.org/releases/evas_generic_loaders-$pkgver.tar.gz"

_builddir="$srcdir"/evas_generic_loaders-$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"
	./configure --prefix=/usr \
		--enable-poppler \
		--disable-spectre \
		--enable-libraw \
		--enable-svg \
		--enable-gstreamer \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="2edde882521b30a4cc3ce092a1ef86d0  evas_generic_loaders-1.7.4.tar.gz"