Annotation of /branches/magellan-next/core/gstreamer/gstreamer-0.10.35-r3.smage2
Parent Directory | Revision Log
Revision 9347 -
(hide annotations)
(download)
Sun Nov 27 19:11:44 2011 UTC (12 years, 5 months ago) by niro
File size: 2113 byte(s)
Sun Nov 27 19:11:44 2011 UTC (12 years, 5 months ago) by niro
File size: 2113 byte(s)
-multilib fixups
1 | niro | 9345 | # $Id$ |
2 | |||
3 | PNAME="gstreamer" | ||
4 | PVER="0.10.35" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | |||
9 | DESCRIPTION="Streaming media framework." | ||
10 | HOMEPAGE="http://gstreamer.sourceforge.net/" | ||
11 | |||
12 | niro | 9347 | # 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 | niro | 9345 | >= dev-libs/libxml2-2.7 |
19 | >= dev-libs/gobject-introspection-0.10" | ||
20 | |||
21 | SDEPEND=">= sys-dev/gettext-0.18 | ||
22 | >= dev-util/pkgconfig-0.25" | ||
23 | |||
24 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
26 | |||
27 | niro | 9347 | # enable linux32 emulation for x86_64 arches |
28 | EMUL_LINUX_32=true | ||
29 | |||
30 | niro | 9345 | sminclude mbuild 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 | niro | 9347 | local myconf |
42 | [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi) | ||
43 | |||
44 | niro | 9345 | # 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 | niro | 9347 | ${myconf} \ |
55 | niro | 9345 | || die |
56 | |||
57 | mmake || die | ||
58 | } | ||
59 | niro | 9347 | |
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 gst-feedback || die | ||
68 | mlink multiarch-wrapper gst-feedback-${PVER%.*} || die | ||
69 | mlink multiarch-wrapper gst-inspect || die | ||
70 | mlink multiarch-wrapper gst-inspect-${PVER%.*} || die | ||
71 | mlink multiarch-wrapper gst-launch || die | ||
72 | mlink multiarch-wrapper gst-launch-${PVER%.*} || die | ||
73 | mlink multiarch-wrapper gst-typefind || die | ||
74 | mlink multiarch-wrapper gst-typefind-${PVER%.*} || die | ||
75 | mlink multiarch-wrapper gst-xmlinspect || die | ||
76 | mlink multiarch-wrapper gst-xmlinspect-${PVER%.*} || die | ||
77 | mlink multiarch-wrapper gst-xmllaunch || die | ||
78 | mlink multiarch-wrapper gst-xmllaunch-${PVER%.*} || die | ||
79 | fi | ||
80 | |||
81 | minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die | ||
82 | } |