2 changed files with 5 additions and 67 deletions
@ -1,63 +0,0 @@
|
||||
# Maintainer: Nathan Owens <ndowens@artixlinux.org> |
||||
# Contributor: Ronald van Haren <ronald.archlinux.org> |
||||
# Contributor: Arjan Timmerman <arjan.archlinux.org> |
||||
# Contributor: Tom Newsom <Jeepster.gmx.co.uk> |
||||
# Contributor: GordonGR <gordongr@freemail.gr> |
||||
|
||||
pkgname=lib32-imlib2 |
||||
_pkgname=imlib2 |
||||
pkgver=1.9.1 |
||||
pkgrel=1 |
||||
pkgdesc='Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support, lib32' |
||||
url='https://sourceforge.net/projects/enlightenment/' |
||||
arch=('x86_64') |
||||
license=('BSD') |
||||
# this could link against these libs if exists... |
||||
# * lib32-libheif |
||||
# * lib32-libjxl |
||||
# * lib32-libspectre |
||||
# * lib32-openjpeg2 |
||||
makedepends=('lib32-libid3tag' 'lib32-librsvg' 'lib32-libwebp') |
||||
depends=("${_pkgname}" 'lib32-bzip2' 'lib32-freetype2' 'lib32-giflib' 'lib32-libjpeg-turbo' |
||||
'lib32-libpng' 'lib32-libtiff' 'lib32-libxext' 'lib32-xz') |
||||
optdepends=('lib32-libid3tag: ID3 loader' |
||||
'lib32-librsvg: SVG loader' |
||||
'lib32-libwebp: WEBP loader') |
||||
source=("https://downloads.sourceforge.net/project/enlightenment/imlib2-src/$pkgver/$_pkgname-$pkgver.tar.xz") |
||||
sha256sums=('4a224038bfffbe5d4d250c44e05f4ee5ae24dcfef8395b1677c715c58f764d43') |
||||
sha512sums=('00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1') |
||||
|
||||
build() { |
||||
cd "$_pkgname-$pkgver" |
||||
|
||||
export CC="gcc -m32" |
||||
export CXX="g++ -m32" |
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" |
||||
|
||||
# Configure and Build |
||||
./configure \ |
||||
--prefix=/usr \ |
||||
--sysconfdir=/etc/imlib2 \ |
||||
--x-libraries=/usr/lib32 \ |
||||
--enable-mmx \ |
||||
--disable-amd64 \ |
||||
--libdir=/usr/lib32 \ |
||||
--libexecdir=/usr/lib32 \ |
||||
--without-heif |
||||
|
||||
make |
||||
} |
||||
|
||||
check() { |
||||
cd "$_pkgname-$pkgver" |
||||
make check |
||||
} |
||||
|
||||
package() { |
||||
cd "${_pkgname}-$pkgver" |
||||
make DESTDIR="$pkgdir" install |
||||
cd "$pkgdir/usr" |
||||
rm -rf {bin,include,share/imlib2}/ |
||||
|
||||
install -Dm644 "$srcdir/${_pkgname}-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" |
||||
} |
Loading…
Reference in new issue