[arch-commits] Commit in babl/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri May 11 20:06:49 UTC 2018


    Date: Friday, May 11, 2018 @ 20:06:48
  Author: heftig
Revision: 323988

archrelease: copy trunk to extra-x86_64

Added:
  babl/repos/extra-x86_64/PKGBUILD
    (from rev 323987, babl/trunk/PKGBUILD)
Deleted:
  babl/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 44 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-11 20:06:21 UTC (rev 323987)
+++ PKGBUILD	2018-05-11 20:06:48 UTC (rev 323988)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Daniel Isenmann <daniel at archlinux.org>
-
-pkgname=babl
-pkgver=0.1.46
-pkgrel=1
-pkgdesc="Dynamic, any to any, pixel format conversion library"
-arch=(x86_64)
-url="http://gegl.org/babl/"
-license=(LGPL3)
-depends=(glibc)
-makedepends=(git meson)
-_commit=e92ced2c54250af1dddb58f76ff1678d74a30dcf  # tags/BABL_0_1_46^0
-source=("git+https://git.gnome.org/browse/babl#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g'
-}
-
-build() {
-  arch-meson $pkgname build \
-    -D enable-sse4_1=false \
-    -D enable-f16c=false \
-    -D with-docs=false
-  ninja -C build
-}
-
-check() {
-  cd build
-  meson test
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}

Copied: babl/repos/extra-x86_64/PKGBUILD (from rev 323987, babl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-11 20:06:48 UTC (rev 323988)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+pkgver=0.1.46
+pkgrel=2
+pkgdesc="Dynamic, any to any, pixel format conversion library"
+arch=(x86_64)
+url="http://gegl.org/babl/"
+license=(LGPL3)
+depends=(glibc)
+makedepends=(git)
+_commit=e92ced2c54250af1dddb58f76ff1678d74a30dcf  # tags/BABL_0_1_46^0
+source=("git+https://git.gnome.org/browse/babl#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'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  make -C $pkgname check
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C $pkgname install
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list