diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-06-29 21:48:35 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-06-29 21:48:35 +0000 |
commit | 2e08524d7dc2fffcc7e605be5b1a5fd65e25a421 (patch) | |
tree | 6ac7f5b335414a6f9e58104eafdf4a5e1ce38b11 /games-rpg | |
parent | add licenses for arx fatalis (diff) | |
download | historical-2e08524d7dc2fffcc7e605be5b1a5fd65e25a421.tar.gz historical-2e08524d7dc2fffcc7e605be5b1a5fd65e25a421.tar.bz2 historical-2e08524d7dc2fffcc7e605be5b1a5fd65e25a421.zip |
initial import
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/arx-fatalis-data/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-data/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-data/arx-fatalis-data-1.21.ebuild | 49 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-data/metadata.xml | 10 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild | 53 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/metadata.xml | 10 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/ChangeLog | 11 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/arx-libertatis-1.0.2.ebuild | 88 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/files/arx-libertatis-1.0.2-gentoo.patch | 74 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/metadata.xml | 26 |
13 files changed, 354 insertions, 0 deletions
diff --git a/games-rpg/arx-fatalis-data/ChangeLog b/games-rpg/arx-fatalis-data/ChangeLog new file mode 100644 index 000000000000..ccd868c4b860 --- /dev/null +++ b/games-rpg/arx-fatalis-data/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/arx-fatalis-data +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-data/ChangeLog,v 1.1 2012/06/29 21:48:09 hasufell Exp $ + +*arx-fatalis-data-1.21 (29 Jun 2012) + + 29 Jun 2012; Julian Ospald <hasufell@gentoo.org> + +arx-fatalis-data-1.21.ebuild, +metadata.xml: + initial import + diff --git a/games-rpg/arx-fatalis-data/Manifest b/games-rpg/arx-fatalis-data/Manifest new file mode 100644 index 000000000000..c3a07d93e2e1 --- /dev/null +++ b/games-rpg/arx-fatalis-data/Manifest @@ -0,0 +1,4 @@ +DIST ArxFatalis_1.21_MULTILANG.exe 9064611 RMD160 597869829a341bd489b3af1efd4f0ddae2ab8350 SHA1 4e3bc57f57068668259c1a23877e0dab608d4fa7 SHA256 97c3483a5db7ca99f5ae8001c148517eda3be4cb96d41cc4c1e42f5741456cf3 +EBUILD arx-fatalis-data-1.21.ebuild 1177 RMD160 3d7d36f9dc0afd41ed77ef4f16dc62188627ee7e SHA1 3fcf46330d4fd94b9cbd773e9c1cf860f7818183 SHA256 1d1285d4bc63997a316410b388211a4c551f46950b405060fa2663deb7476c00 +MISC ChangeLog 282 RMD160 aaa042a3bbe12c369467e9d61851e71d9433d6b6 SHA1 30f371a4bc29339216a41875b29e984d36fcfae2 SHA256 d7216e5002358dbeea58b6e2ae91910391eb203a8442c909e2cfc732911b4b16 +MISC metadata.xml 255 RMD160 cc3f4166829c2668729ae9297e2f612390f51041 SHA1 e6e8defa0e59d10623400331ea0819a8822d0656 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 diff --git a/games-rpg/arx-fatalis-data/arx-fatalis-data-1.21.ebuild b/games-rpg/arx-fatalis-data/arx-fatalis-data-1.21.ebuild new file mode 100644 index 000000000000..9f2845e15316 --- /dev/null +++ b/games-rpg/arx-fatalis-data/arx-fatalis-data-1.21.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-data/arx-fatalis-data-1.21.ebuild,v 1.1 2012/06/29 21:48:09 hasufell Exp $ + +EAPI=4 + +CDROM_OPTIONAL="yes" + +inherit eutils cdrom check-reqs games + +DESCRIPTION="Arx Fatalis data files" +HOMEPAGE="http://www.arkane-studios.com/uk/arx.php" +SRC_URI="http://download.zenimax.com/arxfatalis/patches/1.21/ArxFatalis_1.21_MULTILANG.exe" + +LICENSE="ArxFatalis-EULA-JoWooD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror" + +RDEPEND="games-rpg/arx-libertatis" +DEPEND="app-arch/cabextract + app-arch/innoextract" + +CHECKREQS_DISK_BUILD="621M" +CHECKREQS_DISK_USR="617M" + +S=${WORKDIR} + +src_unpack() { + cdrom_get_cds bin/data2.pak + + find "${CDROM_ROOT}" -iname "setup*.cab" -exec cabextract '{}' \; + innoextract --lowercase --language=multilang \ + "${DISTDIR}"/ArxFatalis_1.21_MULTILANG.exe || die +} + +src_install() { + insinto "${GAMES_DATADIR}"/arx + doins -r app/{graph,misc,data2.pak} *.pak "${CDROM_ROOT}"/bin/LOC.pak + dodoc app/{manual,map}.pdf + + # convert to lowercase + find "${D}" -type f -exec sh -c 'echo "${1}" + lower="`echo "${1}" | tr [:upper:] [:lower:]`" + [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \; + + prepgamesdirs +} diff --git a/games-rpg/arx-fatalis-data/metadata.xml b/games-rpg/arx-fatalis-data/metadata.xml new file mode 100644 index 000000000000..e52db06ebd8c --- /dev/null +++ b/games-rpg/arx-fatalis-data/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + diff --git a/games-rpg/arx-fatalis-demo/ChangeLog b/games-rpg/arx-fatalis-demo/ChangeLog new file mode 100644 index 000000000000..32670da532a5 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/arx-fatalis-demo +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-demo/ChangeLog,v 1.1 2012/06/29 21:48:35 hasufell Exp $ + +*arx-fatalis-demo-0 (29 Jun 2012) + + 29 Jun 2012; Julian Ospald <hasufell@gentoo.org> +arx-fatalis-demo-0.ebuild, + +metadata.xml: + initial import + diff --git a/games-rpg/arx-fatalis-demo/Manifest b/games-rpg/arx-fatalis-demo/Manifest new file mode 100644 index 000000000000..affe76a423e3 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/Manifest @@ -0,0 +1,4 @@ +DIST arx_demo_english.zip 160545354 RMD160 dd9019252a5b2dbd7f375863cf37f8c74cf2746d SHA1 16a78e498475eefb46c0db28efc4f211f198cf79 SHA256 9e85d4bfa081a4ccc40a1f3722b32c23cd9fa95e91f47d32be76aa62c9fd7187 +EBUILD arx-fatalis-demo-0.ebuild 1295 RMD160 a64e012cc293a773ad9fb353037a9e30b802e01d SHA1 4f6ad6ea2ed461df149dddc2f8b15e6dd4fa2cfc SHA256 9ea9be1ba3c103d2d37c8c024395023f20e3bb647a4bab709be3d55f05345dc2 +MISC ChangeLog 276 RMD160 b0808db42ed60cf31bf19cb37012837881fb4fa9 SHA1 8e2f92b7a9c646acd5dca7c13617594c9c998585 SHA256 60e85c07c9c0b34170e4061917dc246f9bfa722acbd30e162f1cd6172fcce85f +MISC metadata.xml 255 RMD160 cc3f4166829c2668729ae9297e2f612390f51041 SHA1 e6e8defa0e59d10623400331ea0819a8822d0656 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 diff --git a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild new file mode 100644 index 000000000000..3c8c75d9ebc7 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild,v 1.1 2012/06/29 21:48:35 hasufell Exp $ + +EAPI=4 + +inherit eutils games + +DESCRIPTION="Arx Fatalis demo" +HOMEPAGE="http://www.arkane-studios.com/uk/arx.php" +SRC_URI="arx_demo_english.zip" + +LICENSE="ArxFatalisDemo" +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 ${DISTDIR}." + 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 "${GAMES_DATADIR}/${PN}" + doins -r *.pak bin/*.pak + insinto "${GAMES_DATADIR}/${PN}/misc" + doins bin/Logo.bmp bin/Arx.ttf + + # convert to lowercase + find "${D}" -type f -exec sh -c 'echo "${1}" + lower="`echo "${1}" | tr [:upper:] [:lower:]`" + [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \; + + make_desktop_entry "arx --data-dir=${GAMES_DATADIR}/arx-fatalis-demo" \ + "Arx Fatalis Demo" arx-libertatis + + prepgamesdirs +} diff --git a/games-rpg/arx-fatalis-demo/metadata.xml b/games-rpg/arx-fatalis-demo/metadata.xml new file mode 100644 index 000000000000..e52db06ebd8c --- /dev/null +++ b/games-rpg/arx-fatalis-demo/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + diff --git a/games-rpg/arx-libertatis/ChangeLog b/games-rpg/arx-libertatis/ChangeLog new file mode 100644 index 000000000000..376f08942ef3 --- /dev/null +++ b/games-rpg/arx-libertatis/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-rpg/arx-libertatis +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/ChangeLog,v 1.1 2012/06/29 21:47:41 hasufell Exp $ + +*arx-libertatis-1.0.2 (29 Jun 2012) + + 29 Jun 2012; Julian Ospald <hasufell@gentoo.org> + +arx-libertatis-1.0.2.ebuild, +files/arx-libertatis-1.0.2-gentoo.patch, + +metadata.xml: + initial import + diff --git a/games-rpg/arx-libertatis/Manifest b/games-rpg/arx-libertatis/Manifest new file mode 100644 index 000000000000..c110888a3eca --- /dev/null +++ b/games-rpg/arx-libertatis/Manifest @@ -0,0 +1,5 @@ +AUX arx-libertatis-1.0.2-gentoo.patch 2009 RMD160 0f134e5c9db796456380b850a75aef892b34537d SHA1 4d97655a5ace73df5e955d20367eb96967848aa6 SHA256 99ee2ac74a12adf7d614a1561e4eeced9adc5f6498c613e6e3cf6455913c333f +DIST arx-libertatis-1.0.2.tar.xz 912096 RMD160 dce30c0a172758ae27e68883f5556fe2492d0300 SHA1 7295564eb93a8282546d02f9f75b18edfc235d63 SHA256 cd40510563f93149f237df55d373900f85eb05c9cc5731efe4d173f314d4fadd +EBUILD arx-libertatis-1.0.2.ebuild 2013 RMD160 dd96e884172fb40946917f0d575d80dfd87fc320 SHA1 28ec6abc4286ddaa8c0ba882290a7e08723f56bb SHA256 52297a1c6bbcbc7377f58e0336a62e874ff2f02e88d7a1efb367da3398f1908f +MISC ChangeLog 322 RMD160 2198ed62cbb0f21dd2e6d196963f6409e37d03af SHA1 c417ef2df72fe0ebf112023fddda63ea1b6266e3 SHA256 b229a1104186bbdd02e83770b6e6c0397f60261e41b92c66c6c9c09580068a5f +MISC metadata.xml 952 RMD160 575c372defdae95897f8d47b4f9c83e3a4e4c5a5 SHA1 0958f2ac80a3484d85057647bc75574ac74554cb SHA256 b74747eda1686586d9c7fbeaf3f52102af43f468704707c5702670caa5e03aed diff --git a/games-rpg/arx-libertatis/arx-libertatis-1.0.2.ebuild b/games-rpg/arx-libertatis/arx-libertatis-1.0.2.ebuild new file mode 100644 index 000000000000..570d0d2bdf78 --- /dev/null +++ b/games-rpg/arx-libertatis/arx-libertatis-1.0.2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/arx-libertatis-1.0.2.ebuild,v 1.1 2012/06/29 21:47:41 hasufell Exp $ + +EAPI=4 + +inherit eutils cmake-utils gnome2-utils games + +DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game" +HOMEPAGE="http://arx-libertatis.org/" +SRC_URI="mirror://github/arx/ArxLibertatis/${P}.tar.xz + mirror://sourceforge/arx/${P}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cdinstall demo debug unity-build crash-reporter tools" + +COMMON_DEPEND=">=dev-libs/boost-1.39 + media-libs/devil[jpeg] + media-libs/freetype + media-libs/glew + media-libs/libsdl[opengl] + media-libs/openal + sys-libs/zlib + virtual/opengl + x11-libs/libX11 + crash-reporter? ( + x11-libs/qt-core[ssl] + x11-libs/qt-gui + )" +RDEPEND="${COMMON_DEPEND} + crash-reporter? ( sys-devel/gdb )" +DEPEND="${COMMON_DEPEND}" +PDEPEND="cdinstall? ( >=games-rpg/arx-fatalis-data-1.21 ) + demo? ( games-rpg/arx-fatalis-demo )" + +DOCS=( README.md AUTHORS CHANGELOG ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_configure() { + use debug && CMAKE_BUILD_TYPE=Debug + + # editor does not build + local mycmakeargs=( + $(cmake-utils_use unity-build UNITY_BUILD) + $(cmake-utils_use_build tools TOOLS) + $(cmake-utils_use_build crash-reporter CRASHREPORTER) + -DGAMESBINDIR="${GAMES_BINDIR}" + -DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}" + -DICONDIR=/usr/share/icons/hicolor/128x128/apps + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + einfo "This package only installs the game binary." + if ! use cdinstall || ! use demo ; then + elog "You need the demo or full game data." + elog "See http://wiki.arx-libertatis.org/Getting_the_game_data for more information" + elog "or enable cdinstall or demo useflag." + fi + + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.2-gentoo.patch b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.2-gentoo.patch new file mode 100644 index 000000000000..c1da7f7136d1 --- /dev/null +++ b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.2-gentoo.patch @@ -0,0 +1,74 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Jun 27 22:04:32 UTC 2012 +Subject: build system + +respect flags + +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -365,21 +365,6 @@ + + endif() + +- # Warning level +- add_cxxflag("-Wall") +- add_cxxflag("-Wextra") +- add_cxxflag("-Wformat=2") +- add_cxxflag("-Wundef") +- add_cxxflag("-Wpointer-arith") +- add_cxxflag("-Wcast-qual") +- add_cxxflag("-Woverloaded-virtual") +- add_cxxflag("-Wlogical-op") +- +- add_cxxflag("-Wliteral-conversion") +- add_cxxflag("-Wshift-overflow") +- add_cxxflag("-Woverflow") +- add_cxxflag("-Wbool-conversions") +- + # TODO enable: + # add_cxxflag("-Wconversion") # very noisy + # add_cxxflag("-Wsign-conversion") # very noisy +@@ -391,27 +376,12 @@ + endif() + + if(CMAKE_BUILD_TYPE STREQUAL "Debug") +- +- #Debug + add_definitions(-D_DEBUG) +- +- check_compiler_flag(RESULT "-g3") +- if(NOT RESULT STREQUAL "") +- string(REGEX REPLACE "-g(|[0-9]|gdb)" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") +- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}") +- endif() +- +- check_compiler_flag(RESULT "-O0") +- string(REGEX REPLACE "-O[0-9]" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") +- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}") +- + elseif(CMAKE_BUILD_TYPE STREQUAL "Release") +- + if((NOT CMAKE_CXX_FLAGS MATCHES "-g(|[0-9]|gdb)") + AND (NOT CMAKE_CXX_FLAGS_RELEASE MATCHES "-g(|[0-9]|gdb)")) + add_cxxflag("-g2") + endif() +- + endif() + + if(DEBUG_EXTRA) +@@ -419,15 +389,7 @@ + add_cxxflag("-fbounds-checking") + add_cxxflag("-fcatch-undefined-behavior") + add_cxxflag("-Wstrict-aliasing=1") +- else() +- # -Wuninitialized causes too many false positives +- add_cxxflag("-Wno-uninitialized") +- # (clang only) Conflicts with using const variables for configuration. +- add_cxxflag("-Wno-constant-logical-operand") + endif() +- +- # Because we are lazy +- add_ldflag("-Wl,--as-needed") + + # Xcode does not support -isystem yet + if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") diff --git a/games-rpg/arx-libertatis/metadata.xml b/games-rpg/arx-libertatis/metadata.xml new file mode 100644 index 000000000000..d618b599beea --- /dev/null +++ b/games-rpg/arx-libertatis/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <use> + <flag name='debug'>Enable asserts and debug logging.</flag> + <flag name='crash-reporter'>Build a <pkg>x11-libs/qt-gui</pkg>-based + tool that allows to submit crash information to the upstream + backtracker.</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> + <flag name='demo'>Install the Arx Fatalis demo data.</flag> + </use> + <upstream> + <doc lang="en">http://wiki.arx-libertatis.org/</doc> + <bugs-to>https://bugs.arx-libertatis.org/</bugs-to> + </upstream> +</pkgmetadata> + |