From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-action/lugaru/Manifest | 9 ++++ .../lugaru/files/lugaru-20151204-dir.patch | 11 ++++ games-action/lugaru/files/lugaru-9999-dir.patch | 11 ++++ games-action/lugaru/lugaru-20151204-r1.ebuild | 57 ++++++++++++++++++++ games-action/lugaru/lugaru-20151204.ebuild | 54 +++++++++++++++++++ games-action/lugaru/lugaru-9999.ebuild | 62 ++++++++++++++++++++++ games-action/lugaru/metadata.xml | 11 ++++ 7 files changed, 215 insertions(+) create mode 100644 games-action/lugaru/Manifest create mode 100644 games-action/lugaru/files/lugaru-20151204-dir.patch create mode 100644 games-action/lugaru/files/lugaru-9999-dir.patch create mode 100644 games-action/lugaru/lugaru-20151204-r1.ebuild create mode 100644 games-action/lugaru/lugaru-20151204.ebuild create mode 100644 games-action/lugaru/lugaru-9999.ebuild create mode 100644 games-action/lugaru/metadata.xml (limited to 'games-action/lugaru') diff --git a/games-action/lugaru/Manifest b/games-action/lugaru/Manifest new file mode 100644 index 000000000000..c2eeecdf9d1e --- /dev/null +++ b/games-action/lugaru/Manifest @@ -0,0 +1,9 @@ +AUX lugaru-20151204-dir.patch 317 SHA256 2bcfbf4d5de56f7d22d0c2b11e01770b38eed07ab6781b829590a7ddedfaa0be SHA512 c0830385ca57dfda082596f65e7166ba71148fcb2b99e416a4a6ef8882c280a823e6308fce9fcfab62127667a10f0ed0ef49df60f1f39627615ff21c9ffd62e2 WHIRLPOOL 4e641870b78a7d239402792348a6512ae2b0fda517d37dbdb01ebeb8fac3604e8136c058d707d3e1d0f56bb8a0f50194edf6366a34f7c2007f860be565b4fcbd +AUX lugaru-9999-dir.patch 317 SHA256 2bcfbf4d5de56f7d22d0c2b11e01770b38eed07ab6781b829590a7ddedfaa0be SHA512 c0830385ca57dfda082596f65e7166ba71148fcb2b99e416a4a6ef8882c280a823e6308fce9fcfab62127667a10f0ed0ef49df60f1f39627615ff21c9ffd62e2 WHIRLPOOL 4e641870b78a7d239402792348a6512ae2b0fda517d37dbdb01ebeb8fac3604e8136c058d707d3e1d0f56bb8a0f50194edf6366a34f7c2007f860be565b4fcbd +DIST lugaru-20151204.tar.bz2 88950866 SHA256 dae6a9e8ee70cc965a4299d2062725ce19dc9e4f1ba2a46c9205cb4e138be6b8 SHA512 8e448b782847376ac10585996a91a571fd005ac51e0e510765a35bf44bfcbb09e566d9a9c3d87277e69511b0f8d74c04edcc4b59f467bed640d8ba7c74045e30 WHIRLPOOL b2bcae57d8bfd13361c42c6d56fa285bc58fcd4bd6fb119931501db66005e5ece98487e413e41d1419c8f0408dc7507efa7f721db7df2b8d8a1572a65c28eb0e +EBUILD lugaru-20151204-r1.ebuild 1141 SHA256 b026ae962e24bca330e296fcfaf65f30ccbcd64251829e0fec410fb4bb0da4f5 SHA512 e10be76f0a4d285de07678121ae7e60b9bd2ce3e7b582c6e5bf593c5cdfe3b10db48ef89ff1627b06954c794f65edf7c20c425ead9ac75e3327aa0ddc344d5aa WHIRLPOOL 916bfe1eafe5db34396dec820b24a3d75ca62cf3ecea2523bb02b01f5df8f09a6d420e62ed12d98e451ab6a7d7e90690dd9c336cbb92843c3612501d0c73f134 +EBUILD lugaru-20151204.ebuild 1164 SHA256 c68fa615f5dda8c924f20c12c4c7118097ba032d9d4529dfa6d3cb34adae509d SHA512 813e9d46864428ff58b733a1b03ff85a4c8904469678ad74a13f0384abba7663457d57e7a534f684efe915090fc2e17d170f951b27558bf8a22fbccee8082733 WHIRLPOOL 9a84231832d7eadeddca4950253743cd8e30b2b140ef5438ec1aee84ce2b015dde8be5190d9b99158be47976eca502657dd1cef08c273993b315c5f8542e5164 +EBUILD lugaru-9999.ebuild 1219 SHA256 7ee5ba91f3b8bb81f5a41670bd8cc32e7092ed6c34c3833c1a32d2edaf9d1042 SHA512 808e2b417c127100fa34d64aeff09e7ede3494feb3daddd3225d4b5f5cba724ebb4e6f0ba3740cc30f9aa5c6410616be74376564faba648dfefd80fd6e495eb0 WHIRLPOOL 78b80fcb4eb6f42cc00c36b38884cdea11f728aaf526e9e1c10e9a262f79b516486901c4d29fd6cbd7f73b6132e2ab21bfd91aa65ada81ec6c71b2c1b5b8a82c +MISC ChangeLog 4017 SHA256 59051ce8100fdb7cc95cd0b7302370e16402c87d82430aedb34185e21d7e4c64 SHA512 aa5d5c81396a0eb3264f434f862a428aee02cbc3bc77a283eb6b0aec062f4dfb8ae141735b6a06e98e23257bc366cb92c26b12f0c14a320584bd6d8cd7615efb WHIRLPOOL 86209db12a8bc6426656fd04dc5510ed778d75637853e16a6c934a99dd5055a0fea146426e217dd8912fd66f1bb8df2885827d8d0c53b651196d0a4dedd3cad9 +MISC ChangeLog-2015 1267 SHA256 1863be6ef621ee3a0f00f53fe1045e22d92ce5a602db2619743d70a19f68fd65 SHA512 bc5daae3d1fb55ce65a7b66623293fe9847c0c734a1c9dc860fb8d9089b9bb6a46849da7b256a791e6ebeeace723594ce43131ccac7ff2f324cb8c368943875e WHIRLPOOL 708d7e91a198c292bf99d5d6d26051d9edd8186d431558d85c97e6d76ef3158a3f6c64e01c9e0c340b62fe9e96d68175f12e509cc0d18a5f8279183a8696a70d +MISC metadata.xml 337 SHA256 7c49c04cc43dc6cc69def4aa02a80f5ae937d4f09e5855e0e279cd5e517041ec SHA512 10af1cda47d8d683fc8245f23c05243fb5809636399d75779081a3da09209829da31a8d5fa070687656e9c235e78c75f1571b5b4f1a686359a11d1232a543b5e WHIRLPOOL 3c31d0a2ca33035c73c723d2df972795c7cdaa7f47cadb8ca9e06d583c8a541751b805970f11e6b47329ffa79c10ae28a875d5d6c9633230065a80c5be8b4a94 diff --git a/games-action/lugaru/files/lugaru-20151204-dir.patch b/games-action/lugaru/files/lugaru-20151204-dir.patch new file mode 100644 index 000000000000..da9310dde58e --- /dev/null +++ b/games-action/lugaru/files/lugaru-20151204-dir.patch @@ -0,0 +1,11 @@ +--- a/Source/OpenGL_Windows.cpp 2015-01-14 23:57:19.799186785 -0500 ++++ b/Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500 +@@ -1330,7 +1330,7 @@ + + // !!! FIXME: we could use a Win32 API for this. --ryan. + #ifndef WIN32 +- chdirToAppPath(argv[0]); ++ chdir("@GENTOO_DIR@"); + #endif + + LOGFUNC; diff --git a/games-action/lugaru/files/lugaru-9999-dir.patch b/games-action/lugaru/files/lugaru-9999-dir.patch new file mode 100644 index 000000000000..da9310dde58e --- /dev/null +++ b/games-action/lugaru/files/lugaru-9999-dir.patch @@ -0,0 +1,11 @@ +--- a/Source/OpenGL_Windows.cpp 2015-01-14 23:57:19.799186785 -0500 ++++ b/Source/OpenGL_Windows.cpp 2015-01-14 23:57:36.022643953 -0500 +@@ -1330,7 +1330,7 @@ + + // !!! FIXME: we could use a Win32 API for this. --ryan. + #ifndef WIN32 +- chdirToAppPath(argv[0]); ++ chdir("@GENTOO_DIR@"); + #endif + + LOGFUNC; diff --git a/games-action/lugaru/lugaru-20151204-r1.ebuild b/games-action/lugaru/lugaru-20151204-r1.ebuild new file mode 100644 index 000000000000..ac9ad89e8c7f --- /dev/null +++ b/games-action/lugaru/lugaru-20151204-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils cmake-utils + +DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters" +HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libpng:0 + media-libs/libsdl[opengl,video] + media-libs/libvorbis + media-libs/openal + sys-libs/zlib + virtual/glu + virtual/jpeg:0 + virtual/opengl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-dir.patch" +) + +src_prepare() { + default + sed -i \ + -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \ + Source/OpenGL_Windows.cpp || die +} + +src_configure() { + mycmakeargs=( + "-DCMAKE_VERBOSE_MAKEFILE=TRUE" + "-DLUGARU_FORCE_INTERNAL_OPENGL=False" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + dobin "${WORKDIR}/${P}_build/lugaru" + insinto /usr/share/${PN} + doins -r Data/ + newicon Source/win-res/Lugaru.png ${PN}.png + make_desktop_entry ${PN} Lugaru ${PN} +} diff --git a/games-action/lugaru/lugaru-20151204.ebuild b/games-action/lugaru/lugaru-20151204.ebuild new file mode 100644 index 000000000000..0a4ed3e8879a --- /dev/null +++ b/games-action/lugaru/lugaru-20151204.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils cmake-utils games + +DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters" +HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + virtual/glu + virtual/opengl + media-libs/libsdl[opengl,video] + media-libs/openal + media-libs/libvorbis + virtual/jpeg:0 + media-libs/libpng:0 + sys-libs/zlib" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}-dir.patch" + sed -i \ + -e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \ + Source/OpenGL_Windows.cpp || die +} + +src_configure() { + mycmakeargs=( + "-DCMAKE_VERBOSE_MAKEFILE=TRUE" + "-DLUGARU_FORCE_INTERNAL_OPENGL=False" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + dogamesbin "${WORKDIR}/${P}_build/lugaru" + insinto "${GAMES_DATADIR}/${PN}" + doins -r Data/ + newicon Source/win-res/Lugaru.png ${PN}.png + make_desktop_entry ${PN} Lugaru ${PN} + prepgamesdirs +} diff --git a/games-action/lugaru/lugaru-9999.ebuild b/games-action/lugaru/lugaru-9999.ebuild new file mode 100644 index 000000000000..c447775fa520 --- /dev/null +++ b/games-action/lugaru/lugaru-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils cmake-utils mercurial + +EHG_REPO_URI="https://bitbucket.org/osslugaru/lugaru/" +DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters" +HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home" +SRC_URI="" + +LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=" + media-libs/libsdl[opengl,video] + media-libs/libpng:0 + media-libs/libvorbis + media-libs/openal + sys-libs/zlib + virtual/glu + virtual/jpeg:0 + virtual/opengl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_unpack() { + mercurial_src_unpack +} + +PATCHES=( + "${FILESDIR}/${P}-dir.patch" +) + +src_prepare() { + default + sed -i \ + -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \ + Source/OpenGL_Windows.cpp || die +} + +src_configure() { + mycmakeargs=( + "-DCMAKE_VERBOSE_MAKEFILE=TRUE" + "-DLUGARU_FORCE_INTERNAL_OPENGL=False" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + dobin "${WORKDIR}/${P}_build/lugaru" + insinto /usr/share/${PN} + doins -r Data/ + newicon Source/win-res/Lugaru.png ${PN}.png + make_desktop_entry ${PN} Lugaru ${PN} +} diff --git a/games-action/lugaru/metadata.xml b/games-action/lugaru/metadata.xml new file mode 100644 index 000000000000..f50d5486c2ab --- /dev/null +++ b/games-action/lugaru/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + osslugaru/lugaru + + -- cgit v1.2.3