commit:     60ab074112a12d11236fc6337b5c00ea6ac6eeb6
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 18 09:31:39 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 09:31:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ab0741

media-sound/pamix: Prepare live ebuild for next release.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-sound/pamix/pamix-9999.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/media-sound/pamix/pamix-9999.ebuild 
b/media-sound/pamix/pamix-9999.ebuild
index 97f3fe1..4c7c30f 100644
--- a/media-sound/pamix/pamix-9999.ebuild
+++ b/media-sound/pamix/pamix-9999.ebuild
@@ -4,7 +4,10 @@
 
 EAPI=6
 
-[[ "${PV}" == 9999 ]] && inherit autotools git-r3
+SCM=""
+[[ "${PV}" == 9999 ]] && SCM="git-r3"
+inherit autotools ${SCM}
+unset SCM
 
 DESCRIPTION="A PulseAudio NCurses mixer"
 HOMEPAGE="https://github.com/patroclos/PAmix";
@@ -24,15 +27,7 @@ RDEPEND="media-sound/pulseaudio
 DEPEND="virtual/pkgconfig
        ${RDEPEND}"
 
-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
+       eautoreconf
 }

Reply via email to