1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 if [ "$PV" != "9999" ]; then
8 SRC_URI
="http://foss.aegean.gr/~realnc/hugor/${P}.tar.bz2"
15 inherit eutils gnome2-utils fdo-mime games qt4-r2 confutils
17 if [ "$PV" == "9999" ]; then
18 EGIT_REPO_URI
="git://github.com/realnc/hugor.git"
22 DESCRIPTION
="Multimedia interpreter for Hugo text adventures"
23 HOMEPAGE
="http://ifwiki.org/index.php/Hugor"
28 RDEPEND
="media-libs/gst-plugins-base:0.10
29 media-libs/gst-plugins-good:0.10
30 media-plugins/gst-plugins-ffmpeg"
34 <media-libs/qt-gstreamer-1.0
35 >=media-libs/sdl-mixer-1.2.12[mad,midi,modplug]
36 x11-misc/shared-mime-info"
41 doicon
"${FILESDIR}/hugor.png"
42 make_desktop_entry hugor Hugor
"hugor" Game
"GenericName=Hugo Multimedia Interpreter\nMimeType=application/x-hugo-image;"
43 insinto
/usr
/share
/icons
44 doins
-r "${FILESDIR}/hicolor"
45 insinto
/usr
/share
/mime
/packages
46 doins
"${FILESDIR}/hugor.xml"
57 fdo-mime_desktop_database_update
58 fdo-mime_mime_database_update
59 gnome2_icon_cache_update
63 fdo-mime_desktop_database_update
64 fdo-mime_mime_database_update
65 gnome2_icon_cache_update