[arch-commits] Commit in gstreamer/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Oct 9 11:30:20 UTC 2016


    Date: Sunday, October 9, 2016 @ 11:30:19
  Author: heftig
Revision: 277953

1.9.90+6+gd02e1d7-1

Modified:
  gstreamer/trunk/PKGBUILD

----------+
 PKGBUILD |   40 +++++++++++++++++++++++++++++-----------
 1 file changed, 29 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-09 11:10:13 UTC (rev 277952)
+++ PKGBUILD	2016-10-09 11:30:19 UTC (rev 277953)
@@ -2,19 +2,37 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gstreamer
-pkgver=1.8.3
+pkgver=1.9.90+6+gd02e1d7
 pkgrel=1
 pkgdesc="GStreamer Multimedia Framework"
-arch=('i686' 'x86_64')
-license=('LGPL')
 url="https://gstreamer.freedesktop.org/"
-depends=('libxml2' 'glib2')
-makedepends=('intltool' 'pkgconfig' 'gtk-doc' 'gobject-introspection')
-source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.xz)
-sha256sums=('66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f')
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(libxml2 glib2)
+makedepends=(intltool pkgconfig gtk-doc gobject-introspection autoconf-archive git)
+_commit=d02e1d7f7d3c0dcb8fd707614c180614cbf6ea02  # master
+source=("git://anongit.freedesktop.org/gstreamer/gstreamer#commit=$_commit"
+        "gst-common::git://anongit.freedesktop.org/gstreamer/common")
+sha256sums=('SKIP'
+            'SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.common.url "$srcdir/gst-common"
+  git submodule update
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd "${srcdir}/gstreamer-${pkgver}"
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
     --with-package-name="GStreamer (Arch Linux)" \
     --with-package-origin="http://www.archlinux.org/" \
@@ -27,11 +45,11 @@
 }
 
 check() {
-  cd "${srcdir}/gstreamer-${pkgver}"
+  cd $pkgname
   make check
 }
 
 package() {
-  cd "${srcdir}/gstreamer-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list