You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.1 KiB
54 lines
1.1 KiB
# Copyright 1999-2020 Gentoo Authors
|
|
# 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
|
|
-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
|
|
}
|