Magellan Linux

Contents of /trunk/extras/gstreamer0.10-plugins-good/gstreamer0.10-plugins-good-0.10.31-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20336 - (show annotations) (download)
Thu Dec 5 11:59:45 2013 UTC (10 years, 6 months ago) by niro
File size: 1617 byte(s)
-fixed build with recent kernel headers
1 # $Id$
2
3 PVER="0.10.31"
4 _realPNAME="gst-plugins-good"
5 _majorPVER="${PVER%.*}"
6
7 PNAME="gstreamer${_majorPVER}-plugins-good"
8 PBUILD="r2"
9
10 PCAT="media-libs"
11
12 DESCRIPTION="Known good plugins for gstreamer${_majorPVER}."
13 HOMEPAGE="http://gstreamer.sourceforge.net"
14
15 DEPEND=">= media-libs/gstreamer${_majorPVER}-${_majorPVER}
16 >= media-libs/gstreamer${_majorPVER}-plugins-base-${_majorPVER}
17 >= app-arch/bzip2-1.0.6
18 >= dev-libs/glib2-2.38
19 >= dev-libs/liborc-0.4.18
20 >= media-libs/libv4l-0.8
21 >= media-libs/taglib-1.7
22 >= media-libs/flac-1.2
23 >= media-libs/libpng-1.5
24 >= media-libs/libjpeg-8c
25 >= media-sound/libpulse-4
26 >= net-libs/libsoup-2.44
27 >= sys-fs/udev-208
28 >= sys-libs/libstdc++-4.8"
29
30 SDEPEND=">= sys-dev/gettext-0.18
31 >= dev-util/pkgconfig-0.25
32 >= dev-lang/orc-0.4.18"
33
34 SRCFILE="${_realPNAME}-${PVER}.tar.xz"
35 SRCDIR="${BUILDDIR}/${_realPNAME}-${PVER}"
36
37 # enable linux32 emulation for x86_64 arches
38 EMUL_LINUX_32="true"
39
40 sminclude mbuild multilib
41 msetfeature "!check"
42
43 SRC_URI=(
44 http://gstreamer.freedesktop.org/src/${_realPNAME}/${SRCFILE}
45 mirror://${_realPNAME}/${SRCFILE}
46 mirror://${_realPNAME}/${_realPNAME}-${PVER}-linux36.patch
47 )
48
49 UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${_realPNAME}/ | grep ${_realPNAME}-${_majorPVER}| lasttarball xz"
50
51 src_prepare()
52 {
53 munpack ${SRCFILE} || die
54
55 # fix build with newer linux-headers - the v4l2_buffer input field was removed
56 mpatch ${_realPNAME}-${PVER}-linux36.patch || die
57 }
58
59 src_compile()
60 {
61 # really disable esound support
62 mconfigure --disable-esd --disable-esdtest --disable-gconf --disable-hal --enable-experimental || die
63 mmake || die
64 }