summaryrefslogtreecommitdiff
path: root/games-puzzle/meandmyshadow
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-puzzle/meandmyshadow
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-puzzle/meandmyshadow')
-rw-r--r--games-puzzle/meandmyshadow/Manifest4
-rw-r--r--games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch17
-rw-r--r--games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild54
-rw-r--r--games-puzzle/meandmyshadow/metadata.xml11
4 files changed, 86 insertions, 0 deletions
diff --git a/games-puzzle/meandmyshadow/Manifest b/games-puzzle/meandmyshadow/Manifest
new file mode 100644
index 000000000000..ef11b52bc354
--- /dev/null
+++ b/games-puzzle/meandmyshadow/Manifest
@@ -0,0 +1,4 @@
+AUX meandmyshadow-0.4-cmake.patch 479 BLAKE2B a242388410af6608f7bca6dd09c125049f5e62c142ac5633d63389755bad41b0a6a3761bb189fac5fde3bfec3fd45c6d39ccb097602a617f627f7e4860ff4222 SHA512 caf5db2cc564feb07753e86788b9f3deb7d280d5fb0474bfee0238fe80af0179aa5b7772b1a5033be55a6dff5f32c9913f8952f973cd30bbce7e1a992ed76e9e
+DIST meandmyshadow-0.4-src.tar.gz 16962805 BLAKE2B 607c08c0484b049e02ed54d2483f30f1c7af8aeffc31c977dba335e57eb14734517469f345387778875567db7f446b159dfbc7e51832cddc0d29e8352b308b29 SHA512 945f096fdc2df58b29f91314cd88953d897bbdbd094d8092d6712d33f7dbacadd298ca797e678ebad08ca579ed67a7b9d664e1fa202753e687a021935032a92b
+EBUILD meandmyshadow-0.4-r1.ebuild 1183 BLAKE2B 370e15518b5d280e57f4e4f7954a19a1df6254dd3a1a8a3a64d0dea0f3101801a4176c220144e61d4a2bc12c72c0f0e8b6d3453c5ade55b5e0fee6bf27c4e820 SHA512 a715992109689a592c8dab50e890180b5bbc4c40ff0260732e176cedd2d9db777305d55b3757e4da202f18000912d71ed9e826151fd97e264ac5515924f58767
+MISC metadata.xml 336 BLAKE2B ef2dbc4f110f2be12490cafc36b1efa95c025822eebdcda0cbec755f1c943d4111304cb0b0a0b415b297ee8face8bef5328a062d28fac6f00ce5ab4f20a8f321 SHA512 8641b7544c71bf31e801587fb889e92e248b4c3500be88ae976423e39d93a6d870b18f05d7af9ce0e0c1d5e2ec081501cecb070cbf2a1452724cc20851617a55
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..504f6c0987a6
--- /dev/null
+++ b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
@@ -0,0 +1,17 @@
+--- a/CMakeLists.txt
++++ b/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-r1.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
new file mode 100644
index 000000000000..567f9a34f9b4
--- /dev/null
+++ b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+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="
+ app-arch/libarchive
+ dev-libs/openssl:0=
+ media-libs/libsdl[sound,video,X]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
+ net-misc/curl
+ x11-libs/libX11
+ opengl? ( virtual/opengl )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog README docs/{Controls,ThemeDescription}.txt )
+
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE
+ -DCMAKE_INSTALL_PREFIX="/usr"
+ -DBINDIR="/usr/bin"
+ -DDATAROOTDIR="/usr/share"
+ -DICONDIR=/usr/share/icons
+ -DDESKTOPDIR=/usr/share/applications
+ -DHARDWARE_ACCELERATION=$(usex opengl)
+ )
+ cmake-utils_src_configure
+}
+
+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>