aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/evas
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/evas')
-rw-r--r--unmaintained/evas/APKBUILD78
-rw-r--r--unmaintained/evas/fribidi-cflags.patch12
2 files changed, 90 insertions, 0 deletions
diff --git a/unmaintained/evas/APKBUILD b/unmaintained/evas/APKBUILD
new file mode 100644
index 0000000000..b5bb00afcb
--- /dev/null
+++ b/unmaintained/evas/APKBUILD
@@ -0,0 +1,78 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=evas
+pkgver=1.7.9
+pkgrel=0
+pkgdesc="A hardware-accelerated retained canvas API"
+url="http://trac.enlightenment.org/e/wiki/Evas"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="
+ eet-dev
+ eina-dev
+ fontconfig-dev
+ freetype-dev
+ fribidi-dev
+ harfbuzz-dev
+ "
+makedepends="$depends_dev
+ automake autoconf libtool
+ giflib-dev
+ libice-dev
+ libjpeg-turbo-dev
+ libpng-dev
+ librsvg-dev
+ librsvg-dev
+ libx11-dev
+ libxcb-dev
+ libxrender-dev
+ mesa-dev
+ sdl-dev
+ tiff-dev
+ xcb-util-image-dev
+ "
+
+install=""
+subpackages="$pkgname-dev"
+source="http://download.enlightenment.org/releases/evas-$pkgver.tar.gz
+ fribidi-cflags.patch
+ "
+
+_builddir="$srcdir"/evas-$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
+ libtoolize --force && aclocal && autoconf \
+ && automake --add-missing --force || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --enable-gl-xlib \
+ --enable-software-16-x11 \
+ --enable-software-xcb \
+ --enable-pthreads \
+ --enable-async-events \
+ --enable-async-preload \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="c96a23ede14cd0adb7e8e549e8acdee1 evas-1.7.9.tar.gz
+ba33f6c8f3bfacea79532c706a7a6b63 fribidi-cflags.patch"
+sha256sums="1fd687e43ebe3031be4ac7628043eae1aafca83ce6d1d1f06ff3b59fb4c027f0 evas-1.7.9.tar.gz
+1b911f25b6a7911e1fa1c93d249f0f592b7bab187d1ceaf92915fb64dbe3288b fribidi-cflags.patch"
+sha512sums="b92954926932a610fc0c48eff0c218495afad7e811f502b1b535e6f544741423e490f3a60f3c8a529fc92b113465749d08885854680df5dd6242f8b3095f5b20 evas-1.7.9.tar.gz
+06f8e3ecd81a85c698b6c5c2bc8351d34f3f12ab5ac917d82846708143766d66b98c1fd9d4e267460ca8a534009aee6b49e95363ed60db79e2e9d3110c142f1a fribidi-cflags.patch"
diff --git a/unmaintained/evas/fribidi-cflags.patch b/unmaintained/evas/fribidi-cflags.patch
new file mode 100644
index 0000000000..b9a9cd0291
--- /dev/null
+++ b/unmaintained/evas/fribidi-cflags.patch
@@ -0,0 +1,12 @@
+diff --git a/src/modules/engines/software_x11/Makefile.am b/src/modules/engines/software_x11/Makefile.am
+index 8c0961d..edab474 100644
+--- a/src/modules/engines/software_x11/Makefile.am
++++ b/src/modules/engines/software_x11/Makefile.am
+@@ -40,6 +40,7 @@ AM_CPPFLAGS = \
+ @FREETYPE_CFLAGS@ \
+ @PIXMAN_CFLAGS@ \
+ @EVAS_GENERAL_CFLAGS@ \
++@FRIBIDI_CFLAGS@ \
+ @evas_engine_software_xcb_cflags@
+
+ SOFTWARE_X11_SOURCES += \