games-rpg/arx-*: remove last-rited pkgs

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2020-03-19 10:15:17 +03:00
parent a52e33ae05
commit 5b5ee29fef
10 changed files with 0 additions and 360 deletions

View File

@@ -1,2 +0,0 @@
DIST ArxFatalis_1.21_MULTILANG.exe 9064611 BLAKE2B 42a81491ff470843a80bd6f801a1d8d5b1295603c3b6ec759f545d6fed9530b64ca684b772735f92187eb4eb613b12f68ce7d0491a157123578476b835bb40eb SHA512 885260c6173ee5f2d6d6072bcfd14d085f11b997a0ce45cbdee9a347612e96da13477ef7d71b9c015fb02f2e47bdfb968a2aa89b0c92e9327abbd75b724e47c2
DIST setup_arx_fatalis_2.0.0.7.exe 525046992 BLAKE2B 558bffc8f4a0096761a9b1c8003b8127480bf03b1198b943dfe3c0bc8c6b9642275f86f5f4e9c6bbc2211bf48e38bebef634b24196b48d1d5520abf75254033f SHA512 08be7870d02ed6da8cedceb652906ea169eedcb44497a4517ef6a42d9db37403b5146b9e5a3a628a465f23088b0c09d958719e05454dcbb5ac12225c32d35942

View File

@@ -1,92 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CDROM_OPTIONAL="yes"
inherit eutils cdrom check-reqs
DESCRIPTION="Arx Fatalis data files"
HOMEPAGE="https://www.arkane-studios.com/uk/arx.php"
SRC_URI="cdinstall? ( https://cdn.bethsoft.com/arxfatalis/patches/1.21/ArxFatalis_1.21_MULTILANG.exe )
gog? ( setup_arx_fatalis_2.0.0.7.exe )"
LICENSE="cdinstall? ( ArxFatalis-EULA-JoWooD ) gog? ( GOG-EULA )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="binchecks bindist mirror gog? ( fetch )"
RDEPEND="games-rpg/arx-libertatis"
DEPEND="app-arch/innoextract
cdinstall? ( app-arch/cabextract )"
CHECKREQS_DISK_BUILD="621M"
CHECKREQS_DISK_USR="617M"
S=${WORKDIR}
detect_language() {
speech_checksum=$(find '.' -iname "speech.pak" \
-exec md5sum -b '{}' \; | sed "s/ .*//g")
if [[ -z $speech_checksum ]] ; then
speech_checksum=$(find '.' -iname "speech_default.pak" \
-exec md5sum -b '{}' \; | sed "s/ .*//g")
fi
# check if the checksum is of a known localisation and set data_lang to
# the language string to be used with the 1.21 patch installer
case "$speech_checksum" in
'4c3fdb1f702700255924afde49081b6e') data_lang='german' ;;
# Bundled version of AF included with NVIDIA card
'ab8a93161688d793a7c78fbefd7d133e') data_lang='german' ;;
'4e8f962d8204bcfd79ce6f3226d6d6de') data_lang='english' ;;
'2f88c67ae1537919e69386d27583125b') data_lang='spanish' ;;
'4edf9f8c799190590b4cd52cfa5f91b1') data_lang='french' ;;
'81f05dea47c52d43f01c9b44dd8fe962') data_lang='italian' ;;
'677163bc319cd1e9aa1b53b5fb3e9402') data_lang='russian' ;;
'') eerror "speech*.pak not found"
die "speech*.pak not found" ;;
*) eerror "unsupported data language - speech*.pak checksum:" \
"$speech_checksum" \
"please file a gentoo bug"
die "unsupported data language, file a gentoo bug" ;;
esac
}
pkg_nofetch() {
einfo "Please download ${A} from your GOG.com account after buying Arx Fatalis"
einfo "and put it into your DISTDIR directory."
}
src_unpack() {
local data_lang
if use cdinstall ; then
cdrom_get_cds bin/Arx.ttf
find "${CDROM_ROOT}" -iname "setup*.cab" -exec cabextract '{}' \;
detect_language
else
# gog only offers english
data_lang="english"
fi
einfo "Data language: $data_lang"
innoextract --lowercase --language=${data_lang} \
"${DISTDIR}"/${A} || die
}
src_install() {
insinto /usr/share/arx
doins -r app/{graph,misc}
find . -iname "*.pak" -exec doins '{}' \;
dodoc app/{manual,map}.pdf
# convert to lowercase
cd "${D}"
find . -type f -exec sh -c 'echo "${1}"
lower="`echo "${1}" | tr [:upper:] [:lower:]`"
[ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
}

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="person">
<email>daniel@constexpr.org</email>
<name>Daniel Scharrer</name>
</maintainer>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<use>
<flag name="gog">Extract the data from the GOG.com installer.</flag>
</use>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST arx_demo_english.zip 160545354 BLAKE2B 2693bdd2546c8788eb8c9fc303065f880c3995cfa1d75ca613b8ebb32238a3852dd7eeb20731f7c685521b669c47df45bcf22842772227be5cc3483ec3869c77 SHA512 0cbf0d6da1a373ed29edc49c65ed431117c868ec7bcab04166abd59f5d799460faec506baf191c83fa7c61372888009abb260d8a50e28507a5ec8ab7913a9ad7

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop
DESCRIPTION="Arx Fatalis demo"
HOMEPAGE="https://www.arkane-studios.com/uk/arx.php"
SRC_URI="arx_demo_english.zip"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="fetch"
RDEPEND="games-rpg/arx-libertatis"
DEPEND="
app-arch/cabextract
app-arch/unzip
"
S="${WORKDIR}"
pkg_nofetch() {
einfo "Please find and download ${SRC_URI} and put it into your distfiles directory."
einfo "There is a list of possible download locations at"
einfo "http://wiki.arx-libertatis.org/Getting_the_game_data#Demo"
}
src_unpack() {
unpack ${A}
cabextract Setup1.cab || die "cabextract failed"
cabextract Setup2.cab || die "cabextract failed"
cabextract Setup3.cab || die "cabextract failed"
}
src_install() {
insinto /usr/share/${PN}
doins -r *.pak bin/*.pak
insinto /usr/share/${PN}/misc
doins bin/Logo.bmp bin/Arx.ttf
# convert to lowercase
cd "${D}"
find . -type f -exec sh -c 'echo "${1}"
lower="`echo "${1}" | tr [:upper:] [:lower:]`"
[ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
make_desktop_entry "arx --data-dir=/usr/share/arx-fatalis-demo" \
"Arx Fatalis Demo" arx-libertatis
}

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="person">
<email>daniel@constexpr.org</email>
<name>Daniel Scharrer</name>
</maintainer>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST arx-libertatis-1.1.2.tar.xz 970608 BLAKE2B 1d4cef400db8223a930d1ff7b3bffbdcd46e47836d99f0c4545ad1bfc575b2b0ed972c9962272c043830be75a54be7992a70429d2692e5811865786370c35d6d SHA512 d4cb8187e7f63934408e38a51a44b7da03c8628820d43139507ff97ebd463b9cd7baf6cc4e85a3d4191d6e5f56850d77d07cfffc33d8f5a51378dfb41f719fb8

View File

@@ -1,83 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CMAKE_WARN_UNUSED_CLI=yes
inherit cmake-utils gnome2-utils
DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game"
HOMEPAGE="https://arx-libertatis.org/"
SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="c++0x crash-reporter debug static tools +unity-build"
COMMON_DEPEND="
media-libs/freetype
media-libs/libsdl[X,video,opengl]
media-libs/openal
sys-libs/zlib
virtual/opengl
crash-reporter? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtwidgets:5
)
!static? ( media-libs/glew:= )"
RDEPEND="${COMMON_DEPEND}
crash-reporter? ( sys-devel/gdb )"
DEPEND="${COMMON_DEPEND}
dev-libs/boost
virtual/pkgconfig
static? ( media-libs/glew[static-libs] )"
DOCS=( README.md AUTHORS CHANGELOG )
PATCHES=( "${FILESDIR}"/${P}-cmake-3.5.patch )
src_configure() {
# editor does not build
local mycmakeargs=(
-DBUILD_EDITOR=OFF
-DBUILD_TOOLS=$(usex tools)
-DDEBUG=$(usex debug)
-DICONDIR=/usr/share/icons/hicolor/128x128/apps
-DINSTALL_SCRIPTS=ON
-DSET_OPTIMIZATION_FLAGS=OFF
-DSTRICT_USE=ON
-DUNITY_BUILD=$(usex unity-build)
-DUSE_CXX11=$(usex c++0x)
-DUSE_NATIVE_FS=ON
-DUSE_OPENAL=ON
-DUSE_OPENGL=ON
-DUSE_SDL=ON
-DBUILD_CRASHREPORTER=$(usex crash-reporter)
$(usex crash-reporter "-DUSE_QT5=ON" "")
-DUSE_STATIC_LIBS=$(usex static)
)
cmake-utils_src_configure
}
pkg_postinst() {
elog "optional dependencies:"
elog " games-rpg/arx-fatalis-data (from CD or GOG)"
elog " games-rpg/arx-fatalis-demo (free demo)"
elog
elog "This package only installs the game binary."
elog "You need the demo or full game data. Also see:"
elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
elog
elog "If you have already installed the game or use the STEAM version,"
elog "run \"/usr/bin/arx-install-data\""
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@@ -1,34 +0,0 @@
From c4262bc600dc01d3ddbacc7811132b29ea46ad3b Mon Sep 17 00:00:00 2001
From: Daniel Scharrer <daniel@constexpr.org>
Date: Thu, 24 Mar 2016 22:47:44 +0100
Subject: [PATCH] CMake: Disable variable expansion for quoted strings in if()
This makes the build system more robust against stray variables
coming from included CMake scripts provided by the system.
Fixes build with CMake 3.5.
This has been fixed in master with commit 60e43c.
---
CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93f1ee3..8347544 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,11 @@ else()
cmake_minimum_required(VERSION 2.8)
endif()
+if(POLICY CMP0054)
+ # CMake 3.1+: Only interpret if() arguments as variables or keywords when unquoted.
+ cmake_policy(SET CMP0054 NEW)
+endif()
+
# Define configuration options
--
2.7.4

View File

@@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<use>
<flag name="c++0x">Build ROOT using the C++11 standard.</flag>
<flag name="crash-reporter">Build a <pkg>dev-qt/qtgui</pkg>-based
tool that allows to submit crash information to the upstream
backtracker.</flag>
<flag name="debug">Enable asserts and debug logging.</flag>
<flag name="static">Link libraries statically, currently only
<pkg>media-libs/glew</pkg></flag>
<flag name="tools">Build tools that can extract the game's data and
save files.</flag>
<flag name="unity-build">Build everything in one big source file,
allowing for faster build times and better optimizations at
the cost of higher memory usage.</flag>
</use>
<longdescription lang="en">
Arx Libertatis is a cross-platform, open source port of
Arx Fatalis, a 2002 first-person role-playing game/dungeon crawler
developed by Arkane Studios.
Arx Fatalis features crafting, melee and ranged combat, as well
as a unique casting system where the player draws runes in real
time to effect the desired spell.
Arx Libertatis updates and improves Arx Fatalis by supporting
modern systems, porting the game to new systems as well as
eliminating bugs and limitations.
</longdescription>
<longdescription lang="de">
Arx Libertatis ist eine cross-platform, open source Portierung
von Arx Fatalis, ein Rollenspiel/Dungeon Crawler in Ego-Perspektive
aus dem Jahr 2002, entwickelt von Arkane Studios.
Arx Fatalist umfasst das Herstellen von Gegenständen,
Nah- und Fernkampf, sowie ein einzigartiges Magiesystem,
in dem der Spieler Runen in Echtzeit zeichnen muss, um einen
Zauberspruch auszusprechen.
Arx Libertatis aktualisiert und verbessert Arx Fatalis, indem
es moderne Systeme unterstützt, das Spiel auch zu neuen Systemen
portiert und bugs und Beschränkungen behebt.
</longdescription>
<upstream>
<maintainer status="active">
<email>daniel@constexpr.org</email>
<name>Daniel Scharrer</name>
</maintainer>
<bugs-to>https://bugs.arx-libertatis.org/</bugs-to>
<changelog>
http://wiki.arx-libertatis.org/Changelog
</changelog>
<doc lang="en">http://wiki.arx-libertatis.org/</doc>
<remote-id type="github">arx/ArxLibertatis</remote-id>
<remote-id type="sourceforge">arx</remote-id>
<remote-id type="freecode">arx-libertatis</remote-id>
</upstream>
</pkgmetadata>