author | Jan Alexander Steffens
<heftig@archlinux.org> 2017-09-19 12:39:39 UTC |
committer | Jan Alexander Steffens
<heftig@archlinux.org> 2017-09-19 12:39:39 UTC |
parent | 2e9023789a25c2bac20a2008f9b051602afef65e |
PKGBUILD | +7 | -15 |
svg.diff | +26 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index 5c83186..16b3585 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,6 @@ # Maintainer: Jan de Groot <jgc@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" @@ -12,8 +11,10 @@ depends=(gstreamer gst-plugins-base v4l-utils) 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() { @@ -24,6 +25,7 @@ pkgver() { prepare() { mkdir build cd $pkgname + patch -Np1 -i ../svg.diff } build() { @@ -37,17 +39,7 @@ check() { 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" } diff --git a/svg.diff b/svg.diff new file mode 100644 index 0000000..795438a --- /dev/null +++ b/svg.diff @@ -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.