Date: Tuesday, January 3, 2023 @ 01:52:49
Author: felixonmars
Revision: 1374228
archrelease: copy trunk to community-staging-x86_64
Added:
libvips/repos/community-staging-x86_64/
libvips/repos/community-staging-x86_64/PKGBUILD
(from rev 1374227, libvips/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: libvips/repos/community-staging-x86_64/PKGBUILD (from rev 1374227,
libvips/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-01-03 01:52:49 UTC (rev 1374228)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=libvips
+pkgver=8.13.2
+pkgrel=2
+pkgdesc="A fast image processing library with low memory needs"
+arch=('x86_64')
+license=('LGPL')
+url="https://libvips.github.io/libvips/"
+depends=('cfitsio' 'fftw' 'libexif' 'libgsf' 'libimagequant' 'librsvg'
'libwebp' 'libxml2' 'openexr'
+ 'orc' 'pango' 'libcgif')
+# Adding 'highway' here temporarily for FS#73931
+makedepends=('gobject-introspection' 'libheif' 'libjxl' 'imagemagick'
'openslide'
+ 'poppler-glib')
+optdepends=('libheif: for heif module'
+ 'imagemagick: for magick module'
+ 'openslide: for openslide module'
+ 'poppler-glib: for poppler module'
+ 'libjxl: for jxl module')
+source=("https://github.com/libvips/libvips/releases/download/v$pkgver/vips-$pkgver.tar.gz")
+sha512sums=('7a5615d13198ee732659b15e5b2e14ec57f32f71f101397456f61cb1117687583b743237438acf832831231a6523c4b2d766d51ae787218d9c11cb3507d36ee9')
+
+build() {
+ cd vips-$pkgver
+ ./configure --prefix=/usr --disable-static
+# Fix overlinking
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd vips-$pkgver
+ make DESTDIR="$pkgdir" install
+}