Magellan Linux

Contents of /smage/trunk/deprecated/gstreamer1.0-plugins-base/gstreamer1.0-plugins-base-1.12.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11104 - (show annotations) (download)
Fri Sep 8 11:53:15 2017 UTC (7 years, 2 months ago) by niro
File size: 2528 byte(s)
-moved to 'deprecated'
1 # $Id$
2
3 PVER="1.12.2"
4 _realPNAME="gst-plugins-base"
5 _majorPVER="1.0"
6
7 PNAME="gstreamer${_majorPVER}-plugins-base"
8 PBUILD="r1"
9
10 PCAT="media-libs"
11
12 DESCRIPTION="Basic plugins for gstreamer${_majorPVER}."
13 HOMEPAGE="http://gstreamer.sourceforge.net"
14
15 DEPEND="== media-libs/gstreamer${_majorPVER}-${_realPVER}
16 >= dev-libs/glib2-2.46
17 >= dev-libs/liborc-0.4.23
18 >= media-libs/alsa-lib-1.1
19 >= media-libs/libogg-1.3
20 >= media-libs/libvorbis-1.3
21 >= sys-libs/zlib-1.2.8
22 >= x11-libs/cairo-1.14
23 >= x11-libs/libICE-1
24 >= x11-libs/libSM-1.2
25 >= x11-libs/libX11-1.6
26 >= x11-libs/libXext-1.3
27 >= x11-libs/pango-1.36"
28 #>= media-sound/cdparanoia-3.10
29 #>= media-libs/libtheora-1.1
30 #>= media-libs/libvisual-0.4
31 #>= x11-libs/libXv-1
32
33 ALX_DEV_DEPEND=">= dev-libs/glib2-dev-2.46
34 >= dev-libs/liborc-0.4.23
35 >= media-libs/alsa-lib-dev-1.1
36 >= media-libs/libogg-dev-1.3
37 >= media-libs/libvorbis-dev-1.3
38 >= sys-libs/zlib-dev-1.2.8
39 >= x11-libs/cairo-dev-1.14
40 >= x11-libs/libICE-dev-1
41 >= x11-libs/libSM-dev-1.2
42 >= x11-libs/libX11-dev-1.6
43 >= x11-libs/libXext-dev-1.3
44 >= x11-libs/pango-dev-1.36"
45
46 SDEPEND=">= sys-dev/gettext-0.18
47 >= dev-util/pkgconfig-0.25
48 >= dev-lang/orc-0.4.23
49 ${ALX_DEV_DEPEND}"
50
51 SRCFILE="${_realPNAME}-${PVER}.tar.xz"
52 SRCDIR="${BUILDDIR}/${_realPNAME}-${PVER}"
53
54 sminclude mbuild multilib
55 msetfeature "!check"
56
57 SRC_URI=(
58 http://gstreamer.freedesktop.org/src/${_realPNAME}/${SRCFILE}
59 mirror://${_realPNAME}/${SRCFILE}
60 )
61
62 UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${_realPNAME}/ | grep ${_realPNAME}-${_majorPVER%.*} | lasttarball xz"
63
64 src_compile()
65 {
66 mconfigure \
67 --disable-introspection \
68 --disable-audiotestsrc \
69 --disable-videotestsrc \
70 --disable-oggtest \
71 --disable-vorbistest \
72 --disable-freetypetest \
73 --disable-examples \
74 || die
75
76 mmake || die
77 }
78
79 src_install()
80 {
81 local executables
82 local i
83
84 if [[ ${ARCH} = x86_64 ]]
85 then
86 executables="gst-device-monitor gst-discoverer gst-play"
87
88 # m32
89 MULTILIB_ONLY_ABI=m32 mmake DESTDIR=${BINDIR} install || die
90 for i in ${executables}
91 do
92 mv ${BINDIR}/usr/bin/${i}-${_majorPVER}{,-m32} || die
93 done
94 # m64
95 MULTILIB_ONLY_ABI=m64 mmake DESTDIR=${BINDIR} install || die
96 for i in ${executables}
97 do
98 mv ${BINDIR}/usr/bin/${i}-${_majorPVER}{,-m64} || die
99 done
100 # install multiarch-wrapper
101 for i in ${executables}
102 do
103 mlink multiarch-wrapper /usr/bin/${i}-${_majorPVER} || die
104 done
105 else
106 mmake DESTDIR=${BINDIR} install || die
107 fi
108
109 minstalldocs AUTHORS CONTRIBUTORS COPYING* ChangeLog NEWS README TODO || die
110 }
111