[arch-commits] Commit in gdk-pixbuf-xlib/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Nov 9 13:58:04 UTC 2020


    Date: Monday, November 9, 2020 @ 13:58:03
  Author: heftig
Revision: 399720

0+23-1

Modified:
  gdk-pixbuf-xlib/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 13:56:31 UTC (rev 399719)
+++ PKGBUILD	2020-11-09 13:58:03 UTC (rev 399720)
@@ -1,7 +1,7 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=gdk-pixbuf-xlib
-pkgver=2.40.1
+pkgver=0+23
 pkgrel=1
 pkgdesc="Deprecated Xlib integration for GdkPixbuf"
 arch=(x86_64)
@@ -9,23 +9,23 @@
 license=(LGPL2.1)
 depends=(gdk-pixbuf2 libx11)
 makedepends=(gtk-doc git meson)
-_commit=dc22ea36f69755007c66877284596df270532cc1  # master
+_commit=3116b8ae55501cf48d16970aa2b50a5530e15223  # master
 source=("git+$url.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  #git describe --tags | sed 's/-/+/g'
+  echo "0+$(git rev-list --count HEAD)"
 }
 
 prepare() {
   cd $pkgname
-  git tag -f 2.40.1 dc22ea36f69755007c66877284596df270532cc1
 }
 
 build() {
   arch-meson $pkgname build -D gtk_doc=true
-  ninja -C build
+  meson compile -C build
 }
 
 check() {
@@ -33,6 +33,9 @@
 }
 
 package() {
+  depends+=(libgdk_pixbuf-2.0.so)
+  provides+=(libgdk_pixbuf_xlib-2.0.so)
+
   DESTDIR="$pkgdir" meson install -C build
 }
 


More information about the arch-commits mailing list