summaryrefslogtreecommitdiff
path: root/gstreamer/gpe-gst-plugins_0.8.4.oe
blob: 84f07b642c9c21b1867fc15337655f30af0c20d4 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
DESCRIPTION = "Plugins for GStreamer"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Chris Lord <cwiiis@handhelds.org>"
PROVIDES = "gst-plugins"
PR = "r1"

DEPENDS = "gstreamer libmikmod libmad libogg tremor libvorbis libid3tag gpe-soundserver gconf gnome-vfs"

SRC_URI = "http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-${PV}.tar.bz2 \
	   file://ivorbis.patch;patch=1 \
	   file://try-esdsink.patch;patch=1 \
	   file://lame-autoconf.patch;patch=1"

S = ${WORKDIR}/gst-plugins-${PV}/

EXTRA_OECONF = "--disable-docs-build \
		--disable-dependency-tracking \
		--disable-aalib \
		--disable-alsa \
		--disable-arts \
                --disable-artsc \
		--disable-audiofile \
		--disable-cdparanoia \
		--disable-dirac \
		--disable-divx \
		--disable-dts \
		--disable-dvdread \
		--disable-dvdnav \
		--disable-faac \
		--disable-faad \
		--disable-gsm \
		--disable-hermes \
		--disable-jack \
		--disable-jpeg \
		--disable-kio \
		--disable-ladspa \
		--disable-lame \
		--disable-libcaca \
		--disable-lcs \
		--disable-libdv \
		--disable-libfame \
		--disable-libpng \
		--disable-librfb \
		--disable-libvisual \
		--disable-mpeg2enc \
		--disable-mplex \
		--disable-musicbrainz \
		--disable-nas \
		--disable-pango \
		--disable-raw1394 \
		--disable-sdl \
		--disable-shout \
		--disable-shout2 \
		--disable-sidplay \
		--disable-smoothwave \
		--disable-libpng \
		--disable-speex \
		--disable-sndfile \
		--disable-swfdec \
		--disable-tarkin \
		--disable-theora \
		--disable-xvid \
		--disable-tests \
		--disable-examples \
		--disable-freetypetest"
		

inherit autotools pkgconfig gconf

acpaths = "-I ${S}/common/m4 -I ${S}/m4"

FILES_${PN}_append = " ${libdir}/gstreamer-0.8/*.so"

pkg_postinst_append () {
	gst-register --gst-registry=/var/cache/gstreamer-0.8/registry.xml
}

do_stage() {
	autotools_stage_includes
	while read a b; do
		oe_libinstall -C gst-libs/gst/$a -so libgst$b ${STAGING_LIBDIR}
	done <<EOF
. interfaces-0.8
audio audio
audio audiofilter
gconf gconf-0.8
idct idct
media-info media-info-0.8
play play-0.8
resample resample
riff riff
video video
xwindowlistener xwindowlistener
EOF
}