summaryrefslogtreecommitdiff
path: root/user/imlib2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/imlib2/APKBUILD')
-rw-r--r--user/imlib2/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/user/imlib2/APKBUILD b/user/imlib2/APKBUILD
new file mode 100644
index 000000000..2984ea32a
--- /dev/null
+++ b/user/imlib2/APKBUILD
@@ -0,0 +1,47 @@
+# Maintainer:
+pkgname=imlib2
+pkgver=1.5.1
+pkgrel=0
+pkgdesc="Image manipulation library"
+url="https://sourceforge.net/projects/enlightenment"
+arch="all"
+license="Imlib2"
+subpackages="$pkgname-dev"
+depends_dev="freetype-dev libxext-dev libsm-dev"
+makedepends="$depends_dev tiff-dev giflib-dev bzip2-dev libpng-dev
+ libid3tag-dev libjpeg-turbo-dev zlib-dev util-linux-dev"
+source="https://downloads.sourceforge.net/enlightenment/$pkgname-src/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/imlib2 \
+ --x-libraries=/usr/lib \
+ --disable-mmx \
+ --disable-amd64 \
+ --enable-visibility-hiding \
+ --with-x \
+ --with-bzip2 \
+ --with-gif \
+ --with-id3 \
+ --with-jpeg \
+ --with-png \
+ --with-tiff \
+ --with-zlib
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR=$pkgdir install
+}
+
+sha512sums="f9d971674887d4af067c6921e34b6fe598db0317052bc864b676c526b36373ce021d9d49cad95aa64dbbd8e74f1831ddf3ed105900e3df2b66a6b53f7f27c732 imlib2-1.5.1.tar.bz2"