Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/qtads/
Date: Sun, 29 Apr 2018 13:07:08
Message-Id: 1525007206.8418e3df8b0da21104cd3167535d92acb7dcb0ef.pacho@gentoo
1 commit: 8418e3df8b0da21104cd3167535d92acb7dcb0ef
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 13:03:17 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 13:06:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8418e3df
7
8 games-engines/qtads: Stop using games.eclass
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-engines/qtads/qtads-2.1.7-r1.ebuild | 47 +++++++++++++++++++++++++++++++
13 1 file changed, 47 insertions(+)
14
15 diff --git a/games-engines/qtads/qtads-2.1.7-r1.ebuild b/games-engines/qtads/qtads-2.1.7-r1.ebuild
16 new file mode 100644
17 index 00000000000..521b932662c
18 --- /dev/null
19 +++ b/games-engines/qtads/qtads-2.1.7-r1.ebuild
20 @@ -0,0 +1,47 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit gnome2-utils qmake-utils xdg
26 +
27 +DESCRIPTION="Multimedia interpreter for TADS text adventures"
28 +HOMEPAGE="http://qtads.sourceforge.net"
29 +SRC_URI="mirror://sourceforge/qtads/${P}.tar.bz2"
30 +
31 +LICENSE="GPL-2+"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~x86"
34 +IUSE=""
35 +
36 +DEPEND="media-libs/libsdl[sound]
37 + media-libs/sdl-mixer[midi,vorbis]
38 + media-libs/sdl-sound[mp3]
39 + dev-qt/qtcore:5
40 + dev-qt/qtgui:5"
41 +RDEPEND="${DEPEND}"
42 +
43 +src_configure() {
44 + eqmake5 qtads.pro -after CONFIG-=silent
45 +}
46 +
47 +src_install() {
48 + dobin qtads
49 + dodoc AUTHORS HTML_TADS_LICENSE NEWS README
50 + insinto /usr
51 + doins -r share
52 +}
53 +
54 +pkg_preinst() {
55 + gnome2_icon_savelist
56 + xdg_pkg_preinst
57 +}
58 +
59 +pkg_postinst() {
60 + gnome2_icon_cache_update
61 + xdg_pkg_postinst
62 +}
63 +
64 +pkg_postrm() {
65 + gnome2_icon_cache_update
66 + xdg_pkg_postrm
67 +}