diff options
author | 2012-08-24 17:34:20 +0000 | |
---|---|---|
committer | 2012-08-24 17:34:20 +0000 | |
commit | d9912cde3e0fc9c877a9d98bcac21a0025e94efa (patch) | |
tree | f62b84ed7964fbd167a6c7baae68dbeb2569882f /games-engines | |
parent | Stabilise latest. Remove older. (diff) | |
download | gentoo-2-d9912cde3e0fc9c877a9d98bcac21a0025e94efa.tar.gz gentoo-2-d9912cde3e0fc9c877a9d98bcac21a0025e94efa.tar.bz2 gentoo-2-d9912cde3e0fc9c877a9d98bcac21a0025e94efa.zip |
version bump wrt #430194
(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/qtads/ChangeLog | 7 | ||||
-rw-r--r-- | games-engines/qtads/qtads-2.1.4.ebuild | 65 |
2 files changed, 71 insertions, 1 deletions
diff --git a/games-engines/qtads/ChangeLog b/games-engines/qtads/ChangeLog index 8b92ef6018d1..144315226ac0 100644 --- a/games-engines/qtads/ChangeLog +++ b/games-engines/qtads/ChangeLog @@ -1,6 +1,11 @@ # 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.19 2012/06/08 12:12:27 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/qtads/ChangeLog,v 1.20 2012/08/24 17:34:20 hasufell Exp $ + +*qtads-2.1.4 (24 Aug 2012) + + 24 Aug 2012; Julian Ospald <hasufell@gentoo.org> +qtads-2.1.4.ebuild: + version bump wrt #430194 08 Jun 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> qtads-2.1.3.ebuild: x86 stable wrt bug #418021 diff --git a/games-engines/qtads/qtads-2.1.4.ebuild b/games-engines/qtads/qtads-2.1.4.ebuild new file mode 100644 index 000000000000..2ff333d6ce33 --- /dev/null +++ b/games-engines/qtads/qtads-2.1.4.ebuild @@ -0,0 +1,65 @@ +# 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.4.ebuild,v 1.1 2012/08/24 17:34:20 hasufell Exp $ + +EAPI=2 +inherit eutils gnome2-utils fdo-mime flag-o-matic qt4-r2 toolchain-funcs games + +DESCRIPTION="Multimedia interpreter for TADS text adventures" +HOMEPAGE="http://qtads.sourceforge.net" +SRC_URI="mirror://sourceforge/qtads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[audio] + media-libs/sdl-mixer[midi,vorbis] + media-libs/sdl-sound[mp3] + x11-libs/qt-core + x11-libs/qt-gui:4" + +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) +} + +src_install() { + dogamesbin qtads || die + 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 + 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;" + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |