Skip to content

Commit

Permalink
games-engines/residualvm: Synced live ebuild.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Mar 15, 2019
1 parent 65cc702 commit d5f1692
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions games-engines/residualvm/residualvm-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit gnome2-utils toolchain-funcs xdg-utils
EAPI=7
inherit desktop toolchain-funcs xdg

DESCRIPTION="A cross-platform 3D game interpreter for play LucasArts' LUA-based 3D adventures"
HOMEPAGE="http://www.residualvm.org/"
Expand All @@ -25,11 +25,14 @@ RDEPEND="
media-libs/glew:0=
media-libs/libpng:0=
media-libs/libsdl2[X,sound,alsa,joystick,opengl,video]
sys-libs/zlib
sys-libs/zlib:=
virtual/glu
virtual/jpeg:0
virtual/opengl"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"

src_configure() {
# not an autotools script
Expand All @@ -51,6 +54,7 @@ src_configure() {
--enable-all-engines
--enable-release-mode
--enable-zlib
--prefix="${EPREFIX}/usr"
)
./configure "${myconf[@]}" || die "configure failed"
}
Expand All @@ -63,29 +67,19 @@ src_compile() {
}

src_install() {
dobin residualvm
emake DESTDIR="${D}" install

insinto "/usr/share/${PN}"
doins gui/themes/modern.zip dists/engine-data/residualvm-grim-patch.lab

doicon -s scalable icons/${PN}.svg
doicon -s 256 icons/${PN}.png
domenu dists/${PN}.desktop

doman dists/${PN}.6
dodoc AUTHORS README.md KNOWN_BUGS TODO
}

pkg_preinst() {
gnome2_icon_savelist
xdg_pkg_preinst
}

pkg_postinst() {
gnome2_icon_cache_update
xdg_desktop_database_update
xdg_pkg_postinst
}

pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
xdg_pkg_postrm
}

0 comments on commit d5f1692

Please sign in to comment.