Annotation of /trunk/extras/gstreamer0.10-plugins-ugly/gstreamer0.10-plugins-ugly-0.10.19-r6.smage2
Parent Directory | Revision Log
Revision 29160 -
(hide annotations)
(download)
Fri May 26 08:14:56 2017 UTC (7 years, 3 months ago) by niro
File size: 1566 byte(s)
Fri May 26 08:14:56 2017 UTC (7 years, 3 months ago) by niro
File size: 1566 byte(s)
auto added: ver bump to 0.10.19-r6
1 | niro | 29160 | # $Id$ |
2 | |||
3 | PVER="0.10.19" | ||
4 | _realPNAME="gst-plugins-ugly" | ||
5 | _majorPVER="${PVER%.*}" | ||
6 | |||
7 | PNAME="gstreamer${_majorPVER}-plugins-ugly" | ||
8 | PBUILD="r6" | ||
9 | |||
10 | PCAT="media-libs" | ||
11 | |||
12 | DESCRIPTION="Plugins with ugly code and licences 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 | >= dev-libs/glib2-2.52 | ||
18 | >= dev-libs/liborc-0.4.26 | ||
19 | >= dev-libs/libcdio-0.90 | ||
20 | >= media-libs/libdvdcss-1.4 | ||
21 | >= media-libs/libdvdread-5.0 | ||
22 | >= media-libs/libdvdnav-5.0 | ||
23 | >= media-libs/libmpeg2-0.5.1 | ||
24 | >= media-libs/a52dec-0.7.4 | ||
25 | >= media-libs/libid3tag-0.15 | ||
26 | >= media-libs/libmad-0.15 | ||
27 | >= media-libs/x264-201705 | ||
28 | >= media-sound/lame-3.98" | ||
29 | |||
30 | SDEPEND=">= sys-dev/gettext-0.18 | ||
31 | >= dev-util/pkgconfig-0.25 | ||
32 | >= dev-lang/orc-0.4.26" | ||
33 | |||
34 | SRCFILE="${_realPNAME}-${PVER}.tar.xz" | ||
35 | SRCDIR="${BUILDDIR}/${_realPNAME}-${PVER}" | ||
36 | |||
37 | sminclude mbuild | ||
38 | msetfeature "!check" | ||
39 | |||
40 | SRC_URI=( | ||
41 | http://gstreamer.freedesktop.org/src/${_realPNAME}/${SRCFILE} | ||
42 | mirror://${_realPNAME}/${SRCFILE} | ||
43 | mirror://${_realPNAME}/${_realPNAME}-${PVER}-libcdio90.patch | ||
44 | ) | ||
45 | |||
46 | UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${_realPNAME}/ | grep ${_realPNAME}-${_majorPVER}| lasttarball xz" | ||
47 | |||
48 | src_prepare() | ||
49 | { | ||
50 | munpack ${SRCFILE} || die | ||
51 | cd ${SRCDIR} | ||
52 | |||
53 | # fix build against >= libcdio-0.90 | ||
54 | mpatch ${_realPNAME}-${PVER}-libcdio90.patch || die | ||
55 | } | ||
56 | |||
57 | src_compile() | ||
58 | { | ||
59 | cd ${SRCDIR} | ||
60 | |||
61 | # libdvdnav is disabled as it is not stable yet, so we enforce the build | ||
62 | mconfigure --enable-dvdread --enable-dvdnav || die | ||
63 | mmake || die | ||
64 | } |