quake4: remove package.

- distfiles vanished, now served by us
- homepage also vanished
- completely proprietary and not integrated to the rest of the system
- still requires many files from install CDs
This commit is contained in:
Érico Nogueira 2021-05-25 14:39:06 -03:00 committed by Érico Nogueira Rolim
parent 9781f6b94a
commit b061f13540
7 changed files with 1 additions and 118 deletions

View file

@ -1,33 +0,0 @@
In order to use the software, you have to agree to ID Software's license
located in /usr/share/licenses/quake4/License.txt and Punkbuster's license
located in /usr/share/licenses/quake4/PBEULA.txt.
The following files must be copied from the install CDs [1]
to '~/.quake4/q4base' (for users) or '/opt/quake4/q4base/' (system).
b201b914167f47061fa5f975af527122 pak001.pk4
dabe2c88e004198947431250e3f4ca1d pak002.pk4
8573f05af4c9568880cc464d06292079 pak003.pk4
12ff4006a7f7181ac16835d05c59905f pak004.pk4
3576213f4e00f06baf3cd5de089a538a pak005.pk4
aec7bb418b9a86256f9e5daee894dee2 pak006.pk4
0f53b4fb4df2c14fcd10012baf8b2f87 pak007.pk4
b099d75869f0ffcbcb8e5166374af345 pak008.pk4
cb2b44bf573559dc19b488d9e1e5bec3 pak009.pk4
d024073349dc917b4feab49e6abc417b pak010.pk4
98c854d94ce1da5272952b77821823df pak011.pk4
e77a2fda6656495d38773e05bbffda33 pak012.pk4
669d6d9a30b798d19434972475b98c53 zpak_english.pk4
2cabddd692e214c78c20a464da43f1ef zpak_french.pk4
4ee7eb637cde6bcfe3a9ffac5e4579dd zpak_italian.pk4
36eee38e6c2dce12986f7192a5a996e5 zpak_spanish.pk4
Start the game with the command: quake4
Start the dedicated server with the command: quake4-dedicated
For troubleshooting and help, see:
http://zerowing.idsoftware.com/linux/
If you are using pulseaudio don't forget to also install the
'alsa-plugins-pulseaudio' package for x86 (32bit) or
'alsa-plugins-pulseaudio-32bit' for x86_64 (64bit).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -1,6 +0,0 @@
#!/bin/sh
cd "/opt/quake4"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
./q4ded.x86 $*
exit $?

View file

@ -1,6 +0,0 @@
#!/bin/sh
cd "/opt/quake4"
export LD_PRELOAD=/opt/quake4/libSDL-1.2.id.so.0
./quake4smp.x86 $*
exit $?

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Quake 4
GenericName=Quake 4
Comment=Quake 4
Exec=/usr/bin/quake4
Icon=/usr/share/pixmaps/quake4.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Qt;KDE;GNOME;Application;Game;

View file

@ -1,62 +0,0 @@
# Template file for 'quake4'
pkgname=quake4
version=1.4.2
revision=3
hostmakedepends="tar"
depends="SDL libXext virtual?libudev zlib desktop-file-utils"
short_desc="Quake 4 for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom: propietary"
homepage="http://www.quake4game.com/"
distfiles="http://sources.voidlinux.de/${pkgname}-${version}/quake4-linux-${version}.x86.run"
checksum=9203b387b1a4075a1b9ad1eb7be32b49a88141a448d9330d9cbe1f40a145bd6a
skip_extraction="quake4-linux-${version}.x86.run"
# 32bit package for x86_64 built on x86 :-)
archs="i686"
repository="nonfree"
nostrip="yes"
create_wrksrc=yes
lib32mode=full
do_install() {
vmkdir opt
# Extract files
chmod +x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/quake4-linux-${version}.x86.run
${XBPS_SRCDISTDIR}/${pkgname}-${version}/quake4-linux-${version}.x86.run --noexec --target quake4
# Move pk4 files to correct location
mv quake4/us/q4base/*.pk4 quake4/q4base
# Move Executables and Libraries
install -m 755 -t quake4/ quake4/bin/Linux/x86/{lib*,q4ded*,quake4*}
# Make Everything World-Readable
chmod -R a+r quake4/
# Remove Unneeded Files
rm -rf quake4/{germany/,setup.data/,setup.sh,us/,bin/}
# Move Quake4 to Destination Directory
mv quake4 ${DESTDIR}/opt/
# Install Launcher (Client - SMP)
vbin ${FILESDIR}/quake4-smp.launcher quake4
# Install Launcher (Server)
vbin ${FILESDIR}/quake4-dedicated.launcher quake4-dedicated
# Install License (Quake 4)
vlicense ${DESTDIR}/opt/quake4/License.txt
# Install License (PunkBuster)
vlicense ${DESTDIR}/opt/quake4/pb/PBEULA.txt
# Install Desktop File
vinstall ${FILESDIR}/quake4.desktop 644 usr/share/applications
# Install Icon File
vinstall ${FILESDIR}/Quake-IV-icon.png 644 usr/share/pixmaps quake4.png
}

View file

@ -250,6 +250,7 @@ replaces="
python3-pyside-phonon<=5.15.0_2
python3-shiboken<=5.15.0_3
qimageblitz<=0.0.6_4
quake4<=1.4.2_3
qucs<=0.0.19_2
qupzilla1<=1.8.9_16
qt<=4.8.7_29