[arch-commits] Commit in gsound/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Aug 18 21:05:24 UTC 2021


    Date: Wednesday, August 18, 2021 @ 21:05:24
  Author: heftig
Revision: 422323

1.0.3-1

Modified:
  gsound/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-18 21:03:20 UTC (rev 422322)
+++ PKGBUILD	2021-08-18 21:05:24 UTC (rev 422323)
@@ -1,15 +1,15 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gsound
-pkgver=1.0.2
-pkgrel=5
+pkgver=1.0.3
+pkgrel=1
 pkgdesc="Small library for playing system sounds"
 url="https://wiki.gnome.org/Projects/GSound"
-license=('LGPL')
-arch=('x86_64')
+license=(LGPL)
+arch=(x86_64)
 depends=(glib2 libcanberra)
-makedepends=(gobject-introspection vala git gtk-doc autoconf-archive)
-_commit=a86946b494aa32782b3f6334344d07b5c11d5219  # tags/1.0.2^0
+makedepends=(gobject-introspection vala git gtk-doc meson)
+_commit=95d36d60cf53e0e7c5d5325e0f1f4fc765a611ae  # tags/1.0.3^0
 source=("git+https://gitlab.gnome.org/GNOME/gsound.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -20,22 +20,20 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --disable-static --enable-gtk-doc \
-    --enable-compile-warnings=yes
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build -D gtk_doc=true
+  meson compile -C build
 }
 
 check() {
-  make -C $pkgname check
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  depends+=(libg{lib,object,io}-2.0.so libcanberra.so)
+  provides+=(libgsound.so)
+
+  meson install -C build --destdir "$pkgdir"
 }



More information about the arch-commits mailing list