Skip to content

Commit

Permalink
games-puzzle/meandmyshadow: EAPI-6 bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.41, Repoman-2.3.9
  • Loading branch information
a17r committed Jun 28, 2018
1 parent 75f5df8 commit ee0da78
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
29 changes: 12 additions & 17 deletions games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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() {
Expand All @@ -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
}
Expand Down

0 comments on commit ee0da78

Please sign in to comment.