diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-10-12 22:30:24 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-10-12 22:30:24 +0000 |
commit | 60735e5580fb44f3860b9162de86d671b061cc39 (patch) | |
tree | 6edb592805dc4e145b1dec7f9441f0ce6c12e879 /games-simulation | |
parent | Remove short <longdescription>. (diff) | |
download | historical-60735e5580fb44f3860b9162de86d671b061cc39.tar.gz historical-60735e5580fb44f3860b9162de86d671b061cc39.tar.bz2 historical-60735e5580fb44f3860b9162de86d671b061cc39.zip |
version bump
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64
Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/corsix-th/ChangeLog | 10 | ||||
-rw-r--r-- | games-simulation/corsix-th/Manifest | 27 | ||||
-rw-r--r-- | games-simulation/corsix-th/corsix-th-0.30.ebuild | 92 | ||||
-rw-r--r-- | games-simulation/corsix-th/files/corsix-th-0.30-install.patch | 40 | ||||
-rw-r--r-- | games-simulation/corsix-th/metadata.xml | 2 |
5 files changed, 163 insertions, 8 deletions
diff --git a/games-simulation/corsix-th/ChangeLog b/games-simulation/corsix-th/ChangeLog index 5a3acc89c4ae..0516b7bd0154 100644 --- a/games-simulation/corsix-th/ChangeLog +++ b/games-simulation/corsix-th/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-simulation/corsix-th -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/corsix-th/ChangeLog,v 1.2 2013/07/28 21:02:57 miknix Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/corsix-th/ChangeLog,v 1.3 2014/10/12 22:30:19 hasufell Exp $ + +*corsix-th-0.30 (12 Oct 2014) + + 12 Oct 2014; Julian Ospald <hasufell@gentoo.org> +corsix-th-0.30.ebuild, + +files/corsix-th-0.30-install.patch, metadata.xml: + version bump 28 Jul 2013; Angelo Arrifano <miknix@gentoo.org> corsix-th-0.21-r1.ebuild, metadata.xml: diff --git a/games-simulation/corsix-th/Manifest b/games-simulation/corsix-th/Manifest index e07e00b597a3..ad0b7ecae029 100644 --- a/games-simulation/corsix-th/Manifest +++ b/games-simulation/corsix-th/Manifest @@ -2,15 +2,30 @@ Hash: SHA256 AUX corsix-th-0.21-naming.patch 796 SHA256 abb543ab7dd58b212198227c95855d29e10d179434d6043fca856c3576ffe39a SHA512 20fd934258fc13bed37b9b4816fb2bbcaf54e610bdb2e4ac759a8bca7f87e628b82e86933644081aaad65b7a7e767adcbea06c8563a0f3c96b189afb49ce4aa7 WHIRLPOOL 78638e2254b79856cfab5b56a47f0496d4bfd5f2f57dba3c30ad18c8dd9632806897bc21681611c239d3ade6e3ec9e59d48ca4843b920e3694d6ad8aec206a8a +AUX corsix-th-0.30-install.patch 1197 SHA256 a45e8cb09fb16e581272238414240f924f722fc7ff19bafe16568b67ac27a631 SHA512 017f1a11d66b04408bfe4f20b176505093da0802d7f7acf9c30ef8f2d2e2e35ddc1ae2f385eaa555ae651fe1b114a0ebec6c0db3c31f0c3d90faf3fd7a139fb4 WHIRLPOOL 097d4288d4ad63e42cbe831b1af27ea3013bef8d5b76cf96114957341b44bfe704540a0d260e26ac9ba7adeaf8c750cfdb50a91c0b293dd296dc5d7fb4313d7e AUX corsix-th-nodoc.patch 478 SHA256 361f21bc204ccb157199eff6b4c88ea64b243fe5940b9272903561803058c7b1 SHA512 708813e00a0f09ccd8c6546b3cad91f8008ee1facf7b5f68a50ab99c5c8b76b7063958b85737c7ee9008aaab9f2d5a8544b793571e07be970549be0025b22211 WHIRLPOOL a3a289486833a9b8fd890b01bd226249ca4cee76c8741478e29decf7e0167b81b5a297b19a2d65ad83012ee195fffeeb1ea582f02bb9c399e198f7387a2aaa4e DIST CorsixTH-0.21-Source.tar.gz 3908197 SHA256 9a8b54644e614dc13d4b5d97bf023b8e023e0186f931695b8f4ec7e4577a4ead SHA512 6f75772a7af0a09d216f042eda437e4159061637b404c0282472dab4751b7d515e25c6a922bb51051cfe7c351396491ac68d7969e3f37dafb1862fb6c85b6b52 WHIRLPOOL 69e3a57581e0a7446fda839284d2200ed8be559403504a42cfa187c8180689b175a96fb7b15b2b124ac3605dd936190f8ee882f4ea464acdc81157f598b0b20a +DIST corsix-th-0.30.tar.gz 4345385 SHA256 4947ebdc50b01fde0aca797250d50b9806b9e6f3f4323872fd914f033f4c92e7 SHA512 1afd9d68dd6db82393e454e2c234179029902b701aafe4d2ca76381be195acba55f0ee062ce071a78cf3f5e8762e25452f386276aecc1af816553532b870964a WHIRLPOOL b01a1d72c0408c1d7d7d0a72e55c9b9f0863acfe064c07f4920c3f66bfb29fb0acf0a7e4e1d80e214b2e81d073e070427fbd8fca9cd34e14cda561159a88d4d0 EBUILD corsix-th-0.21-r1.ebuild 1660 SHA256 527556a0511497449f9a3b181b56a8382b531733fa2dece6b5e15531170c65f8 SHA512 5475ac6cf3913d0628917f13efec6d7cfed16a675b366b5d02ae2db10ced610f74109c8dcf19523e10632aa64cc924ce0f71e300b196c61d5e44ff3faaf27191 WHIRLPOOL 0512fddf4f942272e1f1b054315458986438b2ea2521f64658738ecbafe427a89bb2c84112619566ed0e8e19a32681935c4635d25ef805bd76afb76060cd824b -MISC ChangeLog 643 SHA256 f2635de4379a1abcafe2809642ddd5af6158db6b2ff52d8e40b19cf6ffc2b7b2 SHA512 fa294cab300653b308de5ca39b65930be5c4f69b90d559d4fa700a1f766d08b0f2f18fdfaddc914e3f86d7971ee08919648deb31d7ad195d5638cebcc23794a0 WHIRLPOOL 4102f481c11f4d53847f0056472406e955a25dfa21c0affcf011eb77120288361245d182128caecff0143a60970fe5f8720503325b9055f54bd05cccc40d8cd5 -MISC metadata.xml 924 SHA256 cc3e41ab202fb5ce7da399fc853dde78c88246aa139bc05c5b0ac4c11fe531a3 SHA512 2c2c1df47731364168abdf2048dd95a91d79bc62f2264edfa9bf5c4138c3d493650257f9c23caaa68213b8cc9bc8122b6ce089bbb482ef4ae383058ba59605c7 WHIRLPOOL 1dafb9c968572c6f9afeabd6c69353da5058f3c9184bb295c57265de0fad4d6fd2b0634d468fdf2d20154e73c2aba1a162b106a8291e46f2cec93b76ae848253 +EBUILD corsix-th-0.30.ebuild 2253 SHA256 f81d9ddecdcff0b6130df55047751e4d843baaa8a3c8f5c45a140fc13dd240e9 SHA512 95dbc8b178346e7fb54ad2df56005abaa424e698f3770ae91056a1093675a899976fb6438248b2730d114e51f6e853f02df5e23d78813479d2b54fe273b9af92 WHIRLPOOL 4975f6adb872dd257d5da1f963f03a075e38805d040555eceb3b601fb9fb92355abd71f582c6c0558c21a811b27701fc3831e2d0dbc0cd19b496e722744c9eaf +MISC ChangeLog 820 SHA256 ac59a06b76679c67c0124a7bc40c3688b9fb52d48072d93a12eb86f67bafae8f SHA512 c8309e8d92d5b5710c69a584e28f661be351e5ecfb087c7ae3e7deb2c9bc55752cec1bce7aa9c61fd7c91d53c920186b915e77e5703567c2f635eb5b11af7b97 WHIRLPOOL b7068423ae0b68b6ad6c2acef0c12c82b1ab6d9f8911d3039388f77cc4457631c58222f6d21fb61b121d070e4f3e04f717d4a67b61974b13b7f1202e4a680601 +MISC metadata.xml 1005 SHA256 edd275b305fb97048ce80cc1b46f81682e352eb04f968bb68166032fce37df8a SHA512 b30a21d14252dfbd664b7d2d2d5267232a6076d6f4f98901706cfb09522ad51e082b7ffbdff37e2155c5a8d14156c61f2d5bfe67663ff959a7eacac0dad840d3 WHIRLPOOL bfed02ffa3cd9b9424563ecf38e4cd56ad6b7c2575e258b5cbe9762aa8b18a0159e14abde3dd7d99055ddedfe89d305a9bf8b1560bb32de082f31ba8c07457cb -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0 -iEYEAREIAAYFAlH1ePcACgkQbkqODQcg/HTTTgCdEPBjSPUn4TZowZqZYIkiuCJx -i7AAnAnIIUiTNh5xVHVgYmYAk3qPgK49 -=nyPh +iQJ8BAEBCABmBQJUOwD+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy +MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgKK0P/1XPqeH4MhTUCOlnt6b2HWIA +zTfdGEUIcY/RB669YMyzEmRayBu5R95Ny9vPgpYhVMoqTG7OhHVkUeFMIOX9u2rE +ygI2OeQmhIn9rW+/8XTFvU22JK0hQFG553Nc6EyGValNAEU5/PmvpyGOT7Sbj9VJ ++G0qCXLyz2lfwEYpw5cnT0l9Hu8OddX83iAOhxlujk6MDGGRWS1e4hUpp0pzkj3M +SG2fCNNvh5ALKiHmZHoDQtKQDtmN09084KnWdm/8eG1wHEy1Tde3F+VV901z/BeY +IhcB9wbhJ02PJ6joBZunPEV5OdA4Vb+/7NkDm/5JFd21iThfOLWYJpGZkhG4Y+4E +2Uh0mOi4LY+zHZ8AiDTckqfnW9aeAsEMmS8pQAkcAf2GXXWJSTzw6rUYi6A4kXnS +pznem4yslEay/t7EzNvKF71HEKXNcBLEBp/2lfl6qmsLywrxv0QFt9NT0PKeGGGJ +QOFY2JxtmiH26k3nHiskQ2tStImpdcrV525H7UvrvXr+htlMy45LMSw5f73j51Ki +3rrk7jXH7hGSFGxxxSyMH/VCjL62w8D42gMo65XdtZOPhSLHwrNDIRKfsldrmx5N +apyoOqvl65DY4aolDJOD8Ick86REzSxElhICCxp/a0VheHd2UyGAVcBo0CWzut27 +xxb2uXRzF4pUtFr9ZAY+ +=S2KW -----END PGP SIGNATURE----- diff --git a/games-simulation/corsix-th/corsix-th-0.30.ebuild b/games-simulation/corsix-th/corsix-th-0.30.ebuild new file mode 100644 index 000000000000..37002154b9e2 --- /dev/null +++ b/games-simulation/corsix-th/corsix-th-0.30.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/corsix-th/corsix-th-0.30.ebuild,v 1.1 2014/10/12 22:30:19 hasufell Exp $ + +EAPI=5 + +CMAKE_IN_SOURCE_BUILD=1 +WX_GTK_VER="3.0" +inherit eutils cmake-utils gnome2-utils wxwidgets games + +MY_P="CorsixTH-${PV}-Source" + +DESCRIPTION="Open source clone of Theme Hospital" +HOMEPAGE="https://github.com/CorsixTH/CorsixTH" +SRC_URI="https://github.com/CorsixTH/CorsixTH/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ffmpeg mapeditor truetype opengl +sound" + +RDEPEND=">=dev-lang/lua-5.1 + media-libs/libsdl[X] + ffmpeg? ( virtual/ffmpeg ) + mapeditor? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) + truetype? ( media-libs/freetype:2 ) + opengl? ( virtual/opengl ) + sound? ( media-libs/sdl-mixer )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/CorsixTH-${PV} + +pkg_setup() { + games_pkg_setup + + if use mapeditor && use !opengl ; then + eerror "need opengl enabled for mapeditor to work!" + die "need opengl enabled for mapeditor to work!" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-install.patch +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with opengl OPENGL) + $(cmake-utils_use_with sound AUDIO) + $(cmake-utils_use_with truetype FREETYPE2) + $(cmake-utils_use_with ffmpeg MOVIES) + $(cmake-utils_use_build mapeditor MAPEDITOR) + -DCMAKE_INSTALL_PREFIX="${GAMES_DATADIR}" + -DBINDIR="$(games_get_libdir)/${PN}" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + + DOCS="CorsixTH/changelog.txt" cmake-utils_src_install + games_make_wrapper ${PN} "$(games_get_libdir)/${PN}/CorsixTH" \ + "${GAMES_DATADIR}/CorsixTH" + games_make_wrapper ${PN}-mapedit "$(games_get_libdir)/${PN}/MapEdit" \ + "${GAMES_DATADIR}/CorsixTH" + newicon -s scalable CorsixTH/Original_Logo.svg ${PN}.svg + make_desktop_entry ${PN} + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + elog "optional dependencies:" + elog " media-libs/sdl-mixer[timidity] (MIDI sound support)" + + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-simulation/corsix-th/files/corsix-th-0.30-install.patch b/games-simulation/corsix-th/files/corsix-th-0.30-install.patch new file mode 100644 index 000000000000..6c84bb09870f --- /dev/null +++ b/games-simulation/corsix-th/files/corsix-th-0.30-install.patch @@ -0,0 +1,40 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Oct 12 21:30:07 UTC 2014 +Subject: + +--- MapEdit/CMakeLists.txt ++++ MapEdit/CMakeLists.txt +@@ -207,5 +207,5 @@ + ENDIF() + + ELSE() +- install(TARGETS MapEdit RUNTIME DESTINATION CorsixTH) ++ install(TARGETS MapEdit RUNTIME DESTINATION ${BINDIR}) + ENDIF() +--- CorsixTH/CMakeLists.txt ++++ CorsixTH/CMakeLists.txt +@@ -223,10 +223,10 @@ + ENDIF() + + ELSE() +- install(TARGETS CorsixTH RUNTIME DESTINATION CorsixTH) ++ install(TARGETS CorsixTH RUNTIME DESTINATION ${BINDIR}) + install(DIRECTORY Lua Levels DESTINATION CorsixTH PATTERN "*.svn" EXCLUDE) + install(DIRECTORY Bitmap DESTINATION CorsixTH + FILES_MATCHING REGEX ".*\\.(tab|pal|dat|png)$" + PATTERN "*.svn" EXCLUDE) +- install(FILES CorsixTH.lua LICENSE.txt CorsixTH.ico DESTINATION CorsixTH ) ++ install(FILES CorsixTH.lua CorsixTH.ico DESTINATION CorsixTH ) + ENDIF() +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -25,6 +25,9 @@ + SET(CMAKE_OSX_DEPLOYMENT_TARGET 10.5) + ENDIF() + ++# paths ++set(BINDIR bin CACHE PATH "where to install binaries") ++ + # Define our options + OPTION(WITH_OPENGL "Activate OpenGL Renderer" OFF) + OPTION(WITH_DIRECTX "Activate DirectX Renderer" OFF) diff --git a/games-simulation/corsix-th/metadata.xml b/games-simulation/corsix-th/metadata.xml index 58226a80ca17..8bef5036ce65 100644 --- a/games-simulation/corsix-th/metadata.xml +++ b/games-simulation/corsix-th/metadata.xml @@ -10,6 +10,8 @@ <flag name='opengl'>Use OpenGL for rendering.</flag> <flag name='sdl'>Use SDL for rendering.</flag> <flag name='sound'>Use SDL mixer for in-game sound.</flag> + <flag name='mapeditor'>Build the map editor (needs opengl enabled!). + </flag> <flag name='midi'>Use SDL mixer and timidity for in-game music.</flag> <flag name='truetype'>Use high quality fonts.</flag> </use> |