blob: 96317da939ee7c179e09ea1aaa8bbe9581aa2533 (
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
32
|
# 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-libs/etoile-foundation
gnustep-libs/systemconfig
media-video/ffmpeg"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${WORKDIR}/Etoile-${PV}"
sed -i -e "s/-Werror//" etoile.make "${S}"/GNUmakefile || die "sed failed"
cd "${S}"
sed -i -e "s#avcodec.h#libavcodec/avcodec.h#" \
-e "s#avformat.h#libavformat/avformat.h#" \
MKMediaFile.h || die "ffmpeg sed failed"
}
|