diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-18 14:13:07 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-18 14:28:45 -0300 |
commit | 2d45a03fd5536329f6b3545aa82f66c5cf0c8c71 (patch) | |
tree | 45409e567e78644cbba6e7ad2be1057345513579 /pcr/pulseaudio-equalizer-ladspa/PKGBUILD | |
parent | aa35f60a34268a23f778b7cbd934b1b52df78c8c (diff) | |
download | abslibre-2d45a03fd5536329f6b3545aa82f66c5cf0c8c71.tar.gz abslibre-2d45a03fd5536329f6b3545aa82f66c5cf0c8c71.tar.bz2 abslibre-2d45a03fd5536329f6b3545aa82f66c5cf0c8c71.zip |
pulseaudio-equalizer-ladspa: add new package to [pcr] -> https://labs.parabola.nu/issues/916
Diffstat (limited to 'pcr/pulseaudio-equalizer-ladspa/PKGBUILD')
-rw-r--r-- | pcr/pulseaudio-equalizer-ladspa/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/pulseaudio-equalizer-ladspa/PKGBUILD b/pcr/pulseaudio-equalizer-ladspa/PKGBUILD new file mode 100644 index 000000000..6649b6517 --- /dev/null +++ b/pcr/pulseaudio-equalizer-ladspa/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer (Arch): Yiyo <vespinosa2000@yahoo.com> +pkgname=pulseaudio-equalizer-ladspa +pkgver=2.7.0.2 +pkgrel=4 +pkgdesc="A 15-band equalizer for PulseAudio" +arch=(i686 x86_64) +url="http://www.webupd8.org/2013/10/system-wide-pulseaudio-equalizer.html" +license=('GPL3') +depends=('pygtk' 'swh-plugins' 'gnome-icon-theme' 'pulseaudio' 'bc') +source=(http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/p/pulseaudio-equalizer/pulseaudio-equalizer_$pkgver.orig.tar.gz + pulseaudio-equalizer-2.7-do-not-crash-on-missing-preset.patch + pulseaudio-equalizer-2.7-force-default-persistence-value.patch + pulseaudio-equalizer-2.7-remove-preamp.patch + pulseaudio-equalizer-2.7-window-icon.patch + pulseaudio-equalizer-2.7-pulse-path.patch + pulseaudio-equalizer-2.7-current-volume.patch) +md5sums=('c3c886a6017cb16408d47d0f5cd8549b' + 'ab6578d8e9528e1fc78f461a9842760d' + '141a6d70f57938b71fb0bac0d3df9fb1' + '0df0fa924165601f8703f13052a63456' + '6d132c5b5d71a985fb2aa98aa93cf190' + 'abb24625bb9e2e5d77f21d8d9148cb26' + '917b144f7789ceef42980e0b816f101d') + +build() { + cd "$srcdir/pulseaudio-equalizer" + + sed -i 's|gnome-volume-control|multimedia-volume-control|g' usr/share/applications/pulseaudio-equalizer.desktop + + patch -Np1 -i "$srcdir/pulseaudio-equalizer-2.7-force-default-persistence-value.patch" + patch -Np1 -i "$srcdir/pulseaudio-equalizer-2.7-remove-preamp.patch" + patch -Np1 -i "$srcdir/pulseaudio-equalizer-2.7-window-icon.patch" + patch -Np1 -i "$srcdir/pulseaudio-equalizer-2.7-do-not-crash-on-missing-preset.patch" + patch -Np1 -i "$srcdir/pulseaudio-equalizer-2.7-pulse-path.patch" + patch -Np1 -i "$srcdir/pulseaudio-equalizer-2.7-current-volume.patch" + + sed -i '1s|#!/usr/bin/env python|&2|' usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py + sed -i 's|^python|&2|' usr/bin/pulseaudio-equalizer-gtk +} + +package() { + cd "$srcdir/pulseaudio-equalizer" + cp -rfp usr "$pkgdir" +} |