summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-10 16:51:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-10 16:51:43 +0000
commitfa27bb8b5a8a78b5627e0c45eed0c895919325e6 (patch)
tree9cded511bb06eef24019aa612237dffb29034f1f /media-sound/potamus
parentVersion bump, bug #249949. (diff)
downloadgentoo-2-fa27bb8b5a8a78b5627e0c45eed0c895919325e6.tar.gz
gentoo-2-fa27bb8b5a8a78b5627e0c45eed0c895919325e6.tar.bz2
gentoo-2-fa27bb8b5a8a78b5627e0c45eed0c895919325e6.zip
Fix building with recent FFMPEG versions, thanks to loki_val for advice.
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-sound/potamus')
-rw-r--r--media-sound/potamus/ChangeLog6
-rw-r--r--media-sound/potamus/files/potamus-0.9-ffmpeg.patch14
-rw-r--r--media-sound/potamus/potamus-0.9.ebuild12
3 files changed, 28 insertions, 4 deletions
diff --git a/media-sound/potamus/ChangeLog b/media-sound/potamus/ChangeLog
index 50e89ec7240e..079fa6a24065 100644
--- a/media-sound/potamus/ChangeLog
+++ b/media-sound/potamus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/potamus
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/potamus/ChangeLog,v 1.4 2008/01/26 12:11:01 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/potamus/ChangeLog,v 1.5 2008/12/10 16:51:43 ssuominen Exp $
+
+ 10 Dec 2008; <ssuominen@gentoo.org> +files/potamus-0.9-ffmpeg.patch,
+ potamus-0.9.ebuild:
+ Fix building with recent FFMPEG versions, thanks to loki_val for advice.
*potamus-0.9 (26 Jan 2008)
diff --git a/media-sound/potamus/files/potamus-0.9-ffmpeg.patch b/media-sound/potamus/files/potamus-0.9-ffmpeg.patch
new file mode 100644
index 000000000000..6e8252ac293b
--- /dev/null
+++ b/media-sound/potamus/files/potamus-0.9-ffmpeg.patch
@@ -0,0 +1,14 @@
+diff -ur potamus-0.9.orig/src/input-avcodec.c potamus-0.9/src/input-avcodec.c
+--- potamus-0.9.orig/src/input-avcodec.c 2007-12-02 17:55:57.000000000 +0200
++++ potamus-0.9/src/input-avcodec.c 2008-12-10 18:48:29.000000000 +0200
+@@ -19,8 +19,8 @@
+
+ #include <glib.h>
+ #include <stdlib.h>
+-#include <avcodec.h>
+-#include <avformat.h>
++#include <libavcodec/avcodec.h>
++#include <libavformat/avformat.h>
+ #include "buffer.h"
+ #include "format.h"
+ #include "input.h"
diff --git a/media-sound/potamus/potamus-0.9.ebuild b/media-sound/potamus/potamus-0.9.ebuild
index 396c0b22bda6..b2e6c58652fc 100644
--- a/media-sound/potamus/potamus-0.9.ebuild
+++ b/media-sound/potamus/potamus-0.9.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/potamus/potamus-0.9.ebuild,v 1.1 2008/01/26 12:11:01 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/potamus/potamus-0.9.ebuild,v 1.2 2008/12/10 16:51:43 ssuominen Exp $
-inherit gnome2-utils
+inherit eutils gnome2-utils
DESCRIPTION="a lightweight audio player with a simple interface and an emphasis on high audio quality."
HOMEPAGE="http://offog.org/code/potamus.html"
@@ -21,12 +21,18 @@ RDEPEND=">=x11-libs/gtk+-2
media-libs/libmad
media-libs/audiofile
media-libs/libmodplug
- media-video/ffmpeg
+ >=media-video/ffmpeg-0.4.9_p20080326
media-libs/flac
media-libs/bio2jack"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ffmpeg.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc NEWS README TODO