From 61319525458520ddb912c99f4ea8ce108bdb92fa Mon Sep 17 00:00:00 2001 From: Alex Tharp Date: Sat, 28 Nov 2020 20:31:58 -0500 Subject: [PATCH] feat(firestorm-beta-bin): initial structure --- README.md | 1 + firestorm-beta-bin/PKGBUILD | 70 +++++++++++++++++++++++++++ firestorm-beta-bin/firestorm.desktop | 9 ++++ firestorm-beta-bin/firestorm.install | 8 +++ firestorm-beta-bin/firestorm.launcher | 5 ++ 5 files changed, 93 insertions(+) create mode 100644 firestorm-beta-bin/PKGBUILD create mode 100644 firestorm-beta-bin/firestorm.desktop create mode 100644 firestorm-beta-bin/firestorm.install create mode 100755 firestorm-beta-bin/firestorm.launcher diff --git a/README.md b/README.md index 3670d6d..a31001f 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ aur-packages Some neato [PKGBUILDs](https://wiki.archlinux.org/index.php/PKGBUILD) for [Arch Linux](https://www.archlinux.org/) I've made available on [AUR](https://aur.archlinux.org/) * [coolvlviewer-bin](coolvlviewer-bin) - Provides [Cool VL Viewer](http://sldev.free.fr/), a third-party viewer for [Second Life](https://secondlife.com/) and [OpenSim](http://opensimulator.org) grids +* [firestorm-beta-bin](firestorm-beta-bin) - Provides beta releases for [Firestorm Viewer](https://www.firestormviewer.org/), a third-party viewer for [Second Life](https://secondlife.com/) and [OpenSim](http://opensimulator.org) grids. * [hifi-git](hifi-git) - Provides the [High Fidelity](https://highfidelity.io/) virtual world project (client and servers) * [polyvox-git](polyvox-git) - Provides the [PolyVox](http://www.volumesoffun.com/polyvox-about/) library, intended for storing, manipulating, and displaying volumetric representations of objects * [foobar2000-component-audioscrobbler-bin](foobar2000-component-audioscrobbler-bin) - Provides [foo_audioscrobbler](http://www.foobar2000.org/components/view/foo_audioscrobbler), a [Last.fm/Audioscrobbler](https://www.last.fm/) component for [foobar2000](https://www.foobar2000.org/) diff --git a/firestorm-beta-bin/PKGBUILD b/firestorm-beta-bin/PKGBUILD new file mode 100644 index 0000000..236ac17 --- /dev/null +++ b/firestorm-beta-bin/PKGBUILD @@ -0,0 +1,70 @@ +# Maintainer: Alex Tharp +# Based on firestorm-bin PKGBUILD by: Mike Swanson +pkgname=firestorm-beta-bin +pkgver=6.4.5.60799 +pkgrel=1 +pkgdesc="Firestorm is a feature-packed third-party viewer for Second Life. This is the beta release that currently features the Environmental Enhancement Project (EEP)." +url="https://www.firestormviewer.org/" +license=('GPL') +arch=('x86_64') +depends=(dbus-glib gconf glu gtk2 lib32-libidn lib32-libsndfile + lib32-util-linux lib32-zlib libgl libidn libjpeg-turbo libpng + libxss libxml2 mesa nss openal sdl vlc zlib) +optdepends=( + 'alsa-lib: for ALSA support' + 'pepper-flash: for inworld Flash support' + 'freealut: for OpenAL support' + 'gstreamer: For video support - may need good, bad and ugly plugins' + 'lib32-gst-plugins-good: for voice support' + 'lib32-libidn11: for voice support' + 'libpulse: for PulseAudio support' + 'mesa-libgl: For Intel, Radeon, Nouveau support' + 'nvidia-libgl: for NVIDIA support' + 'nvidia-utils: for NVIDIA support') +conflicts=('firestorm' 'firestorm-bin' 'firestorm-nightly') +install=firestorm.install +source=("https://downloads.firestormviewer.org/linux/Phoenix_Firestorm-Betax64_x86_64_$pkgver.tar.xz" + firestorm.desktop + firestorm.launcher) +md5sums=('a81c456113de1fd2ba4fb52671dded42' + '6b22ac512adc9b226fd91a23f7fe9921' + '2be5ef0f27414638a81003aa2f2ea6f1') + +prepare() { + mv "$srcdir/Phoenix_Firestorm-Betax64_x86_64_$pkgver" "$srcdir/firestorm" + + cd "firestorm" + for patch in ../*.patch; do + if [ ! -f "$patch" ]; then + break; + else + patch -p1 -i "$patch" + fi + done +} + +package() { + cd "$srcdir/firestorm" + + # File modes fix. + find -type d -execdir chmod 755 "{}" \; + find -type f -execdir chmod 644 "{}" \; + chmod 755 bin/* firestorm etc/* + + # Install Desktop File + install -D -m644 ../firestorm.desktop \ + "$pkgdir"/usr/share/applications/firestorm.desktop + + # Install Icon File + install -D -m644 firestorm_icon.png \ + "$pkgdir"/usr/share/pixmaps/firestorm_icon.png + + # Install Launcher + install -D -m755 ../firestorm.launcher \ + "$pkgdir"/usr/bin/firestorm + + # Move Data to Destination Directory + cd .. + install -d "$pkgdir"/opt + mv firestorm/ "$pkgdir"/opt +} diff --git a/firestorm-beta-bin/firestorm.desktop b/firestorm-beta-bin/firestorm.desktop new file mode 100644 index 0000000..1295f3b --- /dev/null +++ b/firestorm-beta-bin/firestorm.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Firestorm Second Life viewer +Comment=Second Life is a 3-D virtual world entirely built and owned by its residents +Exec=/usr/bin/firestorm +Icon=/usr/share/pixmaps/firestorm_icon.png +Terminal=false +Categories=Game diff --git a/firestorm-beta-bin/firestorm.install b/firestorm-beta-bin/firestorm.install new file mode 100644 index 0000000..32976b9 --- /dev/null +++ b/firestorm-beta-bin/firestorm.install @@ -0,0 +1,8 @@ +post_install() { + cat <