Skip to content

Commit

Permalink
chore(coolvlviewer-experimental): upstream update (v1.29.0.4-1)
Browse files Browse the repository at this point in the history
  • Loading branch information
toastercup committed May 2, 2022
1 parent 2e7bf51 commit d316bb8
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 46 deletions.
78 changes: 37 additions & 41 deletions coolvlviewer-experimental/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Maintainer: GordonGR <[email protected]>
# Maintainer: Alex Tharp <[email protected]>

pkgname=coolvlviewer-experimental
pkgver=1.28.1.9
_pkgver=12819
pkgver=1.29.0.4
_pkgver=12904
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'; built from source)"
url="http://sldev.free.fr"
Expand All @@ -21,51 +21,47 @@ optdepends=(
'lib32-libidn11: for voice support'
'wine: for SLVoice support')
makedepends=("cmake" "bison" "flex" "python2" "make" "bzip2" "glibc" "libx11" "libgl" "libxrender" "libidn" "libxinerama" "lib32-libxinerama")
arch=('i686' 'x86_64')
arch=('x86_64')
conflicts=('coolvlviewer-bin' 'coolvlviewer' 'coolvlviewer-experimental-bin')
install=coolvlviewer.install
source=("http://sldev.free.fr/sources/CoolVLViewer-src-${_pkgver}.tar.bz2"
"coolvlviewer.desktop"
"coolvlviewer.launcher")
md5sums=('6a74ebf8dabfb9d2d1099a68a35fe082'
'3eec811cef6a8186d00adc5200d0f486'
'fd78de1f6c1333a5120ece89873515e0')
sha1sums=('1e70b1760d6f2ea6da25ac2fe4ae4e5d03fcc6e1'
'e294bc6af8df44320d6eddecb57f519146f53238'
'3ef1284a00a4437e4c34f809311ee0672604ef04')

build() {

cd $srcdir/linden/indra
./buildlinux.sh
cd $srcdir/linden
./linux-build.sh
}

package(){
# Install Desktop File
install -D -m644 $srcdir/coolvlviewer.desktop \
$pkgdir/usr/share/applications/coolvlviewer.desktop

# Install Icon File

#$srcdir/linden/indra/viewer-linux-i686-release/newview/CoolVLViewer-i686-$pkgver/

install -D -m755 $srcdir/linden/indra/viewer-linux-i686-release/newview/CoolVLViewer-i686-$pkgver/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/linden/indra/viewer-linux-i686-release/newview/CoolVLViewer-i686-$pkgver/licenses.txt \
$pkgdir/usr/share/licenses/$pkgname/LISENSE

# Move Data to Destination Directory
mv $srcdir/linden/indra/viewer-linux-i686-release/newview/CoolVLViewer-i686-$pkgver/ $srcdir/coolvlviewer
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
package() {
# Install Desktop File
install -D -m644 $srcdir/coolvlviewer.desktop \
$pkgdir/usr/share/applications/coolvlviewer.desktop

# Install Icon File
install -D -m755 $srcdir/linden/indra/viewer-linux-x86_64-release/newview/CoolVLViewer-x86_64-$pkgver/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/linden/indra/viewer-linux-x86_64-release/newview/CoolVLViewer-x86_64-$pkgver/licenses.txt \
$pkgdir/usr/share/licenses/$pkgname/LISENSE

# Move Data to Destination Directory
mv $srcdir/linden/indra/viewer-linux-x86_64-release/newview/CoolVLViewer-x86_64-$pkgver/ $srcdir/coolvlviewer
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
}
2 changes: 1 addition & 1 deletion coolvlviewer-experimental/coolvlviewer.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Cool VL Viewer v1.28.1
Name=Cool VL Viewer
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
Expand Down
6 changes: 2 additions & 4 deletions coolvlviewer-experimental/coolvlviewer.install
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
post_install() {
echo ">>> The version of settings file is:"
echo ">>> ~/.secondlife/user_settings/settings_coolvlviewer_1281.xml."
echo ">>> ~/.secondlife/user_settings/settings_coolvlviewer_1290.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."
Expand All @@ -9,8 +9,6 @@ echo ">>> To use SLVoice, please make sure Wine is installed on your system and

post_upgrade() {
echo ">>> New version of settings file is:"
echo ">>> ~/.secondlife/user_settings/settings_coolvlviewer_1281.xml."
echo ">>> ~/.secondlife/user_settings/settings_coolvlviewer_1290.xml."
echo ">>> To use SLVoice, please make sure Wine is installed on your system and then simply run the script "install-wine-SLVoice.sh" to setup everything for the viewer."
}


0 comments on commit d316bb8

Please sign in to comment.