diff options
-rw-r--r-- | testing/evas_generic_loaders/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/evas_generic_loaders/APKBUILD b/testing/evas_generic_loaders/APKBUILD new file mode 100644 index 000000000..9d0a44422 --- /dev/null +++ b/testing/evas_generic_loaders/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=evas_generic_loaders +pkgver=1.7.4 +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="2edde882521b30a4cc3ce092a1ef86d0 evas_generic_loaders-1.7.4.tar.gz" |