summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/gstreamer/PKGBUILD53
-rw-r--r--abs/extra/gstreamer/__changelog1
-rw-r--r--abs/extra/gstreamer/gstreamer.install7
3 files changed, 45 insertions, 16 deletions
diff --git a/abs/extra/gstreamer/PKGBUILD b/abs/extra/gstreamer/PKGBUILD
index 789950b..9c77856 100644
--- a/abs/extra/gstreamer/PKGBUILD
+++ b/abs/extra/gstreamer/PKGBUILD
@@ -1,25 +1,46 @@
# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gstreamer
-pkgver=1.2.1
+pkgver=1.12.4
pkgrel=1
-pkgdesc="GStreamer Multimedia Framework"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://gstreamer.freedesktop.org/"
-depends=('libxml2' 'glib2')
-optdepends=('sh: feedback script')
-makedepends=('intltool' 'pkgconfig' 'gtk-doc' 'gobject-introspection')
-source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.xz)
-sha256sums=('a4523d2471bca6cd0059a32e3b042f50faa4dadc6439852af8b43ca3f17d1fc9')
+pkgdesc="GStreamer open-source multimedia framework core library"
+url="https://gstreamer.freedesktop.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(libxml2 glib2 libunwind libcap libelf)
+makedepends=(intltool pkgconfig gtk-doc gobject-introspection autoconf-archive git
+ valgrind bash-completion)
+checkdepends=(gmp gsl gtk3)
+_commit=505a24ff6843a04e4f75c5e03caa7b2774806fc3 # tags/1.12.4^0
+install=gstreamer.install
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit"
+ "gst-common::git+https://anongit.freedesktop.org/git/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/" \
- --enable-gtk-doc --disable-static
+ --with-package-origin="https://www.archlinux.org/" \
+ --disable-static
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -28,11 +49,11 @@ build() {
}
check() {
- cd "${srcdir}/gstreamer-${pkgver}"
+ cd $pkgname
make check
}
package() {
- cd "${srcdir}/gstreamer-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
}
diff --git a/abs/extra/gstreamer/__changelog b/abs/extra/gstreamer/__changelog
new file mode 100644
index 0000000..d311033
--- /dev/null
+++ b/abs/extra/gstreamer/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove --enable-gtk-doc
diff --git a/abs/extra/gstreamer/gstreamer.install b/abs/extra/gstreamer/gstreamer.install
new file mode 100644
index 0000000..7a0bcf0
--- /dev/null
+++ b/abs/extra/gstreamer/gstreamer.install
@@ -0,0 +1,7 @@
+post_install() {
+ setcap cap_net_bind_service,cap_net_admin+ep usr/lib/gstreamer-1.0/gst-ptp-helper
+}
+
+post_upgrade() {
+ post_install
+}