/[gentoo-x86]/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild
Gentoo

Contents of /games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Oct 17 02:59:13 2012 UTC (2 years, 2 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #435716

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild,v 1.2 2012/09/28 12:36:59 ago Exp $
4
5 EAPI=3
6 inherit cmake-utils gnome2-utils games
7
8 DESCRIPTION="A puzzle/plateform game with a player and its shadow"
9 HOMEPAGE="http://meandmyshadow.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
11
12 LICENSE="GPL-3 OFL-1.1 CCPL-Attribution-ShareAlike-2.5"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="opengl"
16
17 DEPEND="media-libs/libsdl[audio,video]
18 media-libs/sdl-gfx
19 media-libs/sdl-ttf
20 media-libs/sdl-mixer[vorbis]
21 media-libs/sdl-image[png]
22 dev-libs/openssl
23 net-misc/curl
24 app-arch/libarchive
25 x11-libs/libX11
26 opengl? ( virtual/opengl )"
27
28 src_configure() {
29 local mycmakeargs=(
30 -DCMAKE_VERBOSE_MAKEFILE=TRUE
31 -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
32 -DBINDIR="${GAMES_BINDIR}"
33 -DDATAROOTDIR="${GAMES_DATADIR}"
34 -DICONDIR=/usr/share/icons
35 -DDESKTOPDIR=/usr/share/applications
36 $(cmake-utils_use opengl HARDWARE_ACCELERATION)
37 )
38 cmake-utils_src_configure
39 }
40
41 src_compile() {
42 cmake-utils_src_compile
43 }
44
45 src_install() {
46 cmake-utils_src_install
47 dodoc AUTHORS ChangeLog README docs/{Controls,ThemeDescription}.txt
48 prepgamesdirs
49 }
50
51 pkg_preinst() {
52 games_pkg_preinst
53 gnome2_icon_savelist
54 }
55
56 pkg_postinst() {
57 games_pkg_postinst
58 gnome2_icon_cache_update
59 }
60
61 pkg_postrm() {
62 gnome2_icon_cache_update
63 }

  ViewVC Help
Powered by ViewVC 1.1.20