Date: Friday, March 20, 2015 @ 12:35:59 Author: jgc Revision: 234213 Add gsound library for GNOME 3.16
Added: gsound/ gsound/trunk/ gsound/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: gsound/trunk/PKGBUILD =================================================================== --- gsound/trunk/PKGBUILD (rev 0) +++ gsound/trunk/PKGBUILD 2015-03-20 11:35:59 UTC (rev 234213) @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 234201 2015-03-20 09:28:26Z jgc $ +# Maintainer: Jan de Groot <[email protected]> + +pkgname=gsound +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Small library for playing system sounds" +url="https://wiki.gnome.org/Projects/GSound" +license=('LGPL') +arch=('i686' 'x86_64') +depends=(glib2 libcanberra) +makedepends=(gobject-introspection) +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('ea0dd94429c0645f2f98824274ef04543fe459dd83a5449a68910acc3ba67f29') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --disable-static + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + #sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}
