Annotation of /trunk/extras/gstreamer1.0/gstreamer1.0-1.0.9-r1.smage2
Parent Directory | Revision Log
Revision 18986 -
(hide annotations)
(download)
Tue Aug 20 09:22:07 2013 UTC (11 years, 1 month ago) by niro
File size: 2105 byte(s)
Tue Aug 20 09:22:07 2013 UTC (11 years, 1 month ago) by niro
File size: 2105 byte(s)
auto added: ver bump to 1.0.9-r1
1 | niro | 18986 | # $Id$ |
2 | |||
3 | _realPNAME="gstreamer" | ||
4 | _realPVER="1.0.7" | ||
5 | _majorPVER="${_realPVER%.*}" | ||
6 | |||
7 | PNAME="gstreamer${_majorPVER}" | ||
8 | PVER="1.0.9" | ||
9 | PBUILD="r1" | ||
10 | |||
11 | PCAT="media-libs" | ||
12 | |||
13 | DESCRIPTION="Streaming media framework version ${_majorPVER}." | ||
14 | HOMEPAGE="http://gstreamer.sourceforge.net/" | ||
15 | |||
16 | # x86_64 specific dependencies | ||
17 | DEPEND_x86_64=">= sys-apps/multiarch-wrapper-1" | ||
18 | SPECIAL_VARS="DEPEND_x86_64" | ||
19 | |||
20 | DEPEND="$(marchdepend) | ||
21 | >= dev-libs/glib2-2.36 | ||
22 | >= dev-libs/libxml2-2.9" | ||
23 | |||
24 | SDEPEND=">= sys-dev/gettext-0.18 | ||
25 | >= dev-util/pkgconfig-0.25 | ||
26 | >= dev-libs/gobject-introspection-1.36" | ||
27 | |||
28 | SRCFILE="${_realPNAME}-${PVER}.tar.xz" | ||
29 | SRCDIR="${BUILDDIR}/${_realPNAME}-${PVER}" | ||
30 | |||
31 | # enable linux32 emulation for x86_64 arches | ||
32 | EMUL_LINUX_32=true | ||
33 | |||
34 | sminclude mbuild mtools multilib | ||
35 | |||
36 | SRC_URI=( | ||
37 | http://gstreamer.freedesktop.org/src/${_realPNAME}/${SRCFILE} | ||
38 | mirror://${_realPNAME}/${SRCFILE} | ||
39 | ) | ||
40 | |||
41 | UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${_realPNAME}/ | grep ${_realPNAME}-${_majorPVER} | lasttarball xz" | ||
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | local myconf | ||
46 | [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi) | ||
47 | |||
48 | # use libexecdir=/usr/$(mlibdir) | ||
49 | # the makefile installes the libexec data into a gstreamer-0.10 dir | ||
50 | # which gets already installed in /usr/$(mlibdir) | ||
51 | mconfigure \ | ||
52 | --libexecdir=/usr/$(mlibdir) \ | ||
53 | --enable-introspection \ | ||
54 | --disable-tests \ | ||
55 | --disable-examples \ | ||
56 | --disable-gtk-doc \ | ||
57 | ${myconf} \ | ||
58 | || die | ||
59 | |||
60 | mmake || die | ||
61 | } | ||
62 | |||
63 | src_install() | ||
64 | { | ||
65 | mmake DESTDIR=${BINDIR} install || die | ||
66 | |||
67 | if [[ ${ARCH} = x86_64 ]] | ||
68 | then | ||
69 | # install multiarch-wrapper | ||
70 | mlink multiarch-wrapper /usr/bin/gst-feedback-${_majorPVER} || die | ||
71 | mlink multiarch-wrapper /usr/bin/gst-inspect-${_majorPVER} || die | ||
72 | mlink multiarch-wrapper /usr/bin/gst-launch-${_majorPVER} || die | ||
73 | mlink multiarch-wrapper /usr/bin/gst-typefind-${_majorPVER} || die | ||
74 | mlink multiarch-wrapper /usr/bin/gst-xmlinspect-${_majorPVER} || die | ||
75 | mlink multiarch-wrapper /usr/bin/gst-xmllaunch-${_majorPVER} || die | ||
76 | mlink multiarch-wrapper /usr/$(mlibdir)/gstreamer-${_majorPVER}/gst-plugin-scanner || die | ||
77 | fi | ||
78 | |||
79 | minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die | ||
80 | } |