diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-07-31 09:10:33 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-07-31 09:10:33 +0000 |
commit | 8b83f8e6ebaedbbbbff2ca20c8c6c53c372ffbfa (patch) | |
tree | d53d81b4d2824ef54128d5dd09abd35fb1974f5a /games-rpg/arx-libertatis | |
parent | Repeat failed Manifest commit (diff) | |
download | historical-8b83f8e6ebaedbbbbff2ca20c8c6c53c372ffbfa.tar.gz historical-8b83f8e6ebaedbbbbff2ca20c8c6c53c372ffbfa.tar.bz2 historical-8b83f8e6ebaedbbbbff2ca20c8c6c53c372ffbfa.zip |
version bump
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'games-rpg/arx-libertatis')
-rw-r--r-- | games-rpg/arx-libertatis/ChangeLog | 8 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/Manifest | 19 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild | 93 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch | 74 |
4 files changed, 185 insertions, 9 deletions
diff --git a/games-rpg/arx-libertatis/ChangeLog b/games-rpg/arx-libertatis/ChangeLog index 87ce30d509de..e25a438cb8d8 100644 --- a/games-rpg/arx-libertatis/ChangeLog +++ b/games-rpg/arx-libertatis/ChangeLog @@ -1,6 +1,12 @@ # 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.6 2012/07/31 09:07:27 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/ChangeLog,v 1.7 2012/07/31 09:10:33 hasufell Exp $ + +*arx-libertatis-1.0.3 (31 Jul 2012) + + 31 Jul 2012; Julian Ospald <hasufell@gentoo.org> + +arx-libertatis-1.0.3.ebuild, +files/arx-libertatis-1.0.3-gentoo.patch: + version bump 31 Jul 2012; Julian Ospald <hasufell@gentoo.org> arx-libertatis-1.0.2-r1.ebuild: diff --git a/games-rpg/arx-libertatis/Manifest b/games-rpg/arx-libertatis/Manifest index 172a6ff44f54..7f480801757d 100644 --- a/games-rpg/arx-libertatis/Manifest +++ b/games-rpg/arx-libertatis/Manifest @@ -3,18 +3,21 @@ Hash: SHA256 AUX arx-data-copy 3090 SHA256 9f24928ec21c495147ff0c1c9fd88ab352fd300022bb0751d58b533a96d099d2 SHA512 dfbe8c97b9c7562062eb83f6558d23833a70ab8ca5e42f6cbadbdb97fd3e1cd4f568c415203e7c7aae36522187453f38304afac8a7e2cdc6f3288f76f915ffcb WHIRLPOOL 7db29955044aea81efc75958107d93d98b10d0170d654a8561361331d6f9038fb0ab0f7b2ac656067c67fddd91b80e1d4aec8f6b4ff2126939a565f4b135b788 AUX arx-libertatis-1.0.2-gentoo.patch 2009 SHA256 99ee2ac74a12adf7d614a1561e4eeced9adc5f6498c613e6e3cf6455913c333f SHA512 f92e51b4e14cefb35a0afb4a17a8e4a8c3ab816273c45fe89f7cf02197f5fd749d4547605e8eebd872dcf0b000b2fdc55a5e1c5442e93a9b6e3bd85362079909 WHIRLPOOL a93ef0ac90afd7e8830960c9929c1d7a8fb987e6cc1de30e78222267c5be13a93fcb95950f52f7ad79d91d41ff6ab9e2934322481595bedc25acab9ec73cd2fa +AUX arx-libertatis-1.0.3-gentoo.patch 2009 SHA256 99ee2ac74a12adf7d614a1561e4eeced9adc5f6498c613e6e3cf6455913c333f SHA512 f92e51b4e14cefb35a0afb4a17a8e4a8c3ab816273c45fe89f7cf02197f5fd749d4547605e8eebd872dcf0b000b2fdc55a5e1c5442e93a9b6e3bd85362079909 WHIRLPOOL a93ef0ac90afd7e8830960c9929c1d7a8fb987e6cc1de30e78222267c5be13a93fcb95950f52f7ad79d91d41ff6ab9e2934322481595bedc25acab9ec73cd2fa DIST arx-libertatis-1.0.2.tar.xz 912096 SHA256 cd40510563f93149f237df55d373900f85eb05c9cc5731efe4d173f314d4fadd SHA512 87b52feac0edaea009c25cab84cf206322be7440dc4ee04484578ae18bd340a11dde3fd10dce13c801d510d335d0afb219d4b6fb2eae4fdda2136caeaf1e9e9e WHIRLPOOL 7c8855868fd9fa865af1eaa88aa8c99e59f1db8a62eb3de407e5163eeb8f529e6709c7269ef8cd617131f0b5c5f5efdf97270bb2590be8f2291baeaee6267bbb +DIST arx-libertatis-1.0.3.tar.xz 912288 SHA256 5719e1602051f6a6dc13ac0366ff03804f914ffbd855e7e06fdeb0d065fb6d32 SHA512 e1e8d581b6a7928911abad124a6f9670c28f2a56bc7f7f3bae965f717977a0e9a3953514a663c3f7eb4a802cca8e5607feec829a3b7ffeccc83a835fd77a74b6 WHIRLPOOL 321ec489a474b9a63a762756d929371bd8c05ea5d2fa7994c597a86dc20009f385c5f8d23c1da5f978e9f358949a96bf23bf218245633fd5f4393294fbecee75 EBUILD arx-libertatis-1.0.2-r1.ebuild 2373 SHA256 80beb7fbcfd7f7583250331e084d9d047717ead3b002a5f4a7fbdd8f93a34a19 SHA512 57fa3fc5c3e44b2539aff9aa77d6284b4d513e1fc0a53d1181f32220072fee8c1aaa43674664ef62501fcbcb9cb1153d9541e626486fbb3e755697f76b0f4858 WHIRLPOOL 5eeb81363271e01455cd48fe8375c700c6fc5398be2450444b848c3158ae6ab8cd5f3e3795a323fc4aca921fe2a2a0e8ad78ed08642bcb1e40f3e645c558af58 -MISC ChangeLog 1103 SHA256 e83648c21c8ad6a1c62020d40b1e78c314ea5f129f223c39923bad8fbfc73f0e SHA512 1ddd2f8b5ac1c9a8f4cbf9260dfc535e5e3fe64d2599ab3a703748000396d0dcb8b1db5f8e864b4865c1b8e20c9a3ac6f446686655c1f6b155565488c1d71f40 WHIRLPOOL b9e42ccffcfa2c7aa1950bf1f6461259bb542859a27230193130330d3e00e2dcd0ea3cf19d3ea23801ff134b297223278d2e63dc17dafbe0d22a50937f8683b3 +EBUILD arx-libertatis-1.0.3.ebuild 2370 SHA256 5990f9bea2e978b0c8d5d6e4e4c7a22807d368545da5697624be006ce0522c14 SHA512 b50dbc995c5dd9647e1761cecc9697130afaa950200623d5a132cec119c9fda7ce96e2f440e1322f1c048eea67aed90dd2796cdedba48da159e88e5273a03ad6 WHIRLPOOL 9605872a46cfb47720f8d83510bc1b4ccedaaec6ddbdfbd307f762c82aa41f276d772c1f8c20a294e2b2342ca7e8d1bfc9efd778c156fe33b1ea66cea4636179 +MISC ChangeLog 1281 SHA256 9726c52c30bd9b62a872dc97d258530b2f71810bb2dcec3be492e4f8eb6e0db1 SHA512 7d4473d8336aaf94b4dbcda9a93d9e8dc568a93ffe55753e754b4a4f4acec2d1b27ed38f3dc7f37bb3dced85c88cf0f97240f7dfaa12339476b7e6f826431fe4 WHIRLPOOL 9eafa5bbcba330c43ba75f85cf272c4f408fed4460d812c0b89255918dc9f825a8297fdc4c3f48cd7736a6d94af7b1cad6d117d4ac535270ca5b7795d3c4f59f MISC metadata.xml 952 SHA256 b74747eda1686586d9c7fbeaf3f52102af43f468704707c5702670caa5e03aed SHA512 6c28dedbf6902a0228332a987c46730171c8cb380eefadaa52d87a181225207a8713888ac99d0eb6f2211eccdc670c866f0c7cbe8525b2300fd910c4091bd4b4 WHIRLPOOL bafeee8fc21e22dad3106367d52eecefeb1885e287a273c1ef7f66d9b02804a317bc05e58eba6e0db5a9403f8df015749e3f2bc588e5a10392237707ec589043 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQF59QAAoJEFpvPKfnPDWzcocIAI+3+yJS3LLnlpLAezrP2O8y -aeNMd1ESrThGIFud+78pKPc1WJKggjl+R7fZ7vOs8yfG1Y/u8s6FxpBHY68yEF3M -rdvyPxN0QqX/Laii3pejTxBaLLpXoymudAfLXanAOp5IAi0VUeNLlN4nZ8z9NWsh -c+jaLckE2FDa7GLCTmGTa7UhIDKY3wGKOl67AhCgCDhOckEqiAvOZhf6/msQCYbf -toYzKsr15tChaKvrdDH/8c1kY5CYCr3jN8d5dsGxuzbklqLxeSggWpQnQrF3mQXh -CNxLBXw+Du/uFOxEdzTiPqMfG7Ze/VvTcEECmuBTRVHeutfIN++0sPW4w+ubbb4= -=jbw4 +iQEcBAEBCAAGBQJQF6AGAAoJEFpvPKfnPDWzKucH/RPjaDmRZuDGf12bBK9WxNKP +eA7XQnixMFVrrTH8YLqBjzmXuiue5C65xTeLfiEeJmKFbg0oO0Y9ddavaASe1gTX +GIEhf1ndmi2UGpCX8TqynupxsxYz9iVTpvXeVumoPdKv/oIYJv5zRNEsgCPOXSkB +AWLm3FGcTh9EhmwK1q8x9VYbYNV4IuaVizyxcEhQ13e7cJoVLJmXUdw3S65QOXpg +a8sOVMqFL//lmybEzSfPp5/PVyQBO6AH5gzfkAwaL18yovbOBUKYyjhbPpda7HLe ++Npo3OLjVXlDhLtGDKi1sgSf8RygemDtJBL2f0xrd8CwY3JQeFLz8Kui4oeU/jc= +=XuB6 -----END PGP SIGNATURE----- diff --git a/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild b/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild new file mode 100644 index 000000000000..9df38dee499a --- /dev/null +++ b/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild @@ -0,0 +1,93 @@ +# 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.3.ebuild,v 1.1 2012/07/31 09:10:33 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://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:4[ssl] + x11-libs/qt-gui:4 + )" +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) + -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" + -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 + dogamesbin "${FILESDIR}"/arx-data-copy + 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 + elog "You might want to enable cdinstall or demo useflag." + elog + elog "If you have already installed the game or use the STEAM version," + elog "run \"${GAMES_BINDIR}/arx-data-copy /path/to/installed-arx /usr/local/share/games/arx\"." + 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.3-gentoo.patch b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch new file mode 100644 index 000000000000..c1da7f7136d1 --- /dev/null +++ b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-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") |