diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-29 15:03:17 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-29 15:06:46 +0200 |
commit | 8418e3df8b0da21104cd3167535d92acb7dcb0ef (patch) | |
tree | 52010be363b50b752eec1834d5fd8926dfcb269f /games-engines | |
parent | games-engines/odamex: Drop old (diff) | |
download | gentoo-8418e3df8b0da21104cd3167535d92acb7dcb0ef.tar.gz gentoo-8418e3df8b0da21104cd3167535d92acb7dcb0ef.tar.bz2 gentoo-8418e3df8b0da21104cd3167535d92acb7dcb0ef.zip |
games-engines/qtads: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/qtads/qtads-2.1.7-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-engines/qtads/qtads-2.1.7-r1.ebuild b/games-engines/qtads/qtads-2.1.7-r1.ebuild new file mode 100644 index 000000000000..521b932662cb --- /dev/null +++ b/games-engines/qtads/qtads-2.1.7-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils qmake-utils xdg + +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="" + +DEPEND="media-libs/libsdl[sound] + media-libs/sdl-mixer[midi,vorbis] + media-libs/sdl-sound[mp3] + dev-qt/qtcore:5 + dev-qt/qtgui:5" +RDEPEND="${DEPEND}" + +src_configure() { + eqmake5 qtads.pro -after CONFIG-=silent +} + +src_install() { + dobin qtads + dodoc AUTHORS HTML_TADS_LICENSE NEWS README + insinto /usr + doins -r share +} + +pkg_preinst() { + gnome2_icon_savelist + xdg_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_pkg_postrm +} |