From a21a34f267c015fb8431658665d48ed8c68d2d5e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Wed, 18 Jul 2018 20:12:46 -0500
Subject: user/imlib2: pull in, bump to 1.5.1, modernise, fix up

---
 user/imlib2/APKBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 user/imlib2/APKBUILD

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"
-- 
cgit v1.2.3-70-g09d2