[arch-commits] Commit in (3 files)
Jan de Groot
jgc at archlinux.org
Sat Sep 22 08:24:25 UTC 2012
Date: Saturday, September 22, 2012 @ 04:24:25
Author: jgc
Revision: 166918
Add new package for gstreamer 1.0. This will be the only package that keeps the splitup in libs/plugins, all others are packaged as single package from now on
Added:
gst-plugins-base/
gst-plugins-base/trunk/
gst-plugins-base/trunk/PKGBUILD
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Added: gst-plugins-base/trunk/PKGBUILD
===================================================================
--- gst-plugins-base/trunk/PKGBUILD (rev 0)
+++ gst-plugins-base/trunk/PKGBUILD 2012-09-22 08:24:25 UTC (rev 166918)
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 153256 2012-03-12 15:48:30Z jgc $
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gst-plugins-base
+pkgname=('gst-plugins-base-libs' 'gst-plugins-base')
+pkgver=0.11.99
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
+options=(!libtool !emptydirs)
+url="http://gstreamer.freedesktop.org/"
+source=(${url}/src/$pkgbase/$pkgbase-${pkgver}.tar.xz)
+sha256sums=('b0317b1e33a22fe4daf911c4996c194690fc207e5044f38de570b1cd202cab7e')
+
+build() {
+ cd "${srcdir}/$pkgbase-${pkgver}"
+ sed -i '/AC_PATH_XTRA/d' configure.ac
+ autoreconf
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --enable-experimental \
+ --with-package-name="GStreamer Base Plugins (Archlinux)" \
+ --with-package-origin="http://www.archlinux.org/"
+
+ make
+ sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
+}
+
+check() {
+ cd "${srcdir}/gst-plugins-base-${pkgver}"
+ # Testsuite fails on one test. Some refcount leak
+ #make check
+}
+
+package_gst-plugins-base-libs() {
+ pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
+ depends=('gstreamer' 'orc' 'libxv')
+
+ cd "${srcdir}/$pkgbase-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_gst-plugins-base() {
+ pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
+ depends=("gst-plugins-base-libs=$pkgver" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
+
+ cd "${srcdir}/$pkgbase-${pkgver}"
+ make -C gst-libs DESTDIR="${pkgdir}" install
+ make -C ext DESTDIR="${pkgdir}" install
+ make -C gst-libs DESTDIR="${pkgdir}" uninstall
+}
More information about the arch-commits
mailing list