diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2014-12-31 14:13:21 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2014-12-31 14:13:21 +0000 |
commit | 0e16f9088d676fbbb82a2759f680b26a07bb7066 (patch) | |
tree | a67ab79373f2afd5a08ec1628a11cba983a01de0 /games-action/formido | |
parent | Remove support for sci-libs/libecwj2, which is going away. Bug 526840 (diff) | |
download | gentoo-2-0e16f9088d676fbbb82a2759f680b26a07bb7066.tar.gz gentoo-2-0e16f9088d676fbbb82a2759f680b26a07bb7066.tar.bz2 gentoo-2-0e16f9088d676fbbb82a2759f680b26a07bb7066.zip |
Moving to EAPI 4
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-action/formido')
-rw-r--r-- | games-action/formido/ChangeLog | 7 | ||||
-rw-r--r-- | games-action/formido/formido-1.0.1.ebuild | 19 |
2 files changed, 16 insertions, 10 deletions
diff --git a/games-action/formido/ChangeLog b/games-action/formido/ChangeLog index 45d35af29e56..724c1849b05a 100644 --- a/games-action/formido/ChangeLog +++ b/games-action/formido/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/formido -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/formido/ChangeLog,v 1.9 2010/03/16 14:56:18 mr_bones_ Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/formido/ChangeLog,v 1.10 2014/12/31 14:13:21 tupone Exp $ + + 31 Dec 2014; Tupone Alfredo <tupone@gentoo.org> formido-1.0.1.ebuild: + Moving to EAPI 4 16 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> formido-1.0.1.ebuild: update HOMEPAGE (bug #309719) diff --git a/games-action/formido/formido-1.0.1.ebuild b/games-action/formido/formido-1.0.1.ebuild index d5ab7cd3fa8d..78080f2f62dd 100644 --- a/games-action/formido/formido-1.0.1.ebuild +++ b/games-action/formido/formido-1.0.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/formido/formido-1.0.1.ebuild,v 1.2 2010/03/16 14:56:18 mr_bones_ Exp $ - +# $Header: /var/cvsroot/gentoo-x86/games-action/formido/formido-1.0.1.ebuild,v 1.3 2014/12/31 14:13:21 tupone Exp $ +EAPI=4 inherit eutils toolchain-funcs games DESCRIPTION="A shooting game in the spirit of Phobia games" @@ -17,10 +17,15 @@ IUSE="" DEPEND="media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer" +RDEPEND="${DEPEND}" src_unpack() { unpack ${P}.tar.gz - cd "${S}" + cd "${S}"/data + unpack ${PN}-music.tar.bz2 +} + +src_prepare() { sed -i \ -e "s:g++:$(tc-getCXX):" \ -e "/^FLAGS=/s:$: ${CXXFLAGS}:" \ @@ -29,14 +34,12 @@ src_unpack() { -e "s:\${DEFCONFIGDIR}:${GAMES_DATADIR}/${PN}:" \ Makefile \ || die "sed failed" - cd data - unpack ${PN}-music.tar.bz2 } src_install() { - dogamesbin ${PN} || die "dogamesbin failed" + dogamesbin ${PN} insinto "${GAMES_DATADIR}"/${PN} - doins -r ${PN}.cfg data || die "doins failed" + doins -r ${PN}.cfg data newicon data/icon.dat ${PN}.bmp make_desktop_entry ${PN} Formido /usr/share/pixmaps/${PN}.bmp dodoc README README-1.0.1 |