Annotation of /trunk/deprecated/gstreamer/gstreamer-0.10.35-r5.smage2
Parent Directory | Revision Log
Revision 9553 -
(hide annotations)
(download)
Sat Dec 10 17:44:18 2011 UTC (12 years, 9 months ago) by niro
Original Path: branches/magellan-next/core/gstreamer/gstreamer-0.10.35-r5.smage2
File size: 2317 byte(s)
Sat Dec 10 17:44:18 2011 UTC (12 years, 9 months ago) by niro
Original Path: branches/magellan-next/core/gstreamer/gstreamer-0.10.35-r5.smage2
File size: 2317 byte(s)
-fixed a typo
1 | niro | 9551 | # $Id$ |
2 | |||
3 | PNAME="gstreamer" | ||
4 | PVER="0.10.35" | ||
5 | PBUILD="r5" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | |||
9 | DESCRIPTION="Streaming media framework." | ||
10 | HOMEPAGE="http://gstreamer.sourceforge.net/" | ||
11 | |||
12 | # x86_64 specific dependencies | ||
13 | DEPEND_x86_64=">= sys-apps/multiarch-wrapper-1" | ||
14 | SPECIAL_VARS="DEPEND_x86_64" | ||
15 | |||
16 | DEPEND="\$(eval echo \\\$DEPEND_\${ARCH/i*86/x86} | tr ';' '\n') | ||
17 | >= dev-libs/glib2-2.28 | ||
18 | >= dev-libs/libxml2-2.7" | ||
19 | |||
20 | SDEPEND=">= sys-dev/gettext-0.18 | ||
21 | >= dev-util/pkgconfig-0.25 | ||
22 | >= dev-libs/gobject-introspection-0.10" | ||
23 | |||
24 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
26 | |||
27 | # enable linux32 emulation for x86_64 arches | ||
28 | EMUL_LINUX_32=true | ||
29 | |||
30 | sminclude mbuild mtools multilib | ||
31 | |||
32 | SRC_URI=( | ||
33 | http://gstreamer.freedesktop.org/src/${PNAME}/${SRCFILE} | ||
34 | mirror://${PNAME}/${SRCFILE} | ||
35 | ) | ||
36 | |||
37 | UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${PNAME}/ | lasttarball" | ||
38 | |||
39 | src_compile() | ||
40 | { | ||
41 | local myconf | ||
42 | [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi) | ||
43 | |||
44 | # use libexecdir=/usr/$(mlibdir) | ||
45 | # the makefile installes the libexec data into a gstreamer-0.10 dir | ||
46 | # which gets already installed in /usr/$(mlibdir) | ||
47 | mconfigure \ | ||
48 | --libexecdir=/usr/$(mlibdir) \ | ||
49 | --enable-introspection \ | ||
50 | --disable-static \ | ||
51 | --disable-tests \ | ||
52 | --disable-examples \ | ||
53 | --disable-gtk-doc \ | ||
54 | ${myconf} \ | ||
55 | || die | ||
56 | |||
57 | mmake || die | ||
58 | } | ||
59 | |||
60 | src_install() | ||
61 | { | ||
62 | mmake DESTDIR=${BINDIR} install || die | ||
63 | |||
64 | if [[ ${ARCH} = x86_64 ]] | ||
65 | then | ||
66 | # install multiarch-wrapper | ||
67 | mlink multiarch-wrapper /usr/bin/gst-feedback || die | ||
68 | mlink multiarch-wrapper /usr/bin/gst-feedback-${PVER%.*} || die | ||
69 | mlink multiarch-wrapper /usr/bin/gst-inspect || die | ||
70 | mlink multiarch-wrapper /usr/bin/gst-inspect-${PVER%.*} || die | ||
71 | mlink multiarch-wrapper /usr/bin/gst-launch || die | ||
72 | mlink multiarch-wrapper /usr/bin/gst-launch-${PVER%.*} || die | ||
73 | mlink multiarch-wrapper /usr/bin/gst-typefind || die | ||
74 | mlink multiarch-wrapper /usr/bin/gst-typefind-${PVER%.*} || die | ||
75 | mlink multiarch-wrapper /usr/bin/gst-xmlinspect || die | ||
76 | mlink multiarch-wrapper /usr/bin/gst-xmlinspect-${PVER%.*} || die | ||
77 | mlink multiarch-wrapper /usr/bin/gst-xmllaunch || die | ||
78 | mlink multiarch-wrapper /usr/bin/gst-xmllaunch-${PVER%.*} || die | ||
79 | niro | 9553 | mlink multiarch-wrapper /usr/$(mlibdir)/gstreamer-${PVER%.*}/gst-plugin-scanner || die |
80 | niro | 9551 | fi |
81 | |||
82 | minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die | ||
83 | } |