Annotation of /branches/magellan-next/core/gstreamer/gstreamer-0.10.30-r2.smage2
Parent Directory | Revision Log
Revision 6831 -
(hide annotations)
(download)
Wed Sep 22 18:21:46 2010 UTC (13 years, 9 months ago) by niro
File size: 1094 byte(s)
Wed Sep 22 18:21:46 2010 UTC (13 years, 9 months ago) by niro
File size: 1094 byte(s)
-fixed libexecdir and disabled gtk-doc
1 | niro | 6831 | # $Id: gstreamer-0.10.25-r1.smage2 3543 2009-10-23 10:56:45Z niro $ |
2 | |||
3 | PNAME="gstreamer" | ||
4 | PVER="0.10.30" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Streaming media framework." | ||
11 | HOMEPAGE="http://gstreamer.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= dev-libs/glib2-2.24 | ||
14 | >= dev-libs/libxml2-2.7 | ||
15 | >= dev-libs/gobject-introspection-0.6" | ||
16 | |||
17 | SDEPEND=">= sys-dev/gettext-0.18 | ||
18 | >= dev-util/pkgconfig-0.25" | ||
19 | |||
20 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mbuild | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://gstreamer.freedesktop.org/src/${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-make382.patch | ||
29 | ) | ||
30 | |||
31 | UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${PNAME}/ | lasttarball" | ||
32 | |||
33 | src_prepare() | ||
34 | { | ||
35 | munpack ${SRCFILE} || die | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | # fix built against make-3.82 | ||
39 | mpatch ${PNAME}-${PVER}-make382.patch || die | ||
40 | } | ||
41 | |||
42 | src_compile() | ||
43 | { | ||
44 | cd ${SRCDIR} | ||
45 | |||
46 | mconfigure \ | ||
47 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ | ||
48 | --enable-introspection \ | ||
49 | --disable-static \ | ||
50 | --disable-tests \ | ||
51 | --disable-examples \ | ||
52 | --disable-gtk-doc \ | ||
53 | || die | ||
54 | |||
55 | mmake || die | ||
56 | } |