Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 430194 | Differences between
and this patch

Collapse All | Expand All

(-)qtads-2.1.3.ebuild (-9 / +15 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/games-engines/qtads/qtads-2.1.3.ebuild,v 1.3 2012/06/08 12:12:27 phajdan.jr Exp $
3
# $Header: $
4
4
5
EAPI=2
5
EAPI="3"
6
inherit eutils qt4-r2 games
6
inherit eutils fdo-mime games qt4-r2
7
7
8
DESCRIPTION="Multimedia interpreter for TADS text adventures"
8
DESCRIPTION="Multimedia interpreter for TADS text adventures"
9
HOMEPAGE="http://qtads.sourceforge.net"
9
HOMEPAGE="http://qtads.sourceforge.net"
Lines 19-32 Link Here
19
	media-libs/sdl-mixer[midi,vorbis]
19
	media-libs/sdl-mixer[midi,vorbis]
20
	media-libs/sdl-sound[mp3]"
20
	media-libs/sdl-sound[mp3]"
21
21
22
src_configure() {
23
	qt4-r2_src_configure
24
}
25
26
src_install() {
22
src_install() {
27
	dogamesbin qtads || die
23
	dogamesbin qtads || die
28
	doman qtads.6
24
	doman qtads.6
29
	dodoc AUTHORS BUGS NEWS README
25
	dodoc AUTHORS BUGS HTML_TADS_LICENSE NEWS README
30
	make_desktop_entry qtads QTads
26
	doicon "qtads_256x256.png"
27
	insinto /usr/share/icons
28
	doins -r "icons/hicolor"
29
	insinto /usr/share/mime/packages
30
	doins "icons/qtads.xml"
31
	make_desktop_entry qtads QTads "qtads_256x256" Game "GenericName=TADS Multimedia Interpreter\nMimeType=application/x-tads;application/x-t3vm-image;"
31
	prepgamesdirs
32
	prepgamesdirs
32
}
33
}
34
35
pkg_postinst() {
36
	fdo-mime_desktop_database_update
37
	fdo-mime_mime_database_update
38
}

Return to bug 430194