diff options
Diffstat (limited to 'games-arcade/jvgs')
-rw-r--r-- | games-arcade/jvgs/Manifest | 6 | ||||
-rw-r--r-- | games-arcade/jvgs/files/jvgs-0.5-flags.patch | 14 | ||||
-rw-r--r-- | games-arcade/jvgs/jvgs-0.5.ebuild | 56 | ||||
-rw-r--r-- | games-arcade/jvgs/metadata.xml | 11 |
4 files changed, 87 insertions, 0 deletions
diff --git a/games-arcade/jvgs/Manifest b/games-arcade/jvgs/Manifest new file mode 100644 index 000000000000..ad5c5ecf5037 --- /dev/null +++ b/games-arcade/jvgs/Manifest @@ -0,0 +1,6 @@ +AUX jvgs-0.5-flags.patch 333 SHA256 2bd3c113b997db45cd2d4ff3c75ad04d33762c4bc12c2eaceedf183bf7884f1e SHA512 9eea5a791f35f5924f734566823b2814be36e70e60b1e96d104fef8a0ecf9ac0c8f2b53a0fc6cab5d4dcd022cb3e4e93d59f057a5bc67f3a94e00b0a7d86bb34 WHIRLPOOL f00dcce8276b62267d74396e22d6c2e06e75f21841ef8d5b11ffe6b5d9e915786b9b7b8dc7c33742cf00173a510fd5a55848274b21ac79a45deec0e193df9f6c +DIST jvgs-0.5-src.tar.gz 25917861 SHA256 b906b96a532303df295312e7b352ab06d1c010ccf201527b2dade4634529efdb SHA512 0a0a8e7a0e7dce6f61bcd328f579212115eb95e3dce8ca223c1d8a3432d9083bf9a313f02f46b799991aa32f10cb9c14e8ecb63a4578b1ffaabc374ba139b28d WHIRLPOOL d56c4eb789bcc53cbc20efb3240c020189f8e785324755e2d6ce668ab673862f5a6fe5b77b4a126a87bd8d0834efac3fc94979897773b273ecfe5c47d932ab1a +EBUILD jvgs-0.5.ebuild 1085 SHA256 7e843ce2d875510150801158be2d87539604b53c8010aae411e9ae2072df5309 SHA512 368e0cc4134b8dfa9dd2f682123a831ac561883eafb29ff9d29e1e43f39d8fe151ce6485f4133d3faaf5fa76dac15eff010454fbabc6cf6c968f553e85c19665 WHIRLPOOL 66b9ebcd1cbdb23bcb3bcd98165c1361ef2a7b7ef5dadd6a7158f273a7e5a5b3cfc21544805e605ff9996fe30f8c2a0c6e4cf326e1a463e8c09151c19d9c4afa +MISC ChangeLog 2447 SHA256 d4f807312a3cb023d31d0eebc1c952bac62e0917345c9fb76f54d3219757df3b SHA512 b6f20040fb8e973830d264a487c939a1838e21f84f44fa3aa84afb0d4c1a3777a329df39c2d259c940c98f42d3577942c9f2def1ecc8cde07796859f2cacf092 WHIRLPOOL fd44daed04d8db92c5f08202aa243150a34a15211a50ed8b84894e0912670616efcc2946c645cd9bfee3c2ded1a79d0d60b0411950052080d6be47b095c030bb +MISC ChangeLog-2015 868 SHA256 f90732281b9031f413deffe6fe66894b49d8443545bcdc953992ca2feed68270 SHA512 e325d15d75a5fb2ce3ba62118a2691dad0841b505f7e79e198d55ff03cf89e0f18f41b28298d17e2c7808a2e22c720362c8fcc370ce30690e7c4e9187306de07 WHIRLPOOL 5e5e5852d454b4c515780b7ba0c3df17731f95966a57fdf01f52164d9264574167aaf57caf691b96bbb254127ec81b8d9c95b3f3cb3657353f439e01bfbfecaf +MISC metadata.xml 327 SHA256 8f8b4f86f95f2a3e782d9b9323614808cf61ba9ca1012e83352b5d75e33b00a5 SHA512 d37e6f081f28683f1071e57de49287534e6797902e24c681f87477af286a6227eb76abd63bd3091b077270e44061cd0676e49fecf4e74f54d455281fa67946bd WHIRLPOOL 3ace7175d7f8723b3524e530c9867c30a2e05742281559ad3f3a66bb5090bb0f2c3f7d7cabc49e213a6fef3b99a38e28d4dc77f0b2d84f5182a5d35437d88f9d diff --git a/games-arcade/jvgs/files/jvgs-0.5-flags.patch b/games-arcade/jvgs/files/jvgs-0.5-flags.patch new file mode 100644 index 000000000000..04f88b88bc6d --- /dev/null +++ b/games-arcade/jvgs/files/jvgs-0.5-flags.patch @@ -0,0 +1,14 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Aug 5 19:57:32 UTC 2012 +Subject: build system + +respect cxxflags + +--- src/CMakeLists.txt ++++ src/CMakeLists.txt +@@ -1,4 +1,4 @@ +-SET( CMAKE_CXX_FLAGS "-DTIXML_USE_STL -ggdb" ) ++SET( CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -DTIXML_USE_STL" ) + + INCLUDE_DIRECTORIES( + ${SDL_INCLUDE_DIR} diff --git a/games-arcade/jvgs/jvgs-0.5.ebuild b/games-arcade/jvgs/jvgs-0.5.ebuild new file mode 100644 index 000000000000..d53c882b314d --- /dev/null +++ b/games-arcade/jvgs/jvgs-0.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CMAKE_IN_SOURCE_BUILD=1 +inherit cmake-utils eutils games + +DESCRIPTION="An open-source platform game with a sketched and minimalistic look" +HOMEPAGE="http://jvgs.sourceforge.net/" +SRC_URI="mirror://sourceforge/jvgs/${P}-src.tar.gz" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/opengl + dev-lang/lua:0 + sys-libs/zlib + media-libs/libsdl[video] + media-libs/sdl-mixer[vorbis] + media-libs/freetype:2" +DEPEND="${RDEPEND} + dev-lang/swig" + +S=${WORKDIR}/${P}-src + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch +} + +src_configure() { + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + exeinto "$(games_get_libdir)" + doexe src/${PN} + + insinto "${GAMES_DATADIR}"/${PN} + doins -r main.lua resources + + games_make_wrapper ${PN} "/$(games_get_libdir)/${PN}" \ + "${GAMES_DATADIR}/${PN}" + + newicon resources/drawing.svg ${PN}.svg + make_desktop_entry ${PN} ${PN} + + dodoc AUTHORS README.markdown + + prepgamesdirs +} diff --git a/games-arcade/jvgs/metadata.xml b/games-arcade/jvgs/metadata.xml new file mode 100644 index 000000000000..88e6fd346456 --- /dev/null +++ b/games-arcade/jvgs/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">jvgs</remote-id> + </upstream> +</pkgmetadata> |