summaryrefslogtreecommitdiff
path: root/games-puzzle/meandmyshadow
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/meandmyshadow
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/meandmyshadow')
-rw-r--r--games-puzzle/meandmyshadow/Manifest6
-rw-r--r--games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch17
-rw-r--r--games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild69
-rw-r--r--games-puzzle/meandmyshadow/metadata.xml11
4 files changed, 103 insertions, 0 deletions
diff --git a/games-puzzle/meandmyshadow/Manifest b/games-puzzle/meandmyshadow/Manifest
new file mode 100644
index 000000000000..03e5acfedfcc
--- /dev/null
+++ b/games-puzzle/meandmyshadow/Manifest
@@ -0,0 +1,6 @@
+AUX meandmyshadow-0.4-cmake.patch 513 SHA256 a06b3ad0726ab6b9d6635e3aedadf98922f84d694903fcb4aa9eb0d07052dc54 SHA512 e81037c98f55bebe587f878ff1f5f57c6c5558f8305f5e2cd50db0bbb5634bde418c5254f43051b07b0017b380b2144103eae8ae4fcdc3c780ce2b3134e3f538 WHIRLPOOL 77c7dae2a3049c8a3051e70264ed0f9280f127f38c0b449e0ef481d4df5ee45937cb0955843ba6f43f2f112727ac978e3ac498c29dd0522d9631ae597d3654a6
+DIST meandmyshadow-0.4-src.tar.gz 16962805 SHA256 cd20a7637499f70ac9ed0ff16a506cd6a21557c4b3643b7891fa8a25863eebb6 SHA512 945f096fdc2df58b29f91314cd88953d897bbdbd094d8092d6712d33f7dbacadd298ca797e678ebad08ca579ed67a7b9d664e1fa202753e687a021935032a92b WHIRLPOOL 5dbcaf0d3bfc9cd20b9c6d2f226035ac445b536bd4d0117966c53921d357c34816520bd80b3fefb4cb110861fab065554f9b49c689e25a8c0bb5d66a1af4968b
+EBUILD meandmyshadow-0.4.ebuild 1439 SHA256 52f6be4783ad53f246c715bb203b3c886775ebb91753e11a47c6240e46cda3b7 SHA512 025f666b1abe91fd0a18546f86e9a52ae97ddc6b7c11a384915e277c3dbb8c442dea35317e72c06e9d8bd1ea128d5a91d1c01e09e74059fadf6525d4b4c8c5e4 WHIRLPOOL 256395450fbd5de192fc379763908f53f180accad0c406f086fa93f58a4669b199e66005387faa090119a05d5b51444efe8f131e0782a7aa3b122a0e0144e3c1
+MISC ChangeLog 2791 SHA256 9e91ef36b1db41db7bf00e701b31d6e38be75f0f3ad3f193c7cedd2d52332fbe SHA512 cb839c3a7261270ab8297e38e7a745ddb7d8521b80d646061464eca2e07a806a356f400d25457d32c4c1de17707dbd51b78de6cce67ffc6d0f17b73bb4f65300 WHIRLPOOL cf76cb6c0405841bfddfd8a8748827a09fb31d30c8e2a9b330049f052e23d832614dddc894638f91579298dcb561a5c49a7d0217189520bca055e37f7f69aacd
+MISC ChangeLog-2015 1998 SHA256 918a7fb3180b6f6df165ed63f80f5101609e0f9fe7904d04a98093b42ee2ab01 SHA512 8d0b4c67291a96e4dd7f0567a01990f2dd24a1ecb4aec034a0d25532256f029de7f8f92a97e7803cda3bdf48681d77be44389fb38bf39e7ad9166ed5a2e2f3c5 WHIRLPOOL 801f720b1fed0ff4ce81638e8e5fed33e83f71d546a90c45d0315714572b794edbeaaab49ed0ec0bf767fef38a32feb4f1a2c762514648030da3c2d84b81204b
+MISC metadata.xml 336 SHA256 3eac6880ae520a95a12cd275731bd66f6c31f29e0ac54dda1a14f8a0fe4b30f8 SHA512 8641b7544c71bf31e801587fb889e92e248b4c3500be88ae976423e39d93a6d870b18f05d7af9ce0e0c1d5e2ec081501cecb070cbf2a1452724cc20851617a55 WHIRLPOOL 0177aec10492b5b1f459b5296bac2a6389af7ae728bb44c7a1c79e729ae968803b2b204a03a0f6619c22fec40241a165c000ea909d81473d5394f8cbcff9f66c
diff --git a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
new file mode 100644
index 000000000000..0bd66d5d284a
--- /dev/null
+++ b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
@@ -0,0 +1,17 @@
+--- meandmyshadow-0.4.orig/CMakeLists.txt
++++ meandmyshadow-0.4/CMakeLists.txt
+@@ -15,13 +15,12 @@
+ Find_Package(CURL REQUIRED)
+ Find_Package(LibArchive REQUIRED)
+ Find_Package(OpenSSL REQUIRED)
++Find_Package(X11 REQUIRED)
+
+ #Use openGL only when compiling with HARDWARE_ACCELERATION.
+ #Otherwise we try to find XLib.
+ if(HARDWARE_ACCELERATION)
+ Find_Package(OpenGL REQUIRED)
+-else(HARDWARE_ACCELERATION)
+- INCLUDE(FindX11)
+ endif(HARDWARE_ACCELERATION)
+
+ #Add the include dirs of the libraries.
diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild
new file mode 100644
index 000000000000..a8c524a6b377
--- /dev/null
+++ b/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils gnome2-utils games
+
+DESCRIPTION="A puzzle/platform game with a player and its shadow"
+HOMEPAGE="http://meandmyshadow.sourceforge.net/"
+SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
+
+LICENSE="GPL-3 OFL-1.1 CC-BY-SA-2.5"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="opengl"
+
+DEPEND="media-libs/libsdl[sound,video,X]
+ media-libs/sdl-gfx
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-image[png]
+ dev-libs/openssl:0=
+ net-misc/curl
+ app-arch/libarchive
+ x11-libs/libX11
+ opengl? ( virtual/opengl )"
+RDEPEND=${DEPEND}
+
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ -DBINDIR="${GAMES_BINDIR}"
+ -DDATAROOTDIR="${GAMES_DATADIR}"
+ -DICONDIR=/usr/share/icons
+ -DDESKTOPDIR=/usr/share/applications
+ $(cmake-utils_use opengl HARDWARE_ACCELERATION)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS ChangeLog README docs/{Controls,ThemeDescription}.txt
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-puzzle/meandmyshadow/metadata.xml b/games-puzzle/meandmyshadow/metadata.xml
new file mode 100644
index 000000000000..d0cf56051e6c
--- /dev/null
+++ b/games-puzzle/meandmyshadow/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">meandmyshadow</remote-id>
+ </upstream>
+</pkgmetadata>