summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD38
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..41c3e7f6c0f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+# Generated by mksrcinfo v8
+# Sat Apr 1 19:09:21 UTC 2017
+pkgbase = gnome-twitch-player-backend-gstreamer-clutter-git
+ pkgdesc = GStreamer Clutter (hardware rendering) player backend for GNOME Twitch
+ pkgver = r1010.e74f175
+ pkgrel = 1
+ url = https://github.com/vinszent/gnome-twitch
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = meson
+ depends = gnome-twitch-git
+ depends = gtk3
+ depends = gstreamer
+ depends = gst-libav
+ depends = gst-plugins-base
+ depends = gst-plugins-good
+ depends = gst-plugins-bad
+ depends = libpeas
+ depends = gobject-introspection
+ depends = clutter-gst
+ depends = clutter-gtk
+ conflicts = gnome-twitch-player-backend-gstreamer-clutter
+ source = gnome-twitch-player-backend-gstreamer-clutter-git::git+https://github.com/vinszent/gnome-twitch.git
+ md5sums = SKIP
+
+pkgname = gnome-twitch-player-backend-gstreamer-clutter-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..68b7d43f2fd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: vinszent <vinszent@vinszent.com>
+
+pkgname=gnome-twitch-player-backend-gstreamer-clutter-git
+pkgver=r1010.e74f175
+pkgrel=1
+pkgdesc="GStreamer Clutter (hardware rendering) player backend for GNOME Twitch"
+arch=('i686' 'x86_64')
+url="https://github.com/vinszent/gnome-twitch"
+license=('GPL3')
+makedepends=('git' 'meson')
+depends=('gnome-twitch-git' 'gtk3' 'gstreamer' 'gst-libav' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'libpeas' 'gobject-introspection' 'clutter-gst' 'clutter-gtk')
+source=("$pkgname::git+https://github.com/vinszent/gnome-twitch.git")
+md5sums=('SKIP')
+conflicts=('gnome-twitch-player-backend-gstreamer-clutter')
+
+pkgver()
+{
+ cd "${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build()
+{
+ cd "${pkgname}"
+ rm -rf build
+ mkdir build
+ cd build
+ meson --prefix /usr --libdir lib --buildtype release \
+ -Dbuild-executable=false \
+ -Dbuild-player-backends=gstreamer-clutter ..
+ ninja
+}
+
+package()
+{
+ cd "${pkgname}/build"
+ DESTDIR="$pkgdir" ninja install
+}