[arch-commits] Commit in wireplumber/repos/extra-x86_64 (4 files)
David Runge
dvzrv at gemini.archlinux.org
Thu Nov 11 17:29:10 UTC 2021
Date: Thursday, November 11, 2021 @ 17:29:09
Author: dvzrv
Revision: 427896
archrelease: copy trunk to extra-x86_64
Added:
wireplumber/repos/extra-x86_64/PKGBUILD
(from rev 427895, wireplumber/trunk/PKGBUILD)
wireplumber/repos/extra-x86_64/wireplumber.install
(from rev 427895, wireplumber/trunk/wireplumber.install)
Deleted:
wireplumber/repos/extra-x86_64/PKGBUILD
wireplumber/repos/extra-x86_64/wireplumber.install
---------------------+
PKGBUILD | 114 +++++++++++++++++++++++++-------------------------
wireplumber.install | 48 ++++++++++-----------
2 files changed, 81 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-11 17:28:58 UTC (rev 427895)
+++ PKGBUILD 2021-11-11 17:29:09 UTC (rev 427896)
@@ -1,57 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgbase=wireplumber
-pkgname=('wireplumber' 'wireplumber-docs')
-pkgver=0.4.4
-pkgrel=4
-pkgdesc="Session / policy manager implementation for PipeWire"
-arch=('x86_64')
-url="https://gitlab.freedesktop.org/pipewire/wireplumber"
-license=('MIT')
-makedepends=('cmake' 'cpptoml' 'doxygen' 'glib2' 'gobject-introspection'
-'hotdoc' 'lua' 'meson' 'pipewire' 'python-breathe' 'python-sphinx_rtd_theme'
-'python-sphinx' 'systemd')
-checkdepends=('pipewire-alsa' 'pipewire-jack' 'pipewire-pulse')
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/pipewire/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('f8d764c1728c2e550fc41044a8ebbbeba27157540077648431796d7de5a04281df00d9742b04c6f76b50e446b2a723f2555520cb953d432f90b05148967de4ef')
-b2sums=('cc2768db3a4f6f26a176c9fff759384fedb020c98540ecbe1e02e28a7f16fa3ecc4ec25de50a65021cabb4e5746c41c683b714e0bc5cf5003f2a7d9c9414516c')
-
-build() {
- cd "$pkgname-$pkgver"
- arch-meson \
- -Dsystem-lua=true \
- -Delogind=disabled \
- build
- ninja -C build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- ninja -C build test || echo "Known to fail: https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/18"
-}
-
-package_wireplumber() {
- depends=('gcc-libs' 'glibc' 'lua' 'libgio-2.0.so' 'libglib-2.0.so'
- 'libgmodule-2.0.so' 'libgobject-2.0.so' 'libpipewire-0.3.so')
- optdepends=('wireplumber-docs: for documentation')
- provides=('libwireplumber-0.4.so' 'pipewire-session-manager')
- conflicts=('pipewire-media-session')
- install="${pkgname}.install"
-
- cd "$pkgbase-$pkgver"
- DESTDIR="${pkgdir}" meson install -C build
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {NEWS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- # remove files provided by wireplumber-docs
- rm -frv "${pkgdir}/usr/share/doc/${pkgname}/html"
-}
-
-package_wireplumber-docs() {
- pkgdesc+=" (documentation)"
-
- cd "$pkgbase-$pkgver"
- DESTDIR="${pkgdir}" meson install -C build
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- # remove files provided by wireplumber
- rm -frv "${pkgdir}/usr/"{bin,include,lib,share/{gir*,wireplumber}} "${pkgdir}/etc/"
-}
Copied: wireplumber/repos/extra-x86_64/PKGBUILD (from rev 427895, wireplumber/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-11 17:29:09 UTC (rev 427896)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgbase=wireplumber
+pkgname=('wireplumber' 'wireplumber-docs')
+pkgver=0.4.5
+pkgrel=1
+pkgdesc="Session / policy manager implementation for PipeWire"
+arch=('x86_64')
+url="https://gitlab.freedesktop.org/pipewire/wireplumber"
+license=('MIT')
+makedepends=('cmake' 'cpptoml' 'doxygen' 'glib2' 'gobject-introspection'
+'hotdoc' 'lua' 'meson' 'pipewire' 'python-breathe' 'python-sphinx_rtd_theme'
+'python-sphinx' 'systemd')
+checkdepends=('pipewire-alsa' 'pipewire-jack' 'pipewire-pulse')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/pipewire/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('b0d5962e7a83709cc3115fbf0a04b63660085aeea2ebda6d78d692065ccb193cea8b44bb506fa440cf0b88bfae71a4f69a192cd6cba885ebf3c9270bea50c67a')
+b2sums=('177984901790228d8ddeb8ee2a548eb53db07c8077734590c3f964df36cfa47a4099e049ae9a19a136f4147c75b7122359a73b8387a641768f71484b9c4ab119')
+
+build() {
+ cd "$pkgname-$pkgver"
+ arch-meson \
+ -Dsystem-lua=true \
+ -Delogind=disabled \
+ build
+ ninja -C build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ ninja -C build test || echo "Known to fail: https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/18"
+}
+
+package_wireplumber() {
+ depends=('gcc-libs' 'glibc' 'lua' 'libgio-2.0.so' 'libglib-2.0.so'
+ 'libgmodule-2.0.so' 'libgobject-2.0.so' 'libpipewire-0.3.so')
+ optdepends=('wireplumber-docs: for documentation')
+ provides=('libwireplumber-0.4.so' 'pipewire-session-manager')
+ conflicts=('pipewire-media-session')
+ install="${pkgname}.install"
+
+ cd "$pkgbase-$pkgver"
+ DESTDIR="${pkgdir}" meson install -C build
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {NEWS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ # remove files provided by wireplumber-docs
+ rm -frv "${pkgdir}/usr/share/doc/${pkgname}/html"
+}
+
+package_wireplumber-docs() {
+ pkgdesc+=" (documentation)"
+
+ cd "$pkgbase-$pkgver"
+ DESTDIR="${pkgdir}" meson install -C build
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ # remove files provided by wireplumber
+ rm -frv "${pkgdir}/usr/"{bin,include,lib,share/{gir*,wireplumber}} "${pkgdir}/etc/"
+}
Deleted: wireplumber.install
===================================================================
--- wireplumber.install 2021-11-11 17:28:58 UTC (rev 427895)
+++ wireplumber.install 2021-11-11 17:29:09 UTC (rev 427896)
@@ -1,24 +0,0 @@
-post_install() {
- # Enable service by default, as it is aliased for
- # pipewire-session-manager.service, which is required by pipewire.service
- systemctl --global enable wireplumber.service
-}
-
-post_upgrade() {
- if (( $(vercmp "$2" '0.4.4-2') < 0)); then
- printf "\tReenable any per-user enabled wireplumber.service\n \
- \tmanually to establish a new service alias for\n \
- \tpipewire-session-manager.service added with 0.4.4.\n"
- # reenable already enabled global pipewire-media-session.service, as an alias is introduced with 0.3.38
- if systemctl --global is-enabled -q wireplumber.service; then
- systemctl --global reenable wireplumber.service
- fi
- # in case the service has not been enabled before, enable it:
- # wireplumber and pipewire-media-session conflict from this point on
- systemctl --global enable wireplumber.service
- fi
-}
-
-pre_remove() {
- systemctl --global disable wireplumber.service
-}
Copied: wireplumber/repos/extra-x86_64/wireplumber.install (from rev 427895, wireplumber/trunk/wireplumber.install)
===================================================================
--- wireplumber.install (rev 0)
+++ wireplumber.install 2021-11-11 17:29:09 UTC (rev 427896)
@@ -0,0 +1,24 @@
+post_install() {
+ # Enable service by default, as it is aliased for
+ # pipewire-session-manager.service, which is required by pipewire.service
+ systemctl --global enable wireplumber.service
+}
+
+post_upgrade() {
+ if (( $(vercmp "$2" '0.4.4-2') < 0)); then
+ printf "\tReenable any per-user enabled wireplumber.service\n \
+ \tmanually to establish a new service alias for\n \
+ \tpipewire-session-manager.service added with 0.4.4.\n"
+ # reenable already enabled global pipewire-media-session.service, as an alias is introduced with 0.3.38
+ if systemctl --global is-enabled -q wireplumber.service; then
+ systemctl --global reenable wireplumber.service
+ fi
+ # in case the service has not been enabled before, enable it:
+ # wireplumber and pipewire-media-session conflict from this point on
+ systemctl --global enable wireplumber.service
+ fi
+}
+
+pre_remove() {
+ systemctl --global disable wireplumber.service
+}
More information about the arch-commits
mailing list