Date: Sunday, February 25, 2018 @ 18:51:08
  Author: heftig
Revision: 298055

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libcanberra/repos/multilib-x86_64/PKGBUILD
    (from rev 298054, lib32-libcanberra/trunk/PKGBUILD)
Deleted:
  lib32-libcanberra/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  151 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 82 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-25 18:49:53 UTC (rev 298054)
+++ PKGBUILD    2018-02-25 18:51:08 UTC (rev 298055)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Florian Pritz <f...@xssn.at>
-# Contributor: Jan de Groot <j...@archlinux.org>
-
-_pkgbasename=libcanberra
-pkgbase=lib32-$_pkgbasename
-pkgname=(lib32-libcanberra lib32-libcanberra-pulse)
-pkgver=0.30
-pkgrel=4
-pkgdesc="A small and lightweight implementation of the XDG Sound Theme 
Specification (32-bit)"
-arch=(x86_64)
-license=(LGPL)
-depends=(lib32-libvorbis lib32-libltdl lib32-alsa-lib lib32-tdb $_pkgbasename)
-makedepends=(gtk-doc lib32-libpulse lib32-gtk2 git gcc-multilib 
libtool-multilib)
-options=(!emptydirs)
-url=http://0pointer.de/lennart/projects/libcanberra
-source=("git://git.0pointer.de/libcanberra.git#commit=c0620e4")
-sha256sums=('SKIP')
-
-_plugindir=usr/lib32/$_pkgbasename-$pkgver
-
-prepare() {
-  cd $_pkgbasename
-  ./autogen.sh
-}
-
-build() {
-  cd $_pkgbasename
-
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-  ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var \
-      --disable-static --with-builtin=dso --enable-null --disable-oss \
-      --enable-alsa --disable-gstreamer --enable-pulse \
-      --disable-udev --libdir=/usr/lib32
-
-  # Fight unused direct deps
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test 
"$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      
func_append compile_command " -Wl,-O1,--as-needed"\n      func_append 
finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
-  make
-}
-
-package_lib32-libcanberra() {
-  optdepends=("$pkgbase-pulse: PulseAudio driver")
-
-  cd $_pkgbasename
-
-  make -j1 DESTDIR="$pkgdir" install
-  rm "$pkgdir"/usr/lib32/libcanberra-gtk*.la
-  rm "$pkgdir"/usr/lib32/gtk-2.0/modules/*.la
-
-  # Split plugins
-  for _p in pulse; do
-    mkdir ../$_p-plugin
-    mv "$pkgdir/$_plugindir"/libcanberra-$_p.* ../$_p-plugin
-  done
-
-  rm -r "${pkgdir}"/usr/{include,share,bin,lib32/gnome-settings-daemon-3.0}
-}
-
-package_lib32-libcanberra-pulse() {
-  pkgdesc="PulseAudio plugin for libcanberra (32-bit)"
-  depends=("$pkgbase=$pkgver-$pkgrel" lib32-libpulse)
-
-  install -d "$pkgdir/$_plugindir"
-  mv pulse-plugin/* "$pkgdir/$_plugindir"
-}

Copied: lib32-libcanberra/repos/multilib-x86_64/PKGBUILD (from rev 298054, 
lib32-libcanberra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-25 18:51:08 UTC (rev 298055)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Florian Pritz <f...@xssn.at>
+# Contributor: Jan de Groot <j...@archlinux.org>
+
+_pkgbasename=libcanberra
+pkgbase=lib32-$_pkgbasename
+pkgname=(lib32-libcanberra lib32-libcanberra-pulse lib32-libcanberra-gstreamer)
+pkgver=0.30+2+gc0620e4
+pkgrel=1
+pkgdesc="A small and lightweight implementation of the XDG Sound Theme 
Specification (32-bit)"
+arch=(x86_64)
+license=(LGPL)
+depends=(lib32-libvorbis lib32-libltdl lib32-alsa-lib lib32-tdb $_pkgbasename)
+makedepends=(gtk-doc lib32-libpulse lib32-gstreamer lib32-gtk2 lib32-gtk3 git 
gcc-multilib libtool-multilib)
+options=(!emptydirs libtool)
+url="http://0pointer.de/lennart/projects/libcanberra";
+_commit=c0620e432650e81062c1967cc669829dbd29b310  # master
+source=("git+http://git.0pointer.net/clone/libcanberra.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+_plugindir=usr/lib32/$_pkgbasename-0.30
+
+pkgver() {
+  cd $_pkgbasename
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $_pkgbasename
+  ./autogen.sh
+}
+
+build() {
+  cd $_pkgbasename
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var 
--libdir=/usr/lib32 \
+      --disable-static --with-builtin=dso --enable-null --disable-oss \
+      --enable-alsa --enable-gstreamer --enable-pulse \
+      --with-systemdsystemunitdir=/usr/lib/systemd/system --enable-gtk-doc
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_lib32-libcanberra() {
+  optdepends=("$pkgbase-pulse: PulseAudio driver")
+
+  cd $_pkgbasename
+
+  make -j1 DESTDIR="$pkgdir" install
+  rm "$pkgdir"/usr/lib32/libcanberra-gtk*.la
+  rm "$pkgdir"/usr/lib32/gtk-{2,3}.0/modules/*.la
+
+  # Split plugins
+  for _p in pulse gstreamer; do
+    mkdir ../$_p-plugin
+    mv "$pkgdir/$_plugindir"/libcanberra-$_p.* ../$_p-plugin
+  done
+
+  rm -r "$pkgdir"/usr/{include,share,bin,lib,lib32/gnome-settings-daemon-3.0}
+  rm "$pkgdir"/usr/lib32/*.la
+}
+
+package_lib32-libcanberra-pulse() {
+  pkgdesc="PulseAudio plugin for libcanberra (32-bit)"
+  depends=("$pkgbase=$pkgver-$pkgrel" lib32-libpulse)
+
+  install -d "$pkgdir/$_plugindir"
+  mv pulse-plugin/* "$pkgdir/$_plugindir"
+}
+
+package_lib32-libcanberra-gstreamer() {
+  pkgdesc="GStreamer plugin for libcanberra (32-bit)"
+  depends=("$pkgbase=$pkgver-$pkgrel" lib32-gstreamer)
+
+  install -d "$pkgdir/$_plugindir"
+  mv gstreamer-plugin/* "$pkgdir/$_plugindir"
+}

Reply via email to