summaryrefslogtreecommitdiff
blob: 2fccc7682e819bde62766d52db90f7d81a5e767b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnustep-2

S="${WORKDIR}/Etoile-${PV}/Frameworks/MediaKit"

DESCRIPTION="a common backend engine to play multimedia stream"
HOMEPAGE="http://www.etoile-project.org"
SRC_URI="http://download.gna.org/etoile/etoile-${PV}.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
IUSE=""

DEPEND=">=gnustep-base/gnustep-gui-0.16.0
	gnustep-libs/etoile-foundation
	gnustep-libs/systemconfig
	>=media-video/ffmpeg-0.4.9_p20080326"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd "${WORKDIR}/Etoile-${PV}"

	cd "${S}"
	sed -i -e "s#avcodec.h#libavcodec/avcodec.h#" \
		-e "s#avformat.h#libavformat/avformat.h#" \
		MKMediaFile.h || die "ffmpeg sed failed"
}