summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy Engel2015-06-13 18:03:27 -0500
committerTroy Engel2015-06-13 18:03:27 -0500
commit1bd73c36bae5477dcd98568cee18d199185b1aab (patch)
tree57c14082334cb432bd864c4d4f5a72a9dfd79107
downloadaur-1bd73c36bae5477dcd98568cee18d199185b1aab.tar.gz
Initial import
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD34
-rw-r--r--vidyodesktop.install24
3 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c90aae0c528
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = vidyodesktop
+ pkgdesc = VidyoDesktop(TM) video conferencing client
+ pkgver = 3.3.0.127
+ pkgrel = 1
+ url = http://www.vidyo.com
+ install = vidyodesktop.install
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = alsa-lib
+ depends = libidn
+ depends = libutil-linux
+ depends = libxv
+ depends = libgl
+ depends = glu
+ depends = glibc
+ depends = libxfixes
+ depends = libxrandr
+ depends = libxss
+ depends = glib2
+ depends = libsm
+ depends = libice
+ depends = libxrender
+ depends = fontconfig
+ depends = freetype2
+ depends = libxext
+ depends = libx11
+ depends = libffi
+ depends = gcc-libs
+ depends = zlib
+ depends = libpng
+ depends = zenity
+ optdepends = flashplugin: Join meetings via web browser
+ conflicts = vidyo
+ options = emptydirs
+
+pkgname = vidyodesktop
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..53055c49d5e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Troy Engel <troyengel+arch@gmail.com>
+
+pkgname=vidyodesktop
+pkgver=3.3.0.127
+pkgrel=1
+pkgdesc="VidyoDesktop(TM) video conferencing client"
+arch=('i686' 'x86_64')
+url="http://www.vidyo.com"
+license=('custom')
+install=vidyodesktop.install
+options=('emptydirs')
+conflicts=('vidyo')
+depends=('alsa-lib' 'libidn' 'libutil-linux' 'libxv' 'libgl' 'glu'
+ 'glibc' 'libxfixes' 'libxrandr' 'libxss' 'glib2' 'libsm' 'libice'
+ 'libxrender' 'fontconfig' 'freetype2' 'libxext' 'libx11' 'libffi'
+ 'gcc-libs' 'zlib' 'libpng' 'zenity')
+optdepends=('flashplugin: Join meetings via web browser')
+
+if [ "$CARCH" == "i686" ]; then
+ source=("https://demo.vidyo.com/upload/VidyoDesktopInstaller-sl5-TAG_VD_3_3_0_127.rpm")
+ md5sums=('844ea251d103ed43245f0a93ffb724f5')
+elif [ "$CARCH" == "x86_64" ]; then
+ source=("https://demo.vidyo.com/upload/VidyoDesktopInstaller-sl564-TAG_VD_3_3_0_127.rpm")
+ md5sums=('3580e0889df72482b089c4fa59fb2de4')
+fi
+
+package() {
+ cp -dpr "${srcdir}/opt" "${pkgdir}"
+ cp -dpr "${srcdir}/usr" "${pkgdir}"
+ install -dm1777 "${pkgdir}/opt/vidyo/VidyoDesktop/lic"
+ install -Dm0644 "${pkgdir}/opt/vidyo/VidyoDesktop/license.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
diff --git a/vidyodesktop.install b/vidyodesktop.install
new file mode 100644
index 00000000000..25babe88765
--- /dev/null
+++ b/vidyodesktop.install
@@ -0,0 +1,24 @@
+
+pre_install() {
+ if test -f /opt/vidyo/VidyoDesktop/VidyoDesktop ; then
+ killall VidyoDesktop 2>/dev/null
+ sleep 1
+ fi
+}
+
+post_install() {
+ if test ! -f /usr/bin/pulseaudio ; then
+ echo "Pulseaudio not detected - you may need to manually enable ALSA:"
+ echo " export VIDYO_AUDIO_FRAMEWORK=ALSA"
+ fi
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+pre_remove() {
+ pre_install
+ rm -f /opt/vidyo/VidyoDesktop/lic/* 2>/dev/null
+}
+