diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-18 20:12:46 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-18 20:12:46 -0500 |
commit | a21a34f267c015fb8431658665d48ed8c68d2d5e (patch) | |
tree | cce835f946ffd2f083eb45cbe905cfb558cea45c /user | |
parent | 52ca1eb7ed6235d8cd3ae3e342b0e2fc0a150ff1 (diff) | |
download | packages-a21a34f267c015fb8431658665d48ed8c68d2d5e.tar.gz packages-a21a34f267c015fb8431658665d48ed8c68d2d5e.tar.bz2 packages-a21a34f267c015fb8431658665d48ed8c68d2d5e.tar.xz packages-a21a34f267c015fb8431658665d48ed8c68d2d5e.zip |
user/imlib2: pull in, bump to 1.5.1, modernise, fix up
Diffstat (limited to 'user')
-rw-r--r-- | user/imlib2/APKBUILD | 47 |
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" |