[arch-commits] Commit in gstreamer0.10-base/repos (extra-i686 extra-i686/PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Aug 25 18:25:29 UTC 2009


    Date: Tuesday, August 25, 2009 @ 14:25:29
  Author: jgc
Revision: 50349

Merged revisions 50331,50333 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/gstreamer0.10-base/trunk

........
  r50331 | jgc | 2009-08-25 16:43:42 +0200 (Tue, 25 Aug 2009) | 1 line
  
  Update to 0.10.24 - build both packages in one PKGBUILD
........
  r50333 | jgc | 2009-08-25 17:01:42 +0200 (Tue, 25 Aug 2009) | 1 line
  
  Add the plugins package to the gstreamer0.10-plugins group
........

Modified:
  gstreamer0.10-base/repos/extra-i686/	(properties)
  gstreamer0.10-base/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++------------
 1 file changed, 31 insertions(+), 12 deletions(-)


Property changes on: gstreamer0.10-base/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /gstreamer0.10-base/trunk:1-39379
   + /gstreamer0.10-base/trunk:1-50348

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-08-25 18:16:54 UTC (rev 50348)
+++ extra-i686/PKGBUILD	2009-08-25 18:25:29 UTC (rev 50349)
@@ -1,27 +1,46 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
-pkgname=gstreamer0.10-base
-pkgver=0.10.23
+pkgbase=('gstreamer0.10-base')
+pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
+pkgver=0.10.24
 pkgrel=1
-pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
 arch=(i686 x86_64)
-license=('GPL' 'LGPL')
-depends=('gstreamer0.10>=0.10.23' 'liboil>=0.3.16' 'libsm' 'libxv')
-makedepends=('pkgconfig')
-options=(!libtool)
+license=('LGPL')
+makedepends=('pkgconfig' 'gstreamer0.10>=0.10.24' 'liboil>=0.3.16' 'libsm' 'libxv' 'alsa-lib>=1.0.20' 'cdparanoia>=10.2' 'libvisual>=0.4.0' 'libvorbis>=1.2.1rc1' 'libtheora>=1.0' 'pango>=1.24.5' 'udev>=145')
+options=(!libtool !emptydirs)
 url="http://gstreamer.freedesktop.org/"
-_relname=gst-plugins-base
-source=(${url}/src/${_relname}/${_relname}-${pkgver}.tar.bz2)
-md5sums=('641cc7def2d8667b9b4df15e69dba25f')
+source=(${url}/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.bz2)
+md5sums=('a3ec977c9c6602caacc2d3a7c12a17bf')
 
 build() {
-  cd "${srcdir}/${_relname}-${pkgver}"
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-static --enable-experimental --disable-external \
+    --disable-static --enable-experimental --disable-gnome_vfs \
     --with-package-name="GStreamer Base Plugins (Archlinux)" \
     --with-package-origin="http://www.archlinux.org/" || return 1
 
   make || return 1
+  sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile || return 1
+}
+
+package_gstreamer0.10-base() {
+  pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
+  depends=('gstreamer0.10>=0.10.24' 'liboil>=0.3.16' 'libsm' 'libxv' 'udev>=145')
+
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
   make DESTDIR="${pkgdir}" install || return 1
 }
+
+package_gstreamer0.10-base-plugins() {
+  pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
+  depends=("gstreamer0.10-base=${pkgver}" 'alsa-lib>=1.0.20' 'cdparanoia>=10.2' 'libvisual>=0.4.0' 'libvorbis>=1.2.1rc1' 'libtheora>=1.0' 'pango>=1.24.5')
+  replaces=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
+  conflicts=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
+  groups=('gstreamer0.10-plugins')
+
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make -C gst-libs DESTDIR="${pkgdir}" install || return 1
+  make -C ext DESTDIR="${pkgdir}" install || return 1
+  make -C gst-libs DESTDIR="${pkgdir}" uninstall || return 1
+}




More information about the arch-commits mailing list