summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-08-16 16:30:30 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-08-16 16:30:43 +0200
commit8154e21d026385d9c90126df8866174e12a95f2f (patch)
tree784b408ab3f27d5a100736d0030278535ba621f5 /media-sound/pamix/pamix-9999.ebuild
parentdev-ml/capnp-ocaml: initial import; ebuild by me (diff)
downloadgentoo-8154e21d026385d9c90126df8866174e12a95f2f.tar.gz
gentoo-8154e21d026385d9c90126df8866174e12a95f2f.tar.bz2
gentoo-8154e21d026385d9c90126df8866174e12a95f2f.zip
media-sound/pamix: Bump to version 1.2
Overhauled live ebuild. Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/pamix/pamix-9999.ebuild')
-rw-r--r--media-sound/pamix/pamix-9999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-sound/pamix/pamix-9999.ebuild b/media-sound/pamix/pamix-9999.ebuild
index 986dad71c324..97f3fe1c284b 100644
--- a/media-sound/pamix/pamix-9999.ebuild
+++ b/media-sound/pamix/pamix-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-[[ "${PV}" == 9999 ]] && inherit git-r3
+[[ "${PV}" == 9999 ]] && inherit autotools git-r3
DESCRIPTION="A PulseAudio NCurses mixer"
HOMEPAGE="https://github.com/patroclos/PAmix"
@@ -28,3 +28,11 @@ src_unpack() {
[[ "${PV}" == 9999 ]] && git-r3_src_unpack
default
}
+
+src_prepare() {
+ default
+ if [[ "${PV}" == 9999 ]] ; then
+ sed 's@^pamix_LDFLAGS@pamix_LDADD@' -i Makefile.am || die
+ eautoreconf
+ fi
+}