[arch-commits] Commit in pipewire/trunk (PKGBUILD svg.diff)

Jan Steffens heftig at archlinux.org
Tue Sep 19 12:39:40 UTC 2017


    Date: Tuesday, September 19, 2017 @ 12:39:39
  Author: heftig
Revision: 305836

0.1.5+2+g8f67aa2-2

Added:
  pipewire/trunk/svg.diff
Modified:
  pipewire/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++---------------
 svg.diff |   26 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-19 12:39:35 UTC (rev 305835)
+++ PKGBUILD	2017-09-19 12:39:39 UTC (rev 305836)
@@ -1,8 +1,7 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
-pkgbase=pipewire
-pkgname=(pipewire pipewire-docs)
+pkgname=pipewire
 pkgver=0.1.5+2+g8f67aa2
 pkgrel=2
 pkgdesc="Server and user space API to deal with multimedia pipelines"
@@ -13,8 +12,10 @@
 makedepends=(git meson doxygen graphviz xmltoman ffmpeg jack2 libva)
 optdepends=(ffmpeg jack2 libva)
 _commit=8f67aa2c3887fa72ccf6bbcd2d10b4e5b1a6da54  # master
-source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://github.com/PipeWire/pipewire#commit=$_commit"
+        svg.diff)
+sha256sums=('SKIP'
+            '23df81ab6c70e1d1e29505f846abffe3530495fdcede6fbed08f42b4c86e6e65')
 
 
 pkgver() {
@@ -25,6 +26,7 @@
 prepare() {
   mkdir build
   cd $pkgname
+  patch -Np1 -i ../svg.diff
 }
 
 build() {
@@ -38,17 +40,7 @@
   meson test
 }
 
-package_pipewire() {
+package() {
   cd build
   DESTDIR="$pkgdir" ninja install
-  mv "$pkgdir/usr/share/doc" "$srcdir/doc"
 }
-
-package_pipewire-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-  optdepends=()
-
-  mkdir -p "$pkgdir/usr/share"
-  mv "$srcdir/doc" "$pkgdir/usr/share"
-}

Added: svg.diff
===================================================================
--- svg.diff	                        (rev 0)
+++ svg.diff	2017-09-19 12:39:39 UTC (rev 305836)
@@ -0,0 +1,26 @@
+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