summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-06-09 11:41:59 -0700
committerAndy Weidenbaum2015-06-09 11:41:59 -0700
commit6da7364f69f00f48cb6de7e81495dff92b45da2b (patch)
tree9ec166e8543c9ffc46e8afa406cc93bf5ccc7631
downloadaur-6da7364f69f00f48cb6de7e81495dff92b45da2b.tar.gz
Initial import
-rw-r--r--.SRCINFO51
-rw-r--r--PKGBUILD94
-rw-r--r--webcamstudio.install13
-rw-r--r--webcamstudio.sh4
4 files changed, 162 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ec8e783a022
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,51 @@
+pkgbase = webcamstudio-git
+ pkgdesc = Webcam desktop recording suite for producing professional looking broadcasts
+ pkgver = 20150307
+ pkgrel = 1
+ url = https://github.com/WebcamStudio/webcamstudio
+ install = webcamstudio.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = apache-ant
+ makedepends = git
+ depends = clutter-gst
+ depends = farstream
+ depends = ffmpeg
+ depends = gksu
+ depends = gnome-video-effects
+ depends = gnonlin
+ depends = gst-editing-services
+ depends = gst-libav
+ depends = gst-plugins-bad
+ depends = gst-plugins-base
+ depends = gst-plugins-base-libs
+ depends = gst-plugins-good
+ depends = gst-plugins-ugly
+ depends = gstreamer
+ depends = gstreamer0.10
+ depends = gstreamer0.10-bad
+ depends = gstreamer0.10-bad-plugins
+ depends = gstreamer0.10-base
+ depends = gstreamer0.10-base-plugins
+ depends = gstreamer0.10-ffmpeg
+ depends = gstreamer0.10-fluendo
+ depends = gstreamer0.10-gnonlin
+ depends = gstreamer0.10-good
+ depends = gstreamer0.10-good-plugins
+ depends = gstreamer0.10-ugly
+ depends = gstreamer0.10-ugly-plugins
+ depends = java-runtime
+ depends = libnice
+ depends = ttf-ubuntu-font-family
+ depends = v4l2loopback
+ depends = wmctrl
+ provides = webcamstudio
+ conflicts = webcamstudio
+ source = git+https://github.com/WebcamStudio/webcamstudio
+ source = webcamstudio.sh
+ sha256sums = SKIP
+ sha256sums = 903336d75ffb49999bf7a9287a22c3d4382cb59cb073b8005792178b75627d8e
+
+pkgname = webcamstudio-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e64989f1f76
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,94 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+# Contributor: Cyberpunk <apocalipsisfull-2011@outlook.com>
+
+pkgname=webcamstudio-git
+pkgver=20150307
+pkgrel=1
+pkgdesc="Webcam desktop recording suite for producing professional looking broadcasts"
+arch=('i686' 'x86_64')
+depends=('clutter-gst'
+ 'farstream'
+ 'ffmpeg'
+ 'gksu'
+ 'gnome-video-effects'
+ 'gnonlin'
+ 'gst-editing-services'
+ 'gst-libav'
+ 'gst-plugins-bad'
+ 'gst-plugins-base'
+ 'gst-plugins-base-libs'
+ 'gst-plugins-good'
+ 'gst-plugins-ugly'
+ 'gstreamer'
+ 'gstreamer0.10'
+ 'gstreamer0.10-bad'
+ 'gstreamer0.10-bad-plugins'
+ 'gstreamer0.10-base'
+ 'gstreamer0.10-base-plugins'
+ 'gstreamer0.10-ffmpeg'
+ 'gstreamer0.10-fluendo'
+ 'gstreamer0.10-gnonlin'
+ 'gstreamer0.10-good'
+ 'gstreamer0.10-good-plugins'
+ 'gstreamer0.10-ugly'
+ 'gstreamer0.10-ugly-plugins'
+ 'java-runtime'
+ 'libnice'
+ 'ttf-ubuntu-font-family'
+ 'v4l2loopback'
+ 'wmctrl')
+ #'gstreamer0.10-espeak' (doesn't compile)
+makedepends=('apache-ant' 'git')
+url="https://github.com/WebcamStudio/webcamstudio"
+license=('GPL3')
+source=(git+https://github.com/WebcamStudio/webcamstudio
+ webcamstudio.sh)
+sha256sums=('SKIP'
+ '903336d75ffb49999bf7a9287a22c3d4382cb59cb073b8005792178b75627d8e')
+provides=('webcamstudio')
+conflicts=('webcamstudio')
+install=webcamstudio.install
+
+pkgver() {
+ cd ${pkgname%-git}
+ git log -1 --format="%cd" --date=short | sed "s|-||g"
+}
+
+build() {
+ cd ${pkgname%-git}
+
+ msg2 'Building...'
+ ant clean jar
+}
+
+package() {
+ cd ${pkgname%-git}
+
+ msg2 'Installing license...'
+ install -Dm 644 COPYING "$pkgdir/usr/share/licenses/webcamstudio/COPYING"
+
+ msg2 'Installing documentation...'
+ install -dm 755 "$pkgdir/usr/share/doc/webcamstudio"
+ for _doc in docs/* AUTHORS CHANGELOG README TODO; do
+ cp -dpr --no-preserve=ownership $_doc "$pkgdir/usr/share/doc/webcamstudio"
+ done
+
+ msg2 'Installing...'
+ install -dm 755 "$pkgdir/usr/share/webcamstudio/lib"
+ cp -dpr --no-preserve=ownership libraries/* \
+ "$pkgdir/usr/share/webcamstudio/lib"
+ install -Dm 644 dist/WebcamStudio.jar \
+ "$pkgdir/usr/share/webcamstudio/WebcamStudio.jar"
+
+ msg2 'Installing executable...'
+ install -Dm 755 "$srcdir/webcamstudio.sh" "$pkgdir/usr/bin/webcamstudio"
+
+ msg2 'Installing desktop files...'
+ install -Dm 644 debian/webcamstudio.desktop \
+ "$pkgdir/usr/share/applications/webcamstudio.desktop"
+ install -Dm 644 debian/webcamstudio.png \
+ "$pkgdir/usr/share/pixmaps/webcamstudio.png"
+
+ msg2 'Cleaning up pkgdir...'
+ find "$pkgdir" -type d -name .git -exec rm -r '{}' +
+}
diff --git a/webcamstudio.install b/webcamstudio.install
new file mode 100644
index 00000000000..cab8e58a38a
--- /dev/null
+++ b/webcamstudio.install
@@ -0,0 +1,13 @@
+post_install() {
+ printf "%b\n" "$ws4gl"
+}
+
+read -d '' ws4gl <<'EOF'
+WebcamStudio
+============
+
+To use WebcamStudio, you need to have the v4l2loopback kernel module
+loaded first:
+
+ $ modprobe v4l2loopback
+EOF
diff --git a/webcamstudio.sh b/webcamstudio.sh
new file mode 100644
index 00000000000..254421b5187
--- /dev/null
+++ b/webcamstudio.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+pushd /usr/share/webcamstudio > /dev/null \
+ && java -jar WebcamStudio.jar "$@" \
+ && popd > /dev/null