summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO40
-rw-r--r--PKGBUILD64
-rw-r--r--coolvlviewer.desktop10
-rw-r--r--coolvlviewer.install26
-rw-r--r--coolvlviewer.launcher5
5 files changed, 145 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..43ba87ba8b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,40 @@
+# Generated by mksrcinfo v8
+# Sat Oct 1 14:10:47 UTC 2016
+pkgbase = coolvlviewer-experimental-bin
+ pkgdesc = A third-party viewer for Second Life (C) (secondlife) and OpenSim (opensimulator) grids. ('VL' stands for virtual life, formerly known as 'Cool SL Viewer')
+ pkgver = 1.26.19.28
+ pkgrel = 1
+ url = http://sldev.free.fr
+ install = coolvlviewer.install
+ arch = x86_64
+ license = custom
+ depends = apr-util
+ depends = glib2>=2.32
+ depends = libgl
+ depends = libidn
+ depends = libjpeg-turbo
+ depends = mesa
+ depends = nss
+ depends = sdl
+ depends = glu
+ depends = pangox-compat
+ optdepends = libpulse: for PulseAudio support
+ optdepends = alsa-lib: for ALSA support
+ optdepends = nvidia-utils: for NVIDIA support
+ optdepends = pepper-flash: for inworld Flash support
+ optdepends = gst-plugins-good: for video support
+ optdepends = gst-plugins-bad: for video support
+ optdepends = gst-plugins-ugly: for video support
+ optdepends = lib32-freealut: for OpenAL support
+ conflicts = coolvlviewer
+ conflicts = coolvlviewer-bin
+ conflicts = coolvlviewer-experimental
+ source = http://sldev.free.fr/binaries/CoolVLViewer-1.26.19.28-Linux-x86_64-Setup
+ source = coolvlviewer.desktop
+ source = coolvlviewer.launcher
+ md5sums = 6b544060eb9c26b5893761e2b1126ba4
+ md5sums = 073b86481c3ec30da0325c495f39df85
+ md5sums = fd78de1f6c1333a5120ece89873515e0
+
+pkgname = coolvlviewer-experimental-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4f4a008793f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,64 @@
+# Maintainer: GordonGR <ntheo1979@gmail.com>
+
+pkgname=coolvlviewer-experimental-bin
+pkgver=1.26.19.28
+pkgrel=1
+pkgdesc="A third-party viewer for Second Life (C) (secondlife) and OpenSim (opensimulator) grids. ('VL' stands for virtual life, formerly known as 'Cool SL Viewer')"
+url="http://sldev.free.fr"
+license=('custom')
+depends=('apr-util' 'glib2>=2.32' 'libgl' 'libidn' 'libjpeg-turbo' 'mesa' 'nss' 'sdl' 'glu' 'pangox-compat')
+optdepends=(
+ 'libpulse: for PulseAudio support'
+ 'alsa-lib: for ALSA support'
+ 'nvidia-utils: for NVIDIA support'
+ 'pepper-flash: for inworld Flash support'
+ 'gst-plugins-good: for video support'
+ 'gst-plugins-bad: for video support'
+ 'gst-plugins-ugly: for video support'
+ 'lib32-freealut: for OpenAL support')
+arch=('x86_64')
+conflicts=('coolvlviewer' 'coolvlviewer-bin' 'coolvlviewer-experimental')
+install=coolvlviewer.install
+source=("http://sldev.free.fr/binaries/CoolVLViewer-${pkgver}-Linux-x86_64-Setup"
+ "coolvlviewer.desktop"
+ "coolvlviewer.launcher")
+md5sums=('6b544060eb9c26b5893761e2b1126ba4'
+ '073b86481c3ec30da0325c495f39df85'
+ 'fd78de1f6c1333a5120ece89873515e0')
+
+build() {
+cd $srcdir
+# Run the installer
+chmod +x CoolVLViewer-${pkgver}-Linux-x86_64-Setup
+./CoolVLViewer-${pkgver}-Linux-x86_64-Setup --mode silent --destination $srcdir/coolvlviewer/
+}
+
+package(){
+# Install Desktop File
+install -D -m644 $srcdir/coolvlviewer.desktop \
+ $pkgdir/usr/share/applications/coolvlviewer.desktop
+
+# Install Icon File
+install -D -m755 $srcdir/coolvlviewer/cvlv_icon.png \
+ $pkgdir/usr/share/pixmaps/clvl_icon.png
+
+# Install Launcher
+install -D -m755 $srcdir/../coolvlviewer.launcher \
+ $pkgdir/usr/bin/coolvlviewer
+
+# Install License
+install -D -m644 $srcdir/coolvlviewer/licenses.txt \
+ $pkgdir/usr/share/licenses/$pkgname/LISENSE
+
+# Move Data to Destination Directory
+install -d $pkgdir/opt/
+mv coolvlviewer/ $pkgdir/opt/
+
+# Change Permissions of files to root:games
+chown -R root:games $pkgdir/opt/coolvlviewer
+chmod -R g+rw $pkgdir/opt/coolvlviewer
+
+# Make Binary Group-Executable
+chmod g+x $pkgdir/opt/coolvlviewer/cool_vl_viewer
+
+}
diff --git a/coolvlviewer.desktop b/coolvlviewer.desktop
new file mode 100644
index 00000000000..4a860bd18ee
--- /dev/null
+++ b/coolvlviewer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Cool VL Viewer v1.26.19
+GenericName=A third-party viewer for Second Life (C) and OpenSim grids
+Comment=A third-party viewer for Second Life (C) and OpenSim grids
+Exec=/usr/bin/coolvlviewer
+Icon=/opt/coolvlviewer/cvlv_icon.png
+Terminal=false
+Categories=Game
diff --git a/coolvlviewer.install b/coolvlviewer.install
new file mode 100644
index 00000000000..2bee0ccd739
--- /dev/null
+++ b/coolvlviewer.install
@@ -0,0 +1,26 @@
+post_install() {
+echo ">> New way of selecting sound backend:"
+echo ">> Use the AudioDisableFMODEx, AudioDisableOpenAL, MODExDisableALSA,"
+echo ">> FMODExDisableOSS or FMODExDisablePulseAudio"
+echo ">> Debug Settings."
+echo ">>> The version of settings file is:"
+echo ">>> ~/.secondlife/user_settings/settings_coolvlviewer_12619.xml."
+echo ">>> You must also add your user to the 'games' group."
+echo ">>> # gpasswd -a USERNAME games"
+echo ">>> Remember to logout and log back in for the changes to take effect."
+}
+
+#post_upgrade() {
+#echo ">> New way of selecting sound backend:"
+#echo ">> Use the AudioDisableFMODEx, AudioDisableOpenAL, MODExDisableALSA,"
+#echo ">> FMODExDisableOSS or FMODExDisablePulseAudio"
+#echo ">> Debug Settings."
+
+#echo ">>> New version of settings file is:"
+#echo ">>> ~/.secondlife/user_settings/settings_coolvlviewer_12619.xml."
+#}
+
+op=$1
+shift
+
+$op $*
diff --git a/coolvlviewer.launcher b/coolvlviewer.launcher
new file mode 100644
index 00000000000..798d3a04586
--- /dev/null
+++ b/coolvlviewer.launcher
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd "/opt/coolvlviewer/"
+./cool_vl_viewer $*
+exit $?