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