[arch-commits] Commit in babl/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Mon Mar 29 08:11:02 UTC 2021
Date: Monday, March 29, 2021 @ 08:11:01
Author: eworm
Revision: 411195
archrelease: copy trunk to testing-x86_64
Added:
babl/repos/testing-x86_64/
babl/repos/testing-x86_64/PKGBUILD
(from rev 411194, babl/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: babl/repos/testing-x86_64/PKGBUILD (from rev 411194, babl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-03-29 08:11:01 UTC (rev 411195)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+pkgver=0.1.86
+pkgrel=1
+pkgdesc="Dynamic, any to any, pixel format conversion library"
+arch=(x86_64)
+url="https://gegl.org/babl/"
+license=(LGPL3)
+depends=(glibc lcms2)
+makedepends=(git meson gobject-introspection vala)
+_commit=92cfdacd51abb8bd6ff10edd800ef8b81e7ccf52
+source=("git+https://gitlab.gnome.org/GNOME/babl.git#commit=$_commit")
+sha256sums=('SKIP')
+
+# Don't port to meson until babl's runtime cpu detection works there
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list