1 |
commit: d5f1692b30355f9ebf076f7d94b51671de875820 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 15 21:53:35 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 15 21:53:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f1692b |
7 |
|
8 |
games-engines/residualvm: Synced live ebuild. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-engines/residualvm/residualvm-9999.ebuild | 30 ++++++++++--------------- |
14 |
1 file changed, 12 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/games-engines/residualvm/residualvm-9999.ebuild b/games-engines/residualvm/residualvm-9999.ebuild |
17 |
index 7343afbb7e7..d263427ea17 100644 |
18 |
--- a/games-engines/residualvm/residualvm-9999.ebuild |
19 |
+++ b/games-engines/residualvm/residualvm-9999.ebuild |
20 |
@@ -1,8 +1,8 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
-inherit gnome2-utils toolchain-funcs xdg-utils |
27 |
+EAPI=7 |
28 |
+inherit desktop toolchain-funcs xdg |
29 |
|
30 |
DESCRIPTION="A cross-platform 3D game interpreter for play LucasArts' LUA-based 3D adventures" |
31 |
HOMEPAGE="http://www.residualvm.org/" |
32 |
@@ -25,11 +25,14 @@ RDEPEND=" |
33 |
media-libs/glew:0= |
34 |
media-libs/libpng:0= |
35 |
media-libs/libsdl2[X,sound,alsa,joystick,opengl,video] |
36 |
- sys-libs/zlib |
37 |
+ sys-libs/zlib:= |
38 |
virtual/glu |
39 |
virtual/jpeg:0 |
40 |
virtual/opengl" |
41 |
DEPEND="${RDEPEND}" |
42 |
+BDEPEND=" |
43 |
+ virtual/pkgconfig |
44 |
+" |
45 |
|
46 |
src_configure() { |
47 |
# not an autotools script |
48 |
@@ -51,6 +54,7 @@ src_configure() { |
49 |
--enable-all-engines |
50 |
--enable-release-mode |
51 |
--enable-zlib |
52 |
+ --prefix="${EPREFIX}/usr" |
53 |
) |
54 |
./configure "${myconf[@]}" || die "configure failed" |
55 |
} |
56 |
@@ -63,29 +67,19 @@ src_compile() { |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
- dobin residualvm |
61 |
+ emake DESTDIR="${D}" install |
62 |
|
63 |
- insinto "/usr/share/${PN}" |
64 |
- doins gui/themes/modern.zip dists/engine-data/residualvm-grim-patch.lab |
65 |
- |
66 |
- doicon -s scalable icons/${PN}.svg |
67 |
doicon -s 256 icons/${PN}.png |
68 |
- domenu dists/${PN}.desktop |
69 |
- |
70 |
- doman dists/${PN}.6 |
71 |
- dodoc AUTHORS README.md KNOWN_BUGS TODO |
72 |
} |
73 |
|
74 |
pkg_preinst() { |
75 |
- gnome2_icon_savelist |
76 |
+ xdg_pkg_preinst |
77 |
} |
78 |
|
79 |
pkg_postinst() { |
80 |
- gnome2_icon_cache_update |
81 |
- xdg_desktop_database_update |
82 |
+ xdg_pkg_postinst |
83 |
} |
84 |
|
85 |
pkg_postrm() { |
86 |
- gnome2_icon_cache_update |
87 |
- xdg_desktop_database_update |
88 |
+ xdg_pkg_postrm |
89 |
} |