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

Jan Steffens heftig at archlinux.org
Thu Nov 23 12:05:53 UTC 2017


    Date: Thursday, November 23, 2017 @ 12:05:52
  Author: heftig
Revision: 310730

archrelease: copy trunk to extra-x86_64

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

------------------+
 PKGBUILD         |   91 ++++++++++++++++++++++++++---------------------------
 pipewire.install |   14 ++++++++
 svg.diff         |   26 ---------------
 3 files changed, 59 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-23 12:05:13 UTC (rev 310729)
+++ PKGBUILD	2017-11-23 12:05:52 UTC (rev 310730)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=pipewire
-pkgver=0.1.6
-pkgrel=1
-pkgdesc="Server and user space API to deal with multimedia pipelines"
-url="http://pipewire.org"
-license=(LGPL2.1)
-arch=(x86_64)
-depends=(gstreamer gst-plugins-base v4l-utils)
-makedepends=(git meson doxygen graphviz xmltoman ffmpeg jack2 libva)
-optdepends=(ffmpeg jack2 libva)
-_commit=5fec60078d25ca3465f30b5d4fbe5d7ea6fabd65  # tags/0.1.6
-source=("git+https://github.com/PipeWire/pipewire#commit=$_commit"
-        svg.diff)
-sha256sums=('SKIP'
-            '23df81ab6c70e1d1e29505f846abffe3530495fdcede6fbed08f42b4c86e6e65')
-
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  mkdir build
-  cd $pkgname
-  patch -Np1 -i ../svg.diff
-}
-
-build() {
-  cd build
-  meson setup --prefix=/usr --sysconfdir=/etc --buildtype=release -Denable_docs=true -Denable_man=true ../$pkgname
-  ninja
-}
-
-check() {
-  cd build
-  meson test
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: pipewire/repos/extra-x86_64/PKGBUILD (from rev 310729, pipewire/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-23 12:05:52 UTC (rev 310730)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pipewire
+pkgver=0.1.6
+pkgrel=2
+pkgdesc="Server and user space API to deal with multimedia pipelines"
+url="http://pipewire.org"
+license=(LGPL2.1)
+arch=(x86_64)
+depends=(gstreamer gst-plugins-base v4l-utils)
+makedepends=(git meson doxygen graphviz xmltoman ffmpeg jack2 libva)
+optdepends=(ffmpeg jack2 libva)
+install=pipewire.install
+_commit=5fec60078d25ca3465f30b5d4fbe5d7ea6fabd65  # tags/0.1.6
+source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
+sha256sums=('SKIP')
+
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  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 -Denable_docs=true -Denable_man=true
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}

Copied: pipewire/repos/extra-x86_64/pipewire.install (from rev 310729, pipewire/trunk/pipewire.install)
===================================================================
--- pipewire.install	                        (rev 0)
+++ pipewire.install	2017-11-23 12:05:52 UTC (rev 310730)
@@ -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
+}

Deleted: svg.diff
===================================================================
--- svg.diff	2017-11-23 12:05:13 UTC (rev 310729)
+++ svg.diff	2017-11-23 12:05:52 UTC (rev 310730)
@@ -1,26 +0,0 @@
-diff --git i/doc/Doxyfile.in w/doc/Doxyfile.in
-index dceb922dc853eb44..726bd38a2945075d 100644
---- i/doc/Doxyfile.in
-+++ w/doc/Doxyfile.in
-@@ -2305,19 +2305,19 @@ DIRECTORY_GRAPH        = YES
- # The default value is: png.
- # This tag requires that the tag HAVE_DOT is set to YES.
- 
--DOT_IMAGE_FORMAT       = png
-+DOT_IMAGE_FORMAT       = svg
- 
- # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
- # enable generation of interactive SVG images that allow zooming and panning.
- #
- # Note that this requires a modern browser other than Internet Explorer. Tested
- # and working are Firefox, Chrome, Safari, and Opera.
- # Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
- # the SVG files visible. Older versions of IE do not have SVG support.
- # The default value is: NO.
- # This tag requires that the tag HAVE_DOT is set to YES.
- 
--INTERACTIVE_SVG        = NO
-+INTERACTIVE_SVG        = YES
- 
- # The DOT_PATH tag can be used to specify the path where the dot tool can be
- # found. If left blank, it is assumed the dot tool can be found in the path.



More information about the arch-commits mailing list