2021-12-12 02:02:38 +00:00
|
|
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
|
|
# Contributor: Arjan Timmerman <arjan.archlinux.org>
|
|
|
|
# Contributor: Tom Newsom <Jeepster.gmx.co.uk>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove --enable-amd64 from configure
|
|
|
|
|
|
|
|
pkgname=imlib2
|
2022-02-07 21:00:01 +00:00
|
|
|
pkgver=1.8.0
|
2021-12-12 02:02:38 +00:00
|
|
|
pkgrel=1
|
2022-02-07 21:00:01 +00:00
|
|
|
pkgdesc='Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support'
|
|
|
|
url='https://sourceforge.net/projects/enlightenment/'
|
2021-12-12 02:02:38 +00:00
|
|
|
arch=('x86_64')
|
|
|
|
license=('BSD')
|
2022-02-07 21:00:01 +00:00
|
|
|
options=('debug')
|
|
|
|
depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo' 'libwebp' 'libheif' 'librsvg' 'xz')
|
|
|
|
source=("https://downloads.sourceforge.net/project/enlightenment/imlib2-src/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
sha512sums=('e4e4dbd58b9413d11a2ca645b7351c5b441b330d579b6d9f53db445e4d10e30cfeb77158d018ce14d37b536314f238b8ddf7366d293975709d9c11765e7c5735')
|
2021-12-12 02:02:38 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
|
2022-02-07 21:00:01 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc/imlib2 \
|
|
|
|
--x-libraries=/usr/lib
|
|
|
|
|
2021-12-12 02:02:38 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
# Install License
|
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
}
|