[arch-commits] Commit in imlib2/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Mon Jul 11 11:49:31 UTC 2022


    Date: Monday, July 11, 2022 @ 11:49:30
  Author: eworm
Revision: 450854

archrelease: copy trunk to testing-x86_64

Added:
  imlib2/repos/testing-x86_64/
  imlib2/repos/testing-x86_64/PKGBUILD
    (from rev 450853, imlib2/trunk/PKGBUILD)

----------+
 PKGBUILD |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

Copied: imlib2/repos/testing-x86_64/PKGBUILD (from rev 450853, imlib2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-07-11 11:49:30 UTC (rev 450854)
@@ -0,0 +1,53 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Arjan Timmerman <arjan.archlinux.org>
+# Contributor: Tom Newsom <Jeepster.gmx.co.uk>
+
+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'
+url='https://sourceforge.net/projects/enlightenment/'
+arch=('x86_64')
+license=('BSD')
+options=('debug')
+makedepends=(# Currently highway does provide a static library only, that libjxl links to.
+             # This introduces a build dependency for now...
+             'highway'
+             'libheif' 'libid3tag' 'libjxl' 'librsvg' 'libspectre' 'libwebp' 'openjpeg2')
+depends=('bzip2' 'freetype2' 'giflib' 'libjpeg-turbo' 'libpng' 'libtiff' 'libxext' 'xz')
+optdepends=('libheif: HEIF loader (for AVIF)'
+            'libid3tag: ID3 loader'
+            'libjxl: JXL loader'
+            'librsvg: SVG loader'
+            'libspectre: PS loader'
+            'libwebp: WEBP loader'
+            'openjpeg2: J2K loader')
+source=("https://downloads.sourceforge.net/project/enlightenment/imlib2-src/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('4a224038bfffbe5d4d250c44e05f4ee5ae24dcfef8395b1677c715c58f764d43')
+sha512sums=('00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc/imlib2 \
+    --x-libraries=/usr/lib \
+    --enable-amd64
+  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"
+}



More information about the arch-commits mailing list