diff options
Diffstat (limited to 'games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild')
-rw-r--r-- | games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild | 29 |
1 files changed, 12 insertions, 17 deletions
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 } |