commit:     5ccd54626f39461a4096c6d322482998636c6268
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 18 10:16:32 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Sep 18 11:01:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ccd5462

media-sound/potamus: Update ffmpeg handling, bump eapi

Package-Manager: portage-2.3.0

 media-sound/potamus/potamus-16.ebuild | 38 ++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 21 deletions(-)

diff --git a/media-sound/potamus/potamus-16.ebuild 
b/media-sound/potamus/potamus-16.ebuild
index aa6e665..01b06d0 100644
--- a/media-sound/potamus/potamus-16.ebuild
+++ b/media-sound/potamus/potamus-16.ebuild
@@ -1,42 +1,42 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=6
+inherit gnome2
 
-inherit gnome2 eutils
-
-DESCRIPTION="a lightweight audio player with a simple interface and an 
emphasis on high audio quality"
-HOMEPAGE="http://offog.org/code/potamus.html";
+DESCRIPTION="A lightweight audio player with a simple interface and an 
emphasis on high audio quality"
+HOMEPAGE="http://offog.org/code/potamus/";
 SRC_URI="http://offog.org/files/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="audiofile flac mad modplug opus vorbis +ao jack"
+IUSE="+ao audiofile flac jack libav mad modplug opus vorbis"
 
-RDEPEND="x11-libs/gtk+:2
+RDEPEND="
+       x11-libs/gtk+:2
        >=gnome-base/libglade-2
        media-libs/libsamplerate
-       virtual/ffmpeg
+       ao? ( media-libs/libao )
        audiofile? ( media-libs/audiofile )
        flac? ( media-libs/flac )
+       jack? ( media-sound/jack-audio-connection-kit )
+       libav? ( media-video/libav:= )
+       !libav? ( >=media-video/ffmpeg-2.8:0= )
        mad? ( media-libs/libmad )
        modplug? ( media-libs/libmodplug )
        opus? ( media-libs/opusfile )
        vorbis? ( media-libs/libvorbis )
-       ao? ( media-libs/libao )
-       jack? ( media-sound/jack-audio-connection-kit )"
+"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+       virtual/pkgconfig
+"
 
-src_prepare() {
-       gnome2_src_prepare
-       has_version '>=media-video/ffmpeg-2.8' && epatch 
"${FILESDIR}/ffmpeg29.patch"
-}
+PATCHES=( "${FILESDIR}/ffmpeg29.patch" )
 
 src_configure() {
-       econf \
+       gnome2_src_configure \
                $(use_enable audiofile input-audiofile) \
                $(use_enable flac input-flac) \
                $(use_enable mad input-mad) \
@@ -47,7 +47,3 @@ src_configure() {
                $(use_enable jack output-jack)
 
 }
-
-src_install() {
-       default
-}

Reply via email to