summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 21:47:00 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 21:47:00 +0000
commit64bbe937583ca7fb28ae6c50340c4aefe3de0b0c (patch)
treee166445ac966fa281353e7e320bf2328b0367ba5 /games-puzzle/twindistress
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-64bbe937583ca7fb28ae6c50340c4aefe3de0b0c.tar.gz
gentoo-2-64bbe937583ca7fb28ae6c50340c4aefe3de0b0c.tar.bz2
gentoo-2-64bbe937583ca7fb28ae6c50340c4aefe3de0b0c.zip
EAPI=2; tidy
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/twindistress')
-rw-r--r--games-puzzle/twindistress/ChangeLog8
-rw-r--r--games-puzzle/twindistress/twindistress-1.1.0.ebuild15
2 files changed, 13 insertions, 10 deletions
diff --git a/games-puzzle/twindistress/ChangeLog b/games-puzzle/twindistress/ChangeLog
index 688a8f8068f7..3439425d4537 100644
--- a/games-puzzle/twindistress/ChangeLog
+++ b/games-puzzle/twindistress/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/twindistress
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/twindistress/ChangeLog,v 1.9 2008/02/29 19:30:17 carlo Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/twindistress/ChangeLog,v 1.10 2010/01/25 21:47:00 mr_bones_ Exp $
+
+ 25 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ twindistress-1.1.0.ebuild:
+ EAPI=2; tidy
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> twindistress-1.1.0.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.
diff --git a/games-puzzle/twindistress/twindistress-1.1.0.ebuild b/games-puzzle/twindistress/twindistress-1.1.0.ebuild
index 1278f50062d5..36d84c2b9359 100644
--- a/games-puzzle/twindistress/twindistress-1.1.0.ebuild
+++ b/games-puzzle/twindistress/twindistress-1.1.0.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/twindistress/twindistress-1.1.0.ebuild,v 1.3 2008/02/29 19:30:17 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/twindistress/twindistress-1.1.0.ebuild,v 1.4 2010/01/25 21:47:00 mr_bones_ Exp $
+EAPI=2
inherit eutils toolchain-funcs games
MY_P="twind-${PV}"
@@ -14,15 +15,13 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND="media-libs/libsdl
+DEPEND="media-libs/libsdl[video]
media-libs/sdl-mixer
- media-libs/sdl-image"
+ media-libs/sdl-image[png]"
S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e "/^CC/s:gcc:$(tc-getCC):" \
-e "/^CFLAGS/s:-g:${CFLAGS}:" \
@@ -50,7 +49,7 @@ src_install() {
pkg_postinst() {
games_pkg_postinst
- if ! built_with_use media-libs/sdl-mixer vorbis ; then
+ if ! has_version "media-libs/sdl-mixer[vorbis]" ; then
ewarn "Music support will be disabled since sdl-mixer"
ewarn "wasn't built with USE=vorbis"
fi