summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle André Vadla Ravnås2017-11-09 19:57:32 +0100
committerOle André Vadla Ravnås2017-11-09 20:00:38 +0100
commitd8eb51f042d0b594a858d1c94a2e39f91278b732 (patch)
treec5ceb2b85c0e8dc9d6cafbc376c3a66e9902fed9
downloadaur-d8eb51f042d0b594a858d1c94a2e39f91278b732.tar.gz
Initial commit
-rw-r--r--.SRCINFO51
-rw-r--r--PKGBUILD80
2 files changed, 131 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b47714e511b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,51 @@
+pkgbase = gst-plugins-base-oleavr
+ pkgdesc = GStreamer Multimedia Framework Base Plugins
+ pkgver = 1.12.0.r218.gb9aaa7f4f
+ pkgrel = 1
+ url = https://gstreamer.freedesktop.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ checkdepends = gtk3
+ checkdepends = qt5-base
+ makedepends = gstreamer
+ makedepends = orc
+ makedepends = libxv
+ makedepends = iso-codes
+ makedepends = alsa-lib
+ makedepends = cdparanoia
+ makedepends = libvisual
+ makedepends = libvorbis
+ makedepends = libtheora
+ makedepends = pango
+ makedepends = opus
+ makedepends = gobject-introspection
+ makedepends = gtk-doc
+ makedepends = autoconf-archive
+ makedepends = git
+ makedepends = pkgconfig
+ provides = gst-plugins-base
+ conflicts = gst-plugins-base
+ options = !emptydirs
+ source = git+https://github.com/oleavr/gst-plugins-base
+ source = gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = gst-plugins-base-libs-oleavr
+ pkgdesc = GStreamer Multimedia Framework Base Plugin libraries
+ depends = gstreamer
+ depends = orc
+ depends = libxv
+ depends = iso-codes
+
+pkgname = gst-plugins-base-oleavr
+ depends = gst-plugins-base-libs-oleavr=1.12.0.r218.gb9aaa7f4f
+ depends = alsa-lib
+ depends = cdparanoia
+ depends = libvisual
+ depends = libvorbis
+ depends = libtheora
+ depends = pango
+ depends = opus
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..98d1607ec34
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Ole André Vadla Ravnås <oleavr@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+_name=gst-plugins-base
+pkgbase=gst-plugins-base-oleavr
+pkgname=(gst-plugins-base-libs-oleavr gst-plugins-base-oleavr)
+pkgver=1.12.0.r218.gb9aaa7f4f
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework Base Plugins"
+url="https://gstreamer.freedesktop.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+makedepends=(gstreamer orc libxv iso-codes alsa-lib cdparanoia libvisual libvorbis libtheora pango
+ opus gobject-introspection gtk-doc autoconf-archive git pkgconfig)
+checkdepends=(gtk3 qt5-base)
+options=(!emptydirs)
+source=("git+https://github.com/oleavr/gst-plugins-base"
+ "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
+sha256sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd "$srcdir/$_name"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "$srcdir/$_name"
+
+ git submodule init
+ git config --local submodule.common.url "$srcdir/gst-common"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "$srcdir/$_name"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --with-package-name="GStreamer Base Plugins (Arch Linux)" \
+ --with-package-origin="https://www.archlinux.org/" \
+ --disable-fatal-warnings \
+ --enable-experimental --enable-gtk-doc --disable-static
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+
+ sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
+}
+
+check() {
+ cd "$srcdir/$_name"
+ make check
+}
+
+package_gst-plugins-base-libs-oleavr() {
+ pkgdesc="GStreamer Multimedia Framework Base Plugin libraries"
+ depends=(gstreamer orc libxv iso-codes)
+ provides=("$_name-libs")
+ conflicts=("$_name-libs")
+
+ cd "$srcdir/$_name"
+ make DESTDIR="$pkgdir" install
+}
+
+package_gst-plugins-base-oleavr() {
+ depends=("gst-plugins-base-libs-oleavr=$pkgver" alsa-lib cdparanoia libvisual libvorbis
+ libtheora pango opus)
+ provides=("$_name")
+ conflicts=("$_name")
+
+ cd "$srcdir/$_name"
+ make -C gst-libs DESTDIR="$pkgdir" install
+ make -C ext DESTDIR="$pkgdir" install
+ make -C gst-libs DESTDIR="$pkgdir" uninstall
+}