diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-11-07 08:20:52 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-11-07 08:20:52 +0000 |
commit | 57c679b23ea41dd36f4517a5b4f31606c5384421 (patch) | |
tree | c1615c1929e10c605288a34496ec6c3638cd1269 /games-engines | |
parent | Simplify init script and depend on D-Bus being started. Add the network modul... (diff) | |
download | gentoo-2-57c679b23ea41dd36f4517a5b4f31606c5384421.tar.gz gentoo-2-57c679b23ea41dd36f4517a5b4f31606c5384421.tar.bz2 gentoo-2-57c679b23ea41dd36f4517a5b4f31606c5384421.zip |
EAPI=4; add patch from Nikos Chantziaras to improve ebuild (bug #433918)
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/qtads/ChangeLog | 5 | ||||
-rw-r--r-- | games-engines/qtads/qtads-2.1.5.ebuild | 26 |
2 files changed, 13 insertions, 18 deletions
diff --git a/games-engines/qtads/ChangeLog b/games-engines/qtads/ChangeLog index 50a0edf0a8af..cc1f54880f70 100644 --- a/games-engines/qtads/ChangeLog +++ b/games-engines/qtads/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-engines/qtads # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/qtads/ChangeLog,v 1.22 2012/10/05 05:44:31 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/qtads/ChangeLog,v 1.23 2012/11/07 08:20:52 mr_bones_ Exp $ + + 07 Nov 2012; Michael Sterrett <mr_bones_@gentoo.org> qtads-2.1.5.ebuild: + EAPI=4; add patch from Nikos Chantziaras to improve ebuild (bug #433918) *qtads-2.1.5 (05 Oct 2012) diff --git a/games-engines/qtads/qtads-2.1.5.ebuild b/games-engines/qtads/qtads-2.1.5.ebuild index 40637f8d0e66..985b7bddead3 100644 --- a/games-engines/qtads/qtads-2.1.5.ebuild +++ b/games-engines/qtads/qtads-2.1.5.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/qtads/qtads-2.1.5.ebuild,v 1.1 2012/10/05 05:44:31 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/qtads/qtads-2.1.5.ebuild,v 1.2 2012/11/07 08:20:52 mr_bones_ Exp $ -EAPI=2 -inherit eutils gnome2-utils fdo-mime flag-o-matic qt4-r2 toolchain-funcs games +EAPI=4 +inherit eutils gnome2-utils fdo-mime qt4-r2 games DESCRIPTION="Multimedia interpreter for TADS text adventures" HOMEPAGE="http://qtads.sourceforge.net" @@ -19,30 +19,22 @@ DEPEND="media-libs/libsdl[audio] media-libs/sdl-sound[mp3] x11-libs/qt-core:4 x11-libs/qt-gui:4" +RDEPEND="${DEPEND}" src_configure() { - # strict-aliasing should not be used - # http://bugdb.tads.org/view.php?id=163 - append-cxxflags -fno-strict-aliasing - append-cflags -fno-strict-aliasing - qt4-r2_src_configure -} - -src_compile() { - # make build output verbose (yes, weird) - emake CC=$(tc-getCC) CXX=$(tc-getCXX) LINK=$(tc-getCXX) + eqmake4 qtads.pro -after CONFIG-=silent } src_install() { - dogamesbin qtads || die + dogamesbin qtads doman qtads.6 dodoc AUTHORS BUGS HTML_TADS_LICENSE NEWS README newicon -s 256 qtads_256x256.png ${PN}.png insinto /usr/share/icons - doins -r "icons/hicolor" || die + doins -r icons/hicolor insinto /usr/share/mime/packages - doins "icons/qtads.xml" || die - make_desktop_entry qtads QTads qtads Game "MimeType=application/x-tads;application/x-t3vm-image;" + doins icons/qtads.xml + make_desktop_entry qtads QTads qtads Game "GenericName=TADS Multimedia Interpreter\nMimeType=application/x-tads;application/x-t3vm-image;" prepgamesdirs } |