Skip to content

Commit

Permalink
games-engines/qtads: Stop using games.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.31, Repoman-2.3.9
  • Loading branch information
pacho2 committed Apr 29, 2018
1 parent 7e808d8 commit 8418e3d
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions games-engines/qtads/qtads-2.1.7-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 8418e3d

Please sign in to comment.