# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" inherit games qt4-r2 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="" # Note that for sdl-sound, we need the "mp3", not the "mpeg" USE flag. "mpeg" # uses the SMPEG lib for decoding, which plays some MP3s at double speed. "mp3" # uses SDL_sound's internal MPGLIB, which doesn't have that problem. It's OK # if both "mp3" as well as "mpeg" are enabled, because SDL_sound tries MPGLIB # first, and only if that fails will it use SMPEG. DEPEND="x11-libs/qt-gui:4 media-libs/libsdl[audio] media-libs/sdl-mixer[midi,vorbis] media-libs/sdl-sound[mp3]" RDEPEND="${DEPEND}" DOCS="AUTHORS BUGS NEWS HTML_TADS_LICENSE README" src_install() { dogamesbin qtads || die doman qtads.6 || die dodoc ${DOCS} || die make_desktop_entry qtads QTads prepgamesdirs }