Date: Monday, December 19, 2022 @ 13:26:28 Author: eworm Revision: 1361529
archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-imlib2/repos/multilib-testing-x86_64/ lib32-imlib2/repos/multilib-testing-x86_64/PKGBUILD (from rev 1361528, lib32-imlib2/trunk/PKGBUILD) ----------+ PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) Copied: lib32-imlib2/repos/multilib-testing-x86_64/PKGBUILD (from rev 1361528, lib32-imlib2/trunk/PKGBUILD) =================================================================== --- multilib-testing-x86_64/PKGBUILD (rev 0) +++ multilib-testing-x86_64/PKGBUILD 2022-12-19 13:26:28 UTC (rev 1361529) @@ -0,0 +1,63 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Ronald van Haren <ronald.archlinux.org> +# Contributor: Arjan Timmerman <arjan.archlinux.org> +# Contributor: Tom Newsom <Jeepster.gmx.co.uk> +# Contributor: GordonGR <gordo...@freemail.gr> + +pkgname=lib32-imlib2 +_pkgname=imlib2 +pkgver=1.10.0 +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=('727c1a937c885c080c37217e476dc88b5a3e60d737f1bf040b343520b781cbba') +sha512sums=('35d78a6bf5b9b5474cbed6c1ead2e6252c8fe42bc5fc9c1a4e16958854e8bc08dfa79ceb403ca1cb34003887be5db4c908e6104e32639d9e09d11b940e591a19') + +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" +}