diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-17 00:02:31 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-17 00:02:31 +0000 |
commit | c2ca99fca6684b25b9547e99579924235f7252f0 (patch) | |
tree | 04e9f998d9ada2ea42a95a11bc5ef86aad9d7cd7 /games-puzzle | |
parent | Correct bug reference. (diff) | |
download | gentoo-2-c2ca99fca6684b25b9547e99579924235f7252f0.tar.gz gentoo-2-c2ca99fca6684b25b9547e99579924235f7252f0.tar.bz2 gentoo-2-c2ca99fca6684b25b9547e99579924235f7252f0.zip |
EAPI=2; add desktop entry (bug #259237)
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/cuyo/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/cuyo/cuyo-1.8.6.ebuild | 15 |
2 files changed, 12 insertions, 10 deletions
diff --git a/games-puzzle/cuyo/ChangeLog b/games-puzzle/cuyo/ChangeLog index 031bf675d268..798b297d2781 100644 --- a/games-puzzle/cuyo/ChangeLog +++ b/games-puzzle/cuyo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/cuyo -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/ChangeLog,v 1.18 2008/06/22 21:37:46 mr_bones_ Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/ChangeLog,v 1.19 2009/02/17 00:02:31 mr_bones_ Exp $ + + 17 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> cuyo-1.8.6.ebuild: + EAPI=2; add desktop entry (bug #259237) 22 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org> cuyo-1.8.6.ebuild: use slot dep instead of qt3 function diff --git a/games-puzzle/cuyo/cuyo-1.8.6.ebuild b/games-puzzle/cuyo/cuyo-1.8.6.ebuild index 6adaad113b20..7e988ac46fc9 100644 --- a/games-puzzle/cuyo/cuyo-1.8.6.ebuild +++ b/games-puzzle/cuyo/cuyo-1.8.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/cuyo-1.8.6.ebuild,v 1.6 2008/06/22 21:37:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/cuyo-1.8.6.ebuild,v 1.7 2009/02/17 00:02:31 mr_bones_ Exp $ -EAPI=1 -inherit toolchain-funcs eutils qt3 games +EAPI=2 +inherit eutils qt3 games DESCRIPTION="highly addictive and remotely related to tetris" HOMEPAGE="http://www.karimmi.de/cuyo/" @@ -18,9 +18,7 @@ DEPEND=">=x11-libs/qt-3.3:3" S=${WORKDIR}/${P/_} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e '/^gamesdir.*=/ s:\$(prefix)/games:$(bindir):' \ -e 's:-O2:@CXXFLAGS@ -Wno-long-long:' src/Makefile.in \ @@ -33,11 +31,12 @@ src_compile() { --with-qtdir="${QTDIR}" \ --with-x \ || die - emake CXX=$(tc-getCXX) MOC="${QTDIR}"/bin/moc || die "emake failed" + emake MOC="${QTDIR}"/bin/moc || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS NEWS README TODO ChangeLog + make_desktop_entry cuyo Cuyo prepgamesdirs } |