[arch-commits] Commit in pipewire/repos/extra-x86_64 (6 files)

Jan Steffens heftig at archlinux.org
Thu Feb 18 23:16:41 UTC 2021


    Date: Thursday, February 18, 2021 @ 23:16:41
  Author: heftig
Revision: 408504

archrelease: copy trunk to extra-x86_64

Added:
  pipewire/repos/extra-x86_64/PKGBUILD
    (from rev 408503, pipewire/trunk/PKGBUILD)
  pipewire/repos/extra-x86_64/pipewire-pulse.install
    (from rev 408503, pipewire/trunk/pipewire-pulse.install)
  pipewire/repos/extra-x86_64/pipewire.install
    (from rev 408503, pipewire/trunk/pipewire.install)
Deleted:
  pipewire/repos/extra-x86_64/PKGBUILD
  pipewire/repos/extra-x86_64/pipewire-pulse.install
  pipewire/repos/extra-x86_64/pipewire.install

------------------------+
 PKGBUILD               |  263 +++++++++++++++++++++++------------------------
 pipewire-pulse.install |   28 ++---
 pipewire.install       |   28 ++---
 3 files changed, 159 insertions(+), 160 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-18 23:15:54 UTC (rev 408503)
+++ PKGBUILD	2021-02-18 23:16:41 UTC (rev 408504)
@@ -1,132 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=pipewire
-pkgname=(pipewire pipewire-docs pipewire-jack pipewire-pulse pipewire-alsa
-         gst-plugin-pipewire alsa-card-profiles)
-pkgver=0.3.21
-pkgrel=1
-epoch=1
-pkgdesc="Server and user space API to deal with multimedia pipelines"
-url="https://pipewire.org"
-license=(LGPL)
-arch=(x86_64)
-makedepends=(git meson doxygen graphviz xmltoman valgrind jack2 libpulse
-             alsa-lib gst-plugins-base sbc rtkit vulkan-icd-loader dbus sdl2
-             ncurses libsndfile bluez-libs vulkan-headers libldac libopenaptx
-             libfdk-aac)
-checkdepends=(desktop-file-utils)
-_commit=885748dfbd82985abbe396cb3272264ea2e0d163  # tags/0.3.21
-source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-}
-
-build() {
-  arch-meson $pkgbase build \
-    -D docs=true \
-    -D udevrulesdir=/usr/lib/udev/rules.d
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-_ver=${pkgver:0:3}
-
-package_pipewire() {
-  depends=(sbc rtkit vulkan-icd-loader bluez-libs alsa-card-profiles
-           libdbus-1.so libncursesw.so libsndfile.so libudev.so libasound.so
-           libsystemd.so libldacBT_enc.so libopenaptx.so libfdk-aac.so)
-  optdepends=('pipewire-docs: Documentation'
-              'pipewire-jack: JACK support'
-              'pipewire-pulse: PulseAudio support')
-  provides=(libpipewire-$_ver.so)
-  backup=(etc/pipewire/pipewire.conf
-          etc/pipewire/media-session.d/media-session.conf
-          etc/pipewire/media-session.d/{alsa,bluez,v4l2}-monitor.conf)
-  install=pipewire.install
-
-  DESTDIR="$pkgdir" meson install -C build
-
-  cd "$pkgdir"
-
-  mkdir -p etc/alsa/conf.d
-  ln -st etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/50-pipewire.conf 
-
-  _pick docs usr/share/doc
-
-  _pick jack etc/pipewire/media-session.d/with-jack
-  _pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack
-  _pick jack usr/lib/spa-0.2/jack
-  _pick jack usr/share/man/man1/pw-jack.1
-
-  _pick pulse etc/pipewire/media-session.d/with-pulseaudio
-
-  _pick gst usr/lib/gstreamer-1.0
-
-  _pick acp usr/lib/udev
-  _pick acp usr/share/alsa-card-profile
-}
-
-package_pipewire-docs() {
-  pkgdesc+=" (documentation)"
-  mv docs/* "$pkgdir"
-}
-
-package_pipewire-jack() {
-  pkgdesc+=" (JACK support)"
-  depends=(pipewire libpipewire-$_ver.so libjack.so)
-  mv jack/* "$pkgdir"
-}
-
-package_pipewire-pulse() {
-  pkgdesc+=" (PulseAudio replacement)"
-  depends=(pipewire libpulse)
-  provides=(pulseaudio pulseaudio-bluetooth)
-  conflicts=(pulseaudio pulseaudio-bluetooth)
-  install=pipewire-pulse.install
-  mv pulse/* "$pkgdir"
-}
-
-package_pipewire-alsa() {
-  pkgdesc="ALSA Configuration for PipeWire"
-  depends=(pipewire libpipewire-$_ver.so)
-  provides=(pulseaudio-alsa)
-
-  mkdir -p "$pkgdir"/etc/{alsa/conf.d,pipewire/media-session.d}
-  ln -st "$pkgdir/etc/alsa/conf.d" /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
-  touch "$pkgdir/etc/pipewire/media-session.d/with-alsa"
-}
-
-package_gst-plugin-pipewire() {
-  pkgdesc="Multimedia graph framework - pipewire plugin"
-  depends=(pipewire libpipewire-$_ver.so gst-plugins-base-libs)
-  mv gst/* "$pkgdir"
-}
-
-package_alsa-card-profiles() {
-  pkgdesc="ALSA card profiles shared by PipeWire"
-  depends=()
-  mv acp/* "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: pipewire/repos/extra-x86_64/PKGBUILD (from rev 408503, pipewire/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-18 23:16:41 UTC (rev 408504)
@@ -0,0 +1,131 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=pipewire
+pkgname=(pipewire alsa-card-profiles pipewire-docs pipewire-alsa pipewire-jack
+         pipewire-pulse gst-plugin-pipewire)
+pkgver=0.3.22
+pkgrel=1
+epoch=1
+pkgdesc="Low-latency audio/video router and processor"
+url="https://pipewire.org"
+license=(LGPL)
+arch=(x86_64)
+makedepends=(git meson doxygen graphviz xmltoman valgrind jack2 libpulse
+             alsa-lib gst-plugins-base rtkit dbus sdl2 ncurses libsndfile 
+             bluez-libs sbc libldac libopenaptx libfdk-aac)
+checkdepends=(desktop-file-utils)
+_commit=22d563720a7f6ba7bdf59950f8c14488d80dfa95  # tags/0.3.22
+source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+}
+
+build() {
+  arch-meson $pkgbase build \
+    -D docs=true \
+    -D udevrulesdir=/usr/lib/udev/rules.d
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+_ver=${pkgver:0:3}
+
+package_pipewire() {
+  depends=(rtkit alsa-card-profiles libdbus-1.so libncursesw.so libsndfile.so
+           libudev.so libasound.so libsystemd.so libbluetooth.so libsbc.so
+           libldacBT_enc.so libopenaptx.so libfdk-aac.so)
+  optdepends=('pipewire-docs: Documentation'
+              'pipewire-alsa: ALSA configuration'
+              'pipewire-jack: JACK support'
+              'pipewire-pulse: PulseAudio replacement'
+              'gst-plugin-pipewire: GStreamer support')
+  provides=(libpipewire-$_ver.so)
+  backup=(etc/pipewire/{pipewire{,-pulse},client{,-rt}}.conf
+          etc/pipewire/media-session.d/media-session.conf
+          etc/pipewire/media-session.d/{alsa,bluez,v4l2}-monitor.conf)
+  install=pipewire.install
+
+  DESTDIR="$pkgdir" meson install -C build
+
+  cd "$pkgdir"
+
+  _pick acp usr/lib/udev
+  _pick acp usr/share/alsa-card-profile
+
+  _pick docs usr/share/doc
+
+  _pick jack etc/pipewire/{jack.conf,media-session.d/with-jack}
+  _pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack
+  _pick jack usr/lib/spa-0.2/jack
+  _pick jack usr/share/man/man1/pw-jack.1
+
+  _pick pulse etc/pipewire/media-session.d/with-pulseaudio
+
+  _pick gst usr/lib/gstreamer-1.0
+}
+
+package_alsa-card-profiles() {
+  pkgdesc+=" - ALSA card profiles"
+  mv acp/* "$pkgdir"
+}
+
+package_pipewire-docs() {
+  pkgdesc+=" - documentation"
+  mv docs/* "$pkgdir"
+}
+
+package_pipewire-alsa() {
+  pkgdesc+=" - ALSA configuration"
+  depends=(pipewire)
+  provides=(pulseaudio-alsa)
+
+  mkdir -p "$pkgdir/etc/alsa/conf.d"
+  ln -st "$pkgdir/etc/alsa/conf.d" \
+    /usr/share/alsa/alsa.conf.d/{50-pipewire,99-pipewire-default}.conf 
+  install -Dm644 /dev/null "$pkgdir/etc/pipewire/media-session.d/with-alsa"
+}
+
+package_pipewire-jack() {
+  pkgdesc+=" - JACK support"
+  depends=(pipewire libpipewire-$_ver.so libjack.so)
+  backup=(etc/pipewire/jack.conf)
+  mv jack/* "$pkgdir"
+}
+
+package_pipewire-pulse() {
+  pkgdesc+=" - PulseAudio replacement"
+  depends=(pipewire libpulse)
+  provides=(pulseaudio pulseaudio-bluetooth)
+  conflicts=(pulseaudio pulseaudio-bluetooth)
+  install=pipewire-pulse.install
+  mv pulse/* "$pkgdir"
+}
+
+package_gst-plugin-pipewire() {
+  pkgdesc="Multimedia graph framework - pipewire plugin"
+  depends=(pipewire libpipewire-$_ver.so gst-plugins-base-libs)
+  mv gst/* "$pkgdir"
+}
+
+# vim:set sw=2 et:

Deleted: pipewire-pulse.install
===================================================================
--- pipewire-pulse.install	2021-02-18 23:15:54 UTC (rev 408503)
+++ pipewire-pulse.install	2021-02-18 23:16:41 UTC (rev 408504)
@@ -1,14 +0,0 @@
-post_install() {
-  # Enable socket by default
-  systemctl --global enable pipewire-pulse.socket
-}
-
-post_upgrade() {
-  if (( $(vercmp $2 0.3.16-1) < 0)); then
-    systemctl --global enable pipewire-pulse.socket
-  fi
-}
-
-pre_remove() {
-  systemctl --global disable pipewire-pulse.socket
-}

Copied: pipewire/repos/extra-x86_64/pipewire-pulse.install (from rev 408503, pipewire/trunk/pipewire-pulse.install)
===================================================================
--- pipewire-pulse.install	                        (rev 0)
+++ pipewire-pulse.install	2021-02-18 23:16:41 UTC (rev 408504)
@@ -0,0 +1,14 @@
+post_install() {
+  # Enable socket by default
+  systemctl --global enable pipewire-pulse.socket
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 0.3.16-1) < 0)); then
+    systemctl --global enable pipewire-pulse.socket
+  fi
+}
+
+pre_remove() {
+  systemctl --global disable pipewire-pulse.socket
+}

Deleted: pipewire.install
===================================================================
--- pipewire.install	2021-02-18 23:15:54 UTC (rev 408503)
+++ pipewire.install	2021-02-18 23:16:41 UTC (rev 408504)
@@ -1,14 +0,0 @@
-post_install() {
-  # Enable socket by default
-  systemctl --global enable pipewire.socket
-}
-
-post_upgrade() {
-  if (( $(vercmp $2 0.1.6-2) < 0)); then
-    systemctl --global enable pipewire.socket
-  fi
-}
-
-pre_remove() {
-  systemctl --global disable pipewire.socket
-}

Copied: pipewire/repos/extra-x86_64/pipewire.install (from rev 408503, pipewire/trunk/pipewire.install)
===================================================================
--- pipewire.install	                        (rev 0)
+++ pipewire.install	2021-02-18 23:16:41 UTC (rev 408504)
@@ -0,0 +1,14 @@
+post_install() {
+  # Enable socket by default
+  systemctl --global enable pipewire.socket
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 0.1.6-2) < 0)); then
+    systemctl --global enable pipewire.socket
+  fi
+}
+
+pre_remove() {
+  systemctl --global disable pipewire.socket
+}


More information about the arch-commits mailing list