forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-engines/qtads: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |