[arch-commits] Commit in gegl/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Jul 23 16:36:02 UTC 2020
Date: Thursday, July 23, 2020 @ 16:36:02
Author: arojas
Revision: 392430
archrelease: copy trunk to staging-x86_64
Added:
gegl/repos/staging-x86_64/
gegl/repos/staging-x86_64/PKGBUILD
(from rev 392429, gegl/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: gegl/repos/staging-x86_64/PKGBUILD (from rev 392429, gegl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-07-23 16:36:02 UTC (rev 392430)
@@ -0,0 +1,44 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=gegl
+pkgver=0.4.24
+pkgrel=2
+pkgdesc="Graph based image processing framework"
+arch=('x86_64')
+url="https://www.gegl.org/"
+license=('GPL3' 'LGPL3')
+depends=('babl' 'libspiro' 'json-glib' 'libgexiv2' 'libraw' 'openexr' 'librsvg' 'libtiff' 'luajit' 'jasper' 'lensfun' 'suitesparse' 'poppler-glib')
+makedepends=('intltool' 'ruby' 'mesa' 'glu' 'ffmpeg' 'exiv2' 'vala' 'gobject-introspection' 'git' 'meson' 'python-gobject')
+optdepends=('ffmpeg: ffmpeg plugin')
+_commit=c3c87d5ac4eb7a6ed79b0be089fff3bd1850fc02 # tags/GEGL_0_4_24^0
+source=("git+https://gitlab.gnome.org/GNOME/gegl.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^GEGL_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd ${pkgname}
+ git cherry-pick -n c1c3541caab485384087bbbcf1c83ef2d5bd4d43
+}
+
+build() {
+ mkdir -p build
+ cd build
+ arch-meson ../$pkgname \
+ -Dworkshop=true \
+ -Dmrg=disabled
+ ninja
+}
+
+check() {
+ cd build
+ ninja test || :
+}
+
+package() {
+ cd build
+ DESTDIR="${pkgdir}" ninja install
+}
More information about the arch-commits
mailing list