diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-action/violetland | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-action/violetland')
-rw-r--r-- | games-action/violetland/Manifest | 4 | ||||
-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, 107 insertions, 0 deletions
diff --git a/games-action/violetland/Manifest b/games-action/violetland/Manifest new file mode 100644 index 000000000000..b4d2eca0538c --- /dev/null +++ b/games-action/violetland/Manifest @@ -0,0 +1,4 @@ +AUX violetland-0.4.3-boost150.patch 1431 BLAKE2B 389d34120891715c27cbd298223add3510f90ae87ad5ec27dc6b897a9e2b7688a8e5f74b572852fb40902e4ef2163d5e7c8f551c876a563108081edbe7bf2e5d SHA512 1cff30cc2cab843f52b37bf3e5d52de0fdc81f1a24c713a133d557cc72fbd050ff4512a71badb9f3d536838fccbe6e737719ae87345f2dcc7f719433eecd1d58 +DIST violetland-0.4.3.tar.gz 9257919 BLAKE2B 255c9c13a49db576a37dbd4aa863306f0778f9528173426b26934a674dd0145574ff96242577feff8a4566571eebd97d0cb7a1d8a9718ac84fcd6c4492230fd5 SHA512 678e1aea42c9358794c6b8b83bdd113baf26e16db4cb815c756cb6c1d268b8210d18a47d1a98a019556633b4db62cd8cf7fc6a1e1ec3b7e3647a9d8353020fae +EBUILD violetland-0.4.3-r1.ebuild 1047 BLAKE2B 1a6c200d3ded4c442e04e6740d0427845dd4c452aa48c1e0bf040a4a2f6809d74400d3a89b37667693ae0175d202c36699e57f3b836dabe8cecfaea311affe17 SHA512 595ae6a1ae5b6f16a5bf256a69aa835b4e752af8d958b99e1816e6f997152a7ca0507a67a85d35a1b21b3f4636adc27927869bf236424f98477745cc8d5046c7 +MISC metadata.xml 328 BLAKE2B fd9922713b8600517ee67c777214e2ba3c92571b077e90fab4ce1940fff0234c58737ee5ead0797dc0668a96f853bb6a272c7ae1c1db63db26936a82ef90325c SHA512 b19362a0378f6fe898217e14002f5d55c16f79924e2b152e16224c7873cb5910e343e0d2be6a31767f26c51a354c050d42175dfbbe428911b6985c0495ad9f5f 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..d277b84a643c --- /dev/null +++ b/games-action/violetland/violetland-0.4.3-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 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://violetland.github.io/" +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 +} |