[arch-commits] Commit in gsound/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Wed Aug 18 21:07:27 UTC 2021
Date: Wednesday, August 18, 2021 @ 21:07:27
Author: heftig
Revision: 422326
archrelease: copy trunk to extra-x86_64
Added:
gsound/repos/extra-x86_64/PKGBUILD
(from rev 422325, gsound/trunk/PKGBUILD)
Deleted:
gsound/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 39 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-18 21:06:04 UTC (rev 422325)
+++ PKGBUILD 2021-08-18 21:07:27 UTC (rev 422326)
@@ -1,41 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gsound
-pkgver=1.0.2
-pkgrel=5
-pkgdesc="Small library for playing system sounds"
-url="https://wiki.gnome.org/Projects/GSound"
-license=('LGPL')
-arch=('x86_64')
-depends=(glib2 libcanberra)
-makedepends=(gobject-introspection vala git gtk-doc autoconf-archive)
-_commit=a86946b494aa32782b3f6334344d07b5c11d5219 # tags/1.0.2^0
-source=("git+https://gitlab.gnome.org/GNOME/gsound.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-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
-}
-
-check() {
- make -C $pkgname check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: gsound/repos/extra-x86_64/PKGBUILD (from rev 422325, gsound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-18 21:07:27 UTC (rev 422326)
@@ -0,0 +1,39 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gsound
+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)
+depends=(glib2 libcanberra)
+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')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -D gtk_doc=true
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ 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