1 |
commit: d82c3cfbf857635eb7140cd0b4d191e8531b3c74 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 23 12:16:30 2020 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 23 14:52:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82c3cfb |
7 |
|
8 |
games-strategy/megaglest-data: bump to EAPI-7 |
9 |
|
10 |
Part of the migration of the game itself to lua-single.eclass. Note that |
11 |
since the files are now installed into /usr/share rather than /usr/games |
12 |
as per the current policy regarding game install locations and ownership, |
13 |
mixing EAPI-5 and EAPI-7 Megaglest ebuilds will badly break things. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/752717 |
16 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
17 |
|
18 |
.../megaglest-data/megaglest-data-3.11.1-r1.ebuild | 25 ++++++++++++++++++++++ |
19 |
1 file changed, 25 insertions(+) |
20 |
|
21 |
diff --git a/games-strategy/megaglest-data/megaglest-data-3.11.1-r1.ebuild b/games-strategy/megaglest-data/megaglest-data-3.11.1-r1.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000000..152c9895419 |
24 |
--- /dev/null |
25 |
+++ b/games-strategy/megaglest-data/megaglest-data-3.11.1-r1.ebuild |
26 |
@@ -0,0 +1,25 @@ |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=7 |
31 |
+ |
32 |
+inherit cmake |
33 |
+ |
34 |
+MY_PN="megaglest" |
35 |
+DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest" |
36 |
+HOMEPAGE="http://www.megaglest.org/" |
37 |
+SRC_URI="https://github.com/MegaGlest/megaglest-data/releases/download/${PV}/megaglest-data-${PV}.tar.xz" |
38 |
+ |
39 |
+LICENSE="CC-BY-SA-3.0" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+IUSE="doc" |
43 |
+ |
44 |
+DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt ) |
45 |
+ |
46 |
+S=${WORKDIR}/${MY_PN}-${PV} |
47 |
+ |
48 |
+src_install() { |
49 |
+ use doc && HTML_DOCS+=( docs/glest_factions/ ) |
50 |
+ cmake_src_install |
51 |
+} |