From 5ccd54626f39461a4096c6d322482998636c6268 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 18 Sep 2016 12:16:32 +0200 Subject: 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(-) (limited to 'media-sound/potamus') diff --git a/media-sound/potamus/potamus-16.ebuild b/media-sound/potamus/potamus-16.ebuild index aa6e6654887e..01b06d0a8c71 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 -} -- cgit v1.2.3-65-gdbad