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

Jan Steffens heftig at archlinux.org
Sat Jun 15 01:49:48 UTC 2019


    Date: Saturday, June 15, 2019 @ 01:49:48
  Author: heftig
Revision: 356149

archrelease: copy trunk to extra-x86_64

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

------------------+
 PKGBUILD         |  101 +++++++++++++++++++++++++++++------------------------
 pipewire.install |   28 +++++++-------
 2 files changed, 71 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-15 01:49:38 UTC (rev 356148)
+++ PKGBUILD	2019-06-15 01:49:48 UTC (rev 356149)
@@ -1,44 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=pipewire
-pkgver=0.2.6
-pkgrel=1
-pkgdesc="Server and user space API to deal with multimedia pipelines"
-url="https://pipewire.org"
-license=(LGPL2.1)
-arch=(x86_64)
-depends=(gstreamer gst-plugins-base sbc ffmpeg rtkit)
-makedepends=(git meson doxygen graphviz xmltoman valgrind)
-install=pipewire.install
-_commit=4aff470a8fa1e06448b2316781b4e7a91fbda341  # tags/0.2.6
-source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
-sha256sums=('SKIP')
-
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-
-  # Reduce docs size
-  printf '%s\n' >>doc/Doxyfile.in \
-    HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
-}
-
-build() {
-  arch-meson $pkgname build \
-    -D docs=true \
-    -D man=true
-  ninja -C build
-}
-
-check() {
-  meson test -C build
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-}

Copied: pipewire/repos/extra-x86_64/PKGBUILD (from rev 356148, pipewire/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-15 01:49:48 UTC (rev 356149)
@@ -0,0 +1,57 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=pipewire
+pkgname=(pipewire pipewire-docs)
+pkgver=0.2.6+1+g37613b67
+pkgrel=1
+pkgdesc="Server and user space API to deal with multimedia pipelines"
+url="https://pipewire.org"
+license=(LGPL2.1)
+arch=(x86_64)
+depends=(gstreamer gst-plugins-base sbc ffmpeg rtkit)
+makedepends=(git meson doxygen graphviz xmltoman valgrind)
+_commit=37613b67ba52b5ad4e81d7ea38adc04027d9f9e5  # master
+source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
+sha256sums=('SKIP')
+
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+
+  # Reduce docs size
+  printf '%s\n' >>doc/Doxyfile.in \
+    HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
+}
+
+build() {
+  arch-meson $pkgbase build \
+    -D docs=true \
+    -D man=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_pipewire() {
+  install=pipewire.install
+
+  DESTDIR="$pkgdir" meson install -C build
+
+  # Split pipewire-docs
+  mkdir -p docs/share
+  mv "$pkgdir/usr/share/doc" docs/share/
+}
+
+package_pipewire-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv docs "$pkgdir/usr"
+}

Deleted: pipewire.install
===================================================================
--- pipewire.install	2019-06-15 01:49:38 UTC (rev 356148)
+++ pipewire.install	2019-06-15 01:49:48 UTC (rev 356149)
@@ -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 356148, pipewire/trunk/pipewire.install)
===================================================================
--- pipewire.install	                        (rev 0)
+++ pipewire.install	2019-06-15 01:49:48 UTC (rev 356149)
@@ -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