Added desktop files for launching Quake, both Mission Packs and Abyss of Pandemonium

This commit is contained in:
Frederic Bezies 2016-07-25 16:29:39 +02:00
parent 244f7bed75
commit 25f51d3c06
7 changed files with 79 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Mon Jul 4 08:29:57 UTC 2016 # Mon Jul 25 14:28:45 UTC 2016
pkgbase = quakespasm pkgbase = quakespasm
pkgdesc = A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music. Stable version pkgdesc = A modern Quake 1 engine. Forked from Fitzquake. Stable version with Mission pack desktop files.
pkgver = 0.92.0 pkgver = 0.92.0
pkgrel = 2 pkgrel = 3
url = http://quakespasm.sourceforge.net url = http://quakespasm.sourceforge.net
install = quakespasm.install install = quakespasm.install
arch = i686 arch = i686
@ -14,7 +14,15 @@ pkgbase = quakespasm
depends = sdl2 depends = sdl2
conflicts = quakespasm-svn conflicts = quakespasm-svn
source = https://sourceforge.net/projects/quakespasm/files/Source/quakespasm-0.92.0.tgz source = https://sourceforge.net/projects/quakespasm/files/Source/quakespasm-0.92.0.tgz
source = quakespasm.desktop
source = quakespasm-mp1.desktop
source = quakespasm-mp2.desktop
source = quakespasm-impel.desktop
md5sums = d7ba2b9eaca198f32f60eeabc1f02db1 md5sums = d7ba2b9eaca198f32f60eeabc1f02db1
md5sums = 090c3c8f74dd649187bfe0ad7ac3cd76
md5sums = 1d86f05cbe4254402e4c00a62f680e7f
md5sums = cdf7daadefaa1c44b1e3da574e5268d4
md5sums = 96a70a5e74d56284149cc33019a9f8ad
pkgname = quakespasm pkgname = quakespasm

View File

@ -2,16 +2,24 @@
pkgname=quakespasm pkgname=quakespasm
pkgver=0.92.0 pkgver=0.92.0
pkgrel=2 pkgrel=3
pkgdesc="A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music. Stable version" pkgdesc="A modern Quake 1 engine. Forked from Fitzquake. Stable version with Mission pack desktop files."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://quakespasm.sourceforge.net" url="http://quakespasm.sourceforge.net"
license=('GPL2') license=('GPL2')
depends=('libvorbis' 'libmad' 'sdl2') depends=('libvorbis' 'libmad' 'sdl2')
conflicts=('quakespasm-svn') conflicts=('quakespasm-svn')
install=$pkgname.install install=$pkgname.install
source=(https://sourceforge.net/projects/quakespasm/files/Source/$pkgname-$pkgver.tgz) source=(https://sourceforge.net/projects/quakespasm/files/Source/$pkgname-$pkgver.tgz
md5sums=('d7ba2b9eaca198f32f60eeabc1f02db1') $pkgname.desktop
$pkgname-mp1.desktop
$pkgname-mp2.desktop
$pkgname-impel.desktop)
md5sums=('d7ba2b9eaca198f32f60eeabc1f02db1'
'090c3c8f74dd649187bfe0ad7ac3cd76'
'1d86f05cbe4254402e4c00a62f680e7f'
'cdf7daadefaa1c44b1e3da574e5268d4'
'96a70a5e74d56284149cc33019a9f8ad')
build() { build() {
cd "$srcdir/$pkgname-$pkgver/Quake/" cd "$srcdir/$pkgname-$pkgver/Quake/"
@ -22,6 +30,15 @@ build() {
package() { package() {
cd "$srcdir/$pkgname-$pkgver/Quake/" cd "$srcdir/$pkgname-$pkgver/Quake/"
install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname
for i in 16 24 32 48 64 72; do
install -Dm644 $srcdir/$pkgname-$pkgver/Misc/QuakeSpasm_512.png $pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/quakespasm.png
done
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 $srcdir/$pkgname-mp1.desktop $pkgdir/usr/share/applications/$pkgname-mp1.desktop
install -Dm644 $srcdir/$pkgname-mp2.desktop $pkgdir/usr/share/applications/$pkgname-mp2.desktop
install -Dm644 $srcdir/$pkgname-impel.desktop $pkgdir/usr/share/applications/$pkgname-impel.desktop
} }

9
quakespasm-impel.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Quake - Abyss of Pandemonium
Icon=quakespasm
Exec=quakespasm -game impel
Categories=Game;Shooter;
Comment=Quake (quakespasm engine) + Abyss of Pandemonium
Terminal=false
StartupNotify=true

9
quakespasm-mp1.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Quake - MP 1
Icon=quakespasm
Exec=quakespasm -game hipnotic
Categories=Game;Shooter;
Comment=Quake (quakespasm engine) + Mission Pack 1
Terminal=false
StartupNotify=true

9
quakespasm-mp2.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Quake - MP 2
Icon=quakespasm
Exec=quakespasm -game rogue
Categories=Game;Shooter;
Comment=Quake (quakespasm engine) + Mission Pack 2
Terminal=false
StartupNotify=true

9
quakespasm.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Quake
Icon=quakespasm
Exec=quakespasm
Categories=Game;Shooter;
Comment=Quake (quakespasm engine)
Terminal=false
StartupNotify=true

View File

@ -4,6 +4,17 @@ post_install() {
:: pak0.pak to play the shareware episode and/or :: pak0.pak to play the shareware episode and/or
:: additionally pak1.pak for the whole game. :: additionally pak1.pak for the whole game.
:: Put them into <YOUR_HOME_DIR>/.quakespasm/id1/ :: Put them into <YOUR_HOME_DIR>/.quakespasm/id1/
:: There is desktop file for Mission Pack 1 (hipnotic)
:: Mission Pack 2 (rogue)
:: and for Abyss of Pandemonium (impel)
:: You need to copy paks for each extension in
:: <YOUR_HOME_DIR>/.quakespasm/hiptonic (for Mission pack 1)
:: <YOUR_HOME_DIR>/.quakespasm/rogue (for Mission pack 2)
:: <YOUR_HOME_DIR>/.quakespasm/impel (for Abyss of Pandemonium)
:: The last one can be grabbed for free from :
:: https://www.quaddicted.com/reviews/aopfm_v2.html
EOF EOF
} }