Date: Thursday, January 6, 2022 @ 19:00:21 Author: heftig Revision: 433728
archrelease: copy trunk to extra-x86_64 Added: wireplumber/repos/extra-x86_64/PKGBUILD (from rev 433727, wireplumber/trunk/PKGBUILD) wireplumber/repos/extra-x86_64/wireplumber.install (from rev 433727, wireplumber/trunk/wireplumber.install) Deleted: wireplumber/repos/extra-x86_64/PKGBUILD wireplumber/repos/extra-x86_64/wireplumber.install ---------------------+ PKGBUILD | 152 +++++++++++++++++++++++++------------------------- wireplumber.install | 46 +++++++-------- 2 files changed, 99 insertions(+), 99 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-06 18:36:37 UTC (rev 433727) +++ PKGBUILD 2022-01-06 19:00:21 UTC (rev 433728) @@ -1,76 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> - -pkgbase=wireplumber -pkgname=(wireplumber wireplumber-docs) -pkgver=0.4.5 -pkgrel=2 -pkgdesc="Session / policy manager implementation for PipeWire" -url="https://gitlab.freedesktop.org/pipewire/wireplumber" -license=(MIT) -arch=(x86_64) -makedepends=(git meson doxygen graphviz 'pipewire>=0.3.37' systemd glib2 lua - gobject-introspection python-sphinx python-sphinx_rtd_theme - python-breathe python-lxml) -_commit=3946457a7942a179c0f61c60de8cb8fc643391dd # tags/0.4.5 -source=("$pkgbase::git+https://gitlab.freedesktop.org/pipewire/wireplumber.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgbase - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $pkgbase -} - -build() { - local meson_options=( - -D system-lua=true - -D elogind=disabled - ) - - arch-meson $pkgbase build "${meson_options[@]}" - 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 -} - -package_wireplumber() { - depends=('pipewire>=0.3.37' lua libpipewire-0.3.so libsystemd.so - libg{lib,module,object,io}-2.0.so) - optdepends=('wireplumber-docs: Documentation') - provides=(pipewire-session-manager libwireplumber-0.4.so) - conflicts=(pipewire-media-session) - install=wireplumber.install - - meson install -C build --destdir "$pkgdir" - - _pick docs "$pkgdir"/usr/share/doc - - install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 $pkgbase/{NEWS,README}* - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE -} - -package_wireplumber-docs() { - pkgdesc+=" - documentation" - - mv docs/* "$pkgdir" - - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE -} - -# vim:set sw=2 et: Copied: wireplumber/repos/extra-x86_64/PKGBUILD (from rev 433727, wireplumber/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-06 19:00:21 UTC (rev 433728) @@ -0,0 +1,76 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> + +pkgbase=wireplumber +pkgname=(wireplumber wireplumber-docs) +pkgver=0.4.6 +pkgrel=1 +pkgdesc="Session / policy manager implementation for PipeWire" +url="https://pipewire.pages.freedesktop.org/wireplumber/" +license=(MIT) +arch=(x86_64) +makedepends=(git meson doxygen graphviz 'pipewire>=0.3.43' systemd glib2 lua + gobject-introspection python-sphinx python-sphinx_rtd_theme + python-breathe python-lxml) +_commit=9a733293d7d39554d0c9b04741a64ece023dbac6 # tags/0.4.6 +source=("$pkgbase::git+https://gitlab.freedesktop.org/pipewire/wireplumber.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgbase + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgbase +} + +build() { + local meson_options=( + -D system-lua=true + -D elogind=disabled + ) + + arch-meson $pkgbase build "${meson_options[@]}" + 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 +} + +package_wireplumber() { + depends=('pipewire>=0.3.43' lua libpipewire-0.3.so libsystemd.so + libg{lib,module,object,io}-2.0.so) + optdepends=('wireplumber-docs: Documentation') + provides=(pipewire-session-manager libwireplumber-0.4.so) + conflicts=(pipewire-media-session) + install=wireplumber.install + + meson install -C build --destdir "$pkgdir" + + _pick docs "$pkgdir"/usr/share/doc + + install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 $pkgbase/{NEWS,README}* + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE +} + +package_wireplumber-docs() { + pkgdesc+=" - documentation" + + mv docs/* "$pkgdir" + + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/LICENSE +} + +# vim:set sw=2 et: Deleted: wireplumber.install =================================================================== --- wireplumber.install 2022-01-06 18:36:37 UTC (rev 433727) +++ wireplumber.install 2022-01-06 19:00:21 UTC (rev 433728) @@ -1,23 +0,0 @@ -post_install() { - # Enable service by default, creating an alias from - # pipewire-session-manager.service, which is required by pipewire.service - systemctl --global enable wireplumber.service -} - -post_upgrade() { - # Reenable the service if needed so the alias gets created. - if (( $(vercmp "$2" '0.4.4-2') < 0)); then - # Unlike pipewire-media-session, we introduce the enable of wireplumber - # in the same release as the alias, thus can unconditionally reenable. - systemctl --global reenable wireplumber.service - cat <<MSG ->>> If you enabled wireplumber.service manually for any user, run - "systemctl --user reenable wireplumber.service" for these users - now. This will create a required service alias. -MSG - fi -} - -pre_remove() { - systemctl --global disable wireplumber.service -} Copied: wireplumber/repos/extra-x86_64/wireplumber.install (from rev 433727, wireplumber/trunk/wireplumber.install) =================================================================== --- wireplumber.install (rev 0) +++ wireplumber.install 2022-01-06 19:00:21 UTC (rev 433728) @@ -0,0 +1,23 @@ +post_install() { + # Enable service by default, creating an alias from + # pipewire-session-manager.service, which is required by pipewire.service + systemctl --global enable wireplumber.service +} + +post_upgrade() { + # Reenable the service if needed so the alias gets created. + if (( $(vercmp "$2" '0.4.4-2') < 0)); then + # Unlike pipewire-media-session, we introduce the enable of wireplumber + # in the same release as the alias, thus can unconditionally reenable. + systemctl --global reenable wireplumber.service + cat <<MSG +>>> If you enabled wireplumber.service manually for any user, run + "systemctl --user reenable wireplumber.service" for these users + now. This will create a required service alias. +MSG + fi +} + +pre_remove() { + systemctl --global disable wireplumber.service +}