aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/evas_generic_loaders/APKBUILD
blob: 8b8a5e5afb62b7f2dbdd041cae03c3ddafe19568 (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.9
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="01bb7cf2c97014f087bbba4de237b3e8  evas_generic_loaders-1.7.9.tar.gz"
sha256sums="e163a97db7311cbc8489572f201c404929a52099b3156e54a9af2181f8389824  evas_generic_loaders-1.7.9.tar.gz"
sha512sums="991229bebd0c07b22e69fbbd104587eced03ae9032431b54a4ea4c12f76a5165c22dc8b1eff35ee1f9890d8a2a3ccdc9c78c59a3097431f9007007279666b417  evas_generic_loaders-1.7.9.tar.gz"