summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-06-28 22:05:06 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-28 23:43:17 +0200
commitee0da788f5576e80c5718f1dfc5dc7cc685ca567 (patch)
tree7e262b4d5857230843efbc038f5e6e8aa8879114 /games-puzzle/meandmyshadow
parentsys-power/ncpufreqd: EAPI-6 bump and mini-overhaul (diff)
downloadgentoo-ee0da788f5576e80c5718f1dfc5dc7cc685ca567.tar.gz
gentoo-ee0da788f5576e80c5718f1dfc5dc7cc685ca567.tar.bz2
gentoo-ee0da788f5576e80c5718f1dfc5dc7cc685ca567.zip
games-puzzle/meandmyshadow: EAPI-6 bump
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'games-puzzle/meandmyshadow')
-rw-r--r--games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch6
-rw-r--r--games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild29
2 files changed, 15 insertions, 20 deletions
diff --git a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
index 0bd66d5d284a..504f6c0987a6 100644
--- a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
+++ b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
@@ -1,6 +1,6 @@
---- meandmyshadow-0.4.orig/CMakeLists.txt
-+++ meandmyshadow-0.4/CMakeLists.txt
-@@ -15,13 +15,12 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,13 +15,12 @@
Find_Package(CURL REQUIRED)
Find_Package(LibArchive REQUIRED)
Find_Package(OpenSSL REQUIRED)
diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
index c7d403f40c4d..567f9a34f9b4 100644
--- a/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
+++ b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
+
inherit cmake-utils gnome2-utils
DESCRIPTION="A puzzle/platform game with a player and its shadow"
@@ -13,19 +14,22 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opengl"
-DEPEND="media-libs/libsdl[sound,video,X]
+DEPEND="
+ app-arch/libarchive
+ dev-libs/openssl:0=
+ 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=
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
net-misc/curl
- app-arch/libarchive
x11-libs/libX11
opengl? ( virtual/opengl )
"
RDEPEND="${DEPEND}"
+DOCS=( AUTHORS ChangeLog README docs/{Controls,ThemeDescription}.txt )
+
PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
src_configure() {
@@ -36,20 +40,11 @@ src_configure() {
-DDATAROOTDIR="/usr/share"
-DICONDIR=/usr/share/icons
-DDESKTOPDIR=/usr/share/applications
- $(cmake-utils_use opengl HARDWARE_ACCELERATION)
- )
+ -DHARDWARE_ACCELERATION=$(usex opengl)
+ )
cmake-utils_src_configure
}
-src_install() {
- cmake-utils_src_install
- dodoc AUTHORS ChangeLog README docs/{Controls,ThemeDescription}.txt
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
}