Magellan Linux

Diff of /branches/magellan-next/core/gstreamer/gstreamer-0.10.35-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9346 by niro, Sun Nov 27 15:37:44 2011 UTC revision 9347 by niro, Sun Nov 27 19:11:44 2011 UTC
# Line 9  PCATEGORIE="media-libs" Line 9  PCATEGORIE="media-libs"
9  DESCRIPTION="Streaming media framework."  DESCRIPTION="Streaming media framework."
10  HOMEPAGE="http://gstreamer.sourceforge.net/"  HOMEPAGE="http://gstreamer.sourceforge.net/"
11    
12  DEPEND=">= dev-libs/glib2-2.28  # 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   >= dev-libs/libxml2-2.7
19   >= dev-libs/gobject-introspection-0.10"   >= dev-libs/gobject-introspection-0.10"
20    
# Line 19  SDEPEND=">= sys-dev/gettext-0.18 Line 24  SDEPEND=">= sys-dev/gettext-0.18
24  SRCFILE="${PNAME}-${PVER}.tar.bz2"  SRCFILE="${PNAME}-${PVER}.tar.bz2"
25  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26    
27    # enable linux32 emulation for x86_64 arches
28    EMUL_LINUX_32=true
29    
30  sminclude mbuild multilib  sminclude mbuild multilib
31    
32  SRC_URI=(  SRC_URI=(
# Line 30  UP2DATE="updatecmd http://gstreamer.free Line 38  UP2DATE="updatecmd http://gstreamer.free
38    
39  src_compile()  src_compile()
40  {  {
41     local myconf
42     [[ ${ARCH} = x86_64 ]] && myconf=--program-suffix=-$(mabi)
43    
44   # use libexecdir=/usr/$(mlibdir)   # use libexecdir=/usr/$(mlibdir)
45   # the makefile installes the libexec data into a gstreamer-0.10 dir   # the makefile installes the libexec data into a gstreamer-0.10 dir
46   # which gets already installed in /usr/$(mlibdir)   # which gets already installed in /usr/$(mlibdir)
# Line 40  src_compile() Line 51  src_compile()
51   --disable-tests  \   --disable-tests  \
52   --disable-examples \   --disable-examples \
53   --disable-gtk-doc \   --disable-gtk-doc \
54     ${myconf} \
55   || die   || die
56    
57   mmake || die   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 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    }

Legend:
Removed from v.9346  
changed lines
  Added in v.9347