aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evas_generic_loaders/APKBUILD
blob: 7c4ca7c5ea0b4648bc45d4a2dffadeded2d74a19 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evas_generic_loaders
pkgver=1.7.8
pkgrel=0
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="8d6c7f56db854fdf931fc9270d0fda87  evas_generic_loaders-1.7.8.tar.gz"
sha256sums="4f5f2a00eb065049de3e31cd86aee7de3b0593b9aec70aeb851f4f8189233d34  evas_generic_loaders-1.7.8.tar.gz"
sha512sums="f793f1efdcdc60c899b355d47648731fcb11d30fb31a9e41dc02ca057a8881e27062d2514e1b2b651464c5c8e49a40325d0d3e5f2200427608f6371cb2545856  evas_generic_loaders-1.7.8.tar.gz"