[arch-commits] Commit in wireplumber/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu May 27 18:01:23 UTC 2021


    Date: Thursday, May 27, 2021 @ 18:01:23
  Author: dvzrv
Revision: 949099

upgpkg: wireplumber 0.3.96-1: Upgrade to 0.3.96.

Split out docs to wireplumber-docs.
Make lua53 a regular dependency of wireplumber: https://bugs.archlinux.org/task/71030.

Modified:
  wireplumber/trunk/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 18:01:03 UTC (rev 949098)
+++ PKGBUILD	2021-05-27 18:01:23 UTC (rev 949099)
@@ -1,21 +1,20 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
-pkgname=wireplumber
-pkgver=0.3.95
+pkgbase=wireplumber
+pkgname=('wireplumber' 'wireplumber-docs')
+pkgver=0.3.96
 pkgrel=1
 pkgdesc="Session / policy manager implementation for PipeWire"
 arch=('x86_64')
 url="https://gitlab.freedesktop.org/pipewire/wireplumber"
 license=('MIT')
-depends=('gcc-libs' 'glibc')
-makedepends=('cmake' 'cpptoml' 'glib2' 'gobject-introspection' 'hotdoc' 'lua53'
-'meson' 'pipewire' 'systemd')
+makedepends=('cmake' 'cpptoml' 'doxygen' 'glib2' 'gobject-introspection'
+'hotdoc' 'lua53' 'meson' 'pipewire' 'python-breathe' 'python-sphinx_rtd_theme'
+'python-sphinx' 'systemd')
 checkdepends=('pipewire-alsa' 'pipewire-jack' 'pipewire-pulse')
-optdepends=('lua53: for LUA scripting')
-provides=('libwireplumber-0.3.so')
 source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/pipewire/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('39e8eddc7152a062414dc19b51a8bfa105b1446a2cc9fca17f1ea7b42f6333d3e34e1eb996dfbe1222475ad9ce7b58f0bac2969e1763885c59e7aea160cb58fc')
-b2sums=('b80f6b6f1fd25ce9e058cdcf97433df1b91b6ee8135f137c610e6bc0e0dcba5dc409855f3feede390ca88ec117346e1c4d6210bb9180c83553ca47ff3d39d037')
+sha512sums=('6af0d04186601bfb1565eca0ece9c0b529757a86320c1f19b2bed4d5a349f41b960627692db2e70e2b543009bbbed3f31159199290193cd4cea983bc9f9cbd79')
+b2sums=('68d91840c790d75fb5662a44a1936a19b29166e0445d666277627b14cb7559122e93b01c35ea489e5ea4d43b27424974ab21ad888e989900d6a9ee5704c9db87')
 
 build() {
   cd "$pkgname-$pkgver"
@@ -32,11 +31,25 @@
   ninja -C build test || echo "Known to fail: https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/18"
 }
 
-package() {
-  depends+=('libgio-2.0.so' 'libglib-2.0.so' 'libgmodule-2.0.so'
-  'libgobject-2.0.so' 'libpipewire-0.3.so')
-  cd "$pkgname-$pkgver"
+package_wireplumber() {
+  depends=('gcc-libs' 'glibc' 'lua53' 'libgio-2.0.so' 'libglib-2.0.so'
+  'libgmodule-2.0.so' 'libgobject-2.0.so' 'libpipewire-0.3.so')
+  provides=('libwireplumber-0.3.so')
+
+  cd "$pkgbase-$pkgver"
   DESTDIR="${pkgdir}" meson install -C build
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 {NEWS,README}.md -t "${pkgdir}/usr/share/doc/${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/"
+}



More information about the arch-commits mailing list