diff options
Diffstat (limited to 'games-action/violetland')
-rw-r--r-- | games-action/violetland/Manifest | 6 | ||||
-rw-r--r-- | games-action/violetland/files/violetland-0.4.3-boost150.patch | 41 | ||||
-rw-r--r-- | games-action/violetland/metadata.xml | 11 | ||||
-rw-r--r-- | games-action/violetland/violetland-0.4.3-r1.ebuild | 51 |
4 files changed, 109 insertions, 0 deletions
diff --git a/games-action/violetland/Manifest b/games-action/violetland/Manifest new file mode 100644 index 000000000000..03301ba85e3e --- /dev/null +++ b/games-action/violetland/Manifest @@ -0,0 +1,6 @@ +AUX violetland-0.4.3-boost150.patch 1431 SHA256 48ed266e255edc85ed374506188470bbc525b871e2d60e0070d8bf2869f77b60 SHA512 1cff30cc2cab843f52b37bf3e5d52de0fdc81f1a24c713a133d557cc72fbd050ff4512a71badb9f3d536838fccbe6e737719ae87345f2dcc7f719433eecd1d58 WHIRLPOOL 1d8e7a40a182402e30b1732c31ad8b5ff09989acc2491c533cf7430b515ab716d8435239cb4dd3e865c138c02329933e7535d9026e08ac426c9779054bf63944 +DIST violetland-0.4.3.tar.gz 9257919 SHA256 678996c02ba780f6cb4199e7d85e508c6c86dd8d3793b9ff9618f1cc7c7755ad SHA512 678e1aea42c9358794c6b8b83bdd113baf26e16db4cb815c756cb6c1d268b8210d18a47d1a98a019556633b4db62cd8cf7fc6a1e1ec3b7e3647a9d8353020fae WHIRLPOOL eaaea512ea6ff16d8d312182d981516da7420d05f8541ba7d0ab2e50b1960ed2956e018c3a7afcadc0125f57996c0db6b0e238de50a00b0f4e7ebbb8dc6afaa3 +EBUILD violetland-0.4.3-r1.ebuild 1053 SHA256 af92f8b2b13681b8f0296465540a7353d85b753e217bde507a1edaa9a9c354d8 SHA512 b518e230acc0520b62e93d05956236bbbfe071062381137488da1d683fadd052f336644eeb7e05845faab9e31295d450ad3073c2649f19fc20e132d0376f6bbd WHIRLPOOL 003f5ac4ca97826a5aa7b1e5a4edf6898c44fb992d6a8f1b7c2651c14560626a3360c202a5dfd0f12286d4b1a3f450b2e3a50919036672bbbd92301643278d16 +MISC ChangeLog 2806 SHA256 77cbd331fc9959732834b768c2b92915f4a1aa2d43c6cd06cde79b39fa96d976 SHA512 bdb60bb1872d33b7d8eaa4cd6de2a7ba8faf9ee75ec7a7b0fbc207a5ad946511b7103ccfbca27b5c9252626e1be4f97c93950e8de8cdfe6888d06db7a3994e07 WHIRLPOOL 022962341cc13d905614513a10c71062f335027c5aceebef35f83a0a1d5f79c20d9235bd58c7a620c39bb507538c5ed2ea0153b619ed2fca3fd38afa3561b2d2 +MISC ChangeLog-2015 4452 SHA256 ed0d85ec6afbdcfd8455731f879b974720938b286fec991b89a1bab21841baa5 SHA512 54aa697a8180493470d1b709c52702b336b8cdbadbca12c651134856bc2e63d1cd651e02e20a38b8b2fc5aecede387cb95fa0c1f30e559add0db81621c2fd294 WHIRLPOOL 84c31a42b7f0667caeced2c719e1ac6ad111b779f84a9c68ab9f3ab3f586d915bde1baf161a1c593bd820b99867512587363a90d976270a095315412fb24900a +MISC metadata.xml 328 SHA256 a3e2879c174d70bd0d86a5b6cc84e385708d50c1a03a18c166b2bf5d4c078132 SHA512 b19362a0378f6fe898217e14002f5d55c16f79924e2b152e16224c7873cb5910e343e0d2be6a31767f26c51a354c050d42175dfbbe428911b6985c0495ad9f5f WHIRLPOOL 4d3020e9062fa70c5679673b2b949db3be1c619ada98910ba10547d26eee396aae949902dbd0e8979b9c3470e8e9af62b169ebb52ff6dd97bf450a2de8a2f2be diff --git a/games-action/violetland/files/violetland-0.4.3-boost150.patch b/games-action/violetland/files/violetland-0.4.3-boost150.patch new file mode 100644 index 000000000000..5ddd5e8445b8 --- /dev/null +++ b/games-action/violetland/files/violetland-0.4.3-boost150.patch @@ -0,0 +1,41 @@ +--- a/CMakeLists.txt 2012-11-05 15:19:11.501044743 +0100 ++++ b/CMakeLists.txt 2012-11-05 15:19:25.415250207 +0100 +@@ -8,7 +8,6 @@ + find_package(SDL_mixer REQUIRED)
+ find_package(OpenGL REQUIRED)
+ find_package(Boost COMPONENTS filesystem system REQUIRED)
+-add_definitions(-DBOOST_FILESYSTEM_VERSION=2)
+
+ if(${MINGW})
+ set(INTL_LIBRARY intl)
+--- a/src/system/utility/FileUtility.cpp 2012-11-05 21:26:07.865488297 +0100 ++++ b/src/system/utility/FileUtility.cpp 2012-11-05 21:30:44.881208230 +0100 +@@ -20,7 +20,7 @@ +
+ while (dir_it != boost::filesystem::directory_iterator()) {
+ if (boost::filesystem::is_regular_file(*dir_it))
+- files.push_back(dir_it->filename());
++ files.push_back(dir_it->path().filename().string());
+ ++dir_it;
+ }
+ return files;
+@@ -32,8 +32,8 @@ +
+ while (dir_it != boost::filesystem::directory_iterator()) {
+ if (boost::filesystem::is_directory(*dir_it))
+- if (dir_it->path().filename()[0] != '.')
+- subDirs.push_back(dir_it->path().filename());
++ if (dir_it->path().filename().string()[0] != '.')
++ subDirs.push_back(dir_it->path().filename().string());
+ ++dir_it;
+ }
+ return subDirs;
+@@ -45,7 +45,7 @@ +
+ while (dir_it != boost::filesystem::directory_iterator()) {
+ if (boost::filesystem::is_directory(*dir_it))
+- if (dir_it->path().filename()[0] != '.')
++ if (dir_it->path().filename().string()[0] != '.')
+ ++count;
+ ++dir_it;
+ }
diff --git a/games-action/violetland/metadata.xml b/games-action/violetland/metadata.xml new file mode 100644 index 000000000000..21c980e6339f --- /dev/null +++ b/games-action/violetland/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="github">violetland</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-action/violetland/violetland-0.4.3-r1.ebuild b/games-action/violetland/violetland-0.4.3-r1.ebuild new file mode 100644 index 000000000000..0611b91d5ba7 --- /dev/null +++ b/games-action/violetland/violetland-0.4.3-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils cmake-utils + +DESCRIPTION="Help a girl named Violet in the struggle with hordes of monsters" +HOMEPAGE="https://code.google.com/p/violetland/" +SRC_URI="https://github.com/ooxi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3 CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-libs/boost:=[threads(+)] + media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + virtual/glu + virtual/opengl" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-boost150.patch ) + +src_prepare() { + cmake-utils_src_prepare + + sed -i \ + -e "/README_EN.TXT/d" \ + -e "/README_RU.TXT/d" \ + CMakeLists.txt || die "sed failed" + rm README_RU.TXT || die +} + +src_configure() { + local mycmakeargs=( + -DDATA_INSTALL_DIR=share/${PN} + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + newicon icon-light.png ${PN}.png + make_desktop_entry ${PN} VioletLand +} |