Magellan Linux

Annotation of /branches/R11-stable/extras/gstreamer0.10-plugins-good/gstreamer0.10-plugins-good-0.10.31-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20337 - (hide annotations) (download)
Thu Dec 5 12:07:09 2013 UTC (10 years, 6 months ago) by niro
Original Path: trunk/extras/gstreamer0.10-plugins-good/gstreamer0.10-plugins-good-0.10.31-r2.smage2
File size: 1740 byte(s)
-more compile fixes
1 niro 20335 # $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 niro 20336 mirror://${_realPNAME}/${_realPNAME}-${PVER}-linux36.patch
47 niro 20337 mirror://${_realPNAME}/${_realPNAME}-${PVER}-compile-fixes.patch
48 niro 20335 )
49    
50     UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${_realPNAME}/ | grep ${_realPNAME}-${_majorPVER}| lasttarball xz"
51    
52 niro 20336 src_prepare()
53     {
54     munpack ${SRCFILE} || die
55    
56     # fix build with newer linux-headers - the v4l2_buffer input field was removed
57     mpatch ${_realPNAME}-${PVER}-linux36.patch || die
58 niro 20337 mpatch ${_realPNAME}-${PVER}-compile-fixes.patch || die
59 niro 20336 }
60    
61 niro 20335 src_compile()
62     {
63     # really disable esound support
64     mconfigure --disable-esd --disable-esdtest --disable-gconf --disable-hal --enable-experimental || die
65     mmake || die
66     }