1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI
="git://git.assembla.com/hugor.git"
7 inherit eutils fdo-mime games qt4-r2 git-2 confutils
9 DESCRIPTION
="Multimedia interpreter for Hugo text adventures"
10 HOMEPAGE
="http://ifwiki.org/index.php/Hugor"
17 DEPEND
="x11-libs/qt-gui:4
18 sdl? ( >=media-libs/sdl-mixer-1.2.12[mad,midi,modplug] )
19 fmod? ( media-libs/fmod )
20 x11-misc/shared-mime-info"
23 confutils_require_one fmod sdl
37 doicon
"${FILESDIR}/hugor.png"
38 make_desktop_entry hugor Hugor
"hugor" Game
"GenericName=Hugo Multimedia Interpreter\nMimeType=application/x-hugo-image;"
39 insinto
/usr
/share
/icons
40 doins
-r "${FILESDIR}/hicolor"
41 insinto
/usr
/share
/mime
/packages
42 doins
"${FILESDIR}/hugor.xml"
47 fdo-mime_desktop_database_update
48 fdo-mime_mime_database_update