hasufell 14/10/12 22:30:19 Modified: ChangeLog metadata.xml Added: corsix-th-0.30.ebuild Log: version bump (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Revision Changes Path 1.3 games-simulation/corsix-th/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/ChangeLog?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/ChangeLog?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/ChangeLog?r1=1.2&r2=1.3 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-simulation/corsix-th/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ChangeLog 28 Jul 2013 21:02:57 -0000 1.2 +++ ChangeLog 12 Oct 2014 22:30:19 -0000 1.3 @@ -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 <hasuf...@gentoo.org> +corsix-th-0.30.ebuild, + +files/corsix-th-0.30-install.patch, metadata.xml: + version bump 28 Jul 2013; Angelo Arrifano <mik...@gentoo.org> corsix-th-0.21-r1.ebuild, metadata.xml: 1.3 games-simulation/corsix-th/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/metadata.xml?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/metadata.xml?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/metadata.xml?r1=1.2&r2=1.3 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-simulation/corsix-th/metadata.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- metadata.xml 28 Jul 2013 21:02:57 -0000 1.2 +++ metadata.xml 12 Oct 2014 22:30:19 -0000 1.3 @@ -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> 1.1 games-simulation/corsix-th/corsix-th-0.30.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/corsix-th-0.30.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/corsix-th/corsix-th-0.30.ebuild?rev=1.1&content-type=text/plain Index: corsix-th-0.30.ebuild =================================================================== # 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 }