[arch-commits] Commit in lib32-libpulse/repos/multilib-testing-x86_64 (2 files)

Jan Steffens heftig at archlinux.org
Mon Aug 12 07:53:11 UTC 2019


    Date: Monday, August 12, 2019 @ 07:53:11
  Author: heftig
Revision: 498984

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libpulse/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 498983, lib32-libpulse/trunk/PKGBUILD)
Deleted:
  lib32-libpulse/repos/multilib-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  147 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-12 07:52:44 UTC (rev 498983)
+++ PKGBUILD	2019-08-12 07:53:11 UTC (rev 498984)
@@ -1,74 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-_pkgbasename=libpulse
-pkgname=lib32-$_pkgbasename
-pkgdesc="A featureful, general-purpose sound server (32-bit client libraries)"
-pkgver=12.99.1
-pkgrel=1
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
-license=(LGPL)
-depends=(lib32-dbus lib32-systemd lib32-glib2
-         lib32-libasyncns lib32-libcap lib32-libxtst lib32-libsm lib32-libsndfile
-         $_pkgbasename)
-makedepends=(gcc-multilib libtool-multilib intltool lib32-speexdsp lib32-gtk3 git)
-optdepends=('lib32-alsa-plugins: ALSA support')
-provides=("lib32-pulseaudio=$pkgver")
-conflicts=(lib32-pulseaudio)
-replaces=(lib32-pulseaudio)
-_commit=0cd931dc808786bffa3b40f75097af43a217b880  # tags/v12.99.1^0
-source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
-sha256sums=('SKIP')
-
-_pulsever=$pkgver
-[[ $_pulsever = *.*.* ]] && _pulsever=${_pulsever%.*}
-
-_libs="libpulse.la libpulse-simple.la libpulse-mainloop-glib.la"
-_pkglibs="libpulsecommon-${_pulsever}.la libpulsedsp.la"
-
-pkgver() {
-  cd pulseaudio
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd pulseaudio
-  NOCONFIGURE=1 ./bootstrap.sh
-}
-
-build() {
-  cd pulseaudio
-
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-  ./configure --prefix=/usr \
-    --libdir=/usr/lib32 \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib32 \
-    --localstatedir=/var \
-    --disable-tcpwrap \
-    --disable-bluez4 \
-    --disable-samplerate \
-    --disable-rpath \
-    --disable-default-build-tests \
-    DATADIRNAME=share
-
-  # fight unused direct deps
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make -C src $_libs $_pkglibs
-}
-
-package() {
-  cd pulseaudio
-  make -j1 -C src DESTDIR="$pkgdir" \
-    lib_LTLIBRARIES="$_libs" install-libLTLIBRARIES
-  make -j1 -C src DESTDIR="$pkgdir" \
-    pkglib_LTLIBRARIES="$_pkglibs" install-pkglibLTLIBRARIES
-  make -j1 DESTDIR="$pkgdir" install-pkgconfigDATA
-}

Copied: lib32-libpulse/repos/multilib-testing-x86_64/PKGBUILD (from rev 498983, lib32-libpulse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-12 07:53:11 UTC (rev 498984)
@@ -0,0 +1,73 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+_pkgbasename=libpulse
+pkgname=lib32-$_pkgbasename
+pkgdesc="A featureful, general-purpose sound server (32-bit client libraries)"
+pkgver=12.99.2+3+g493e7f358
+pkgrel=1
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
+license=(LGPL)
+depends=(lib32-{dbus,libasyncns,libcap,libxtst,libsm,libsndfile,systemd}
+         $_pkgbasename)
+makedepends=(lib32-{speexdsp,glib2,gtk3} git meson)
+optdepends=('lib32-alsa-plugins: ALSA support')
+provides=("lib32-pulseaudio=$pkgver")
+conflicts=(lib32-pulseaudio)
+replaces=(lib32-pulseaudio)
+_commit=493e7f35821c09a3b79b883a76283f5614ae1202  # master
+source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd pulseaudio
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd pulseaudio
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  arch-meson pulseaudio build \
+    --libdir /usr/lib32 \
+    --auto-features auto \
+    -D man=false \
+    -D tests=false \
+    -D avahi=disabled \
+    -D gcov=false \
+    -D pulsedsp-location='/usr/\$LIB/pulseaudio' \
+    -D udevrulesdir=/usr/lib/udev/rules.d
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local f d
+  for f; do
+    d="$pkgdir/${f#$srcdir/install/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package() {
+  DESTDIR="$srcdir/install" meson install -C build
+
+  cd install
+  _pick usr/lib32/libpulse{,-simple,-mainloop-glib}.so*
+  _pick usr/lib32/{cmake,pkgconfig}
+  _pick usr/lib32/pulseaudio/libpulse{dsp,common-*}.so
+}
+# vim:set sw=2 et:


More information about the arch-commits mailing list