summaryrefslogtreecommitdiff
path: root/games-strategy/megaglest-data
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/megaglest-data')
-rw-r--r--games-strategy/megaglest-data/Manifest1
-rw-r--r--games-strategy/megaglest-data/megaglest-data-3.11.1-r1.ebuild25
-rw-r--r--games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild (renamed from games-strategy/megaglest-data/megaglest-data-3.11.1.ebuild)26
3 files changed, 34 insertions, 18 deletions
diff --git a/games-strategy/megaglest-data/Manifest b/games-strategy/megaglest-data/Manifest
index d0d907962af5..c8ded569f740 100644
--- a/games-strategy/megaglest-data/Manifest
+++ b/games-strategy/megaglest-data/Manifest
@@ -1 +1,2 @@
DIST megaglest-data-3.11.1.tar.xz 283383936 BLAKE2B d3c3d6c99f8b5f1360ecf72f69b47ce1ee1777019bdd8c2c0cfad8128a0ca07906a906be031526bcd255c5db3565bf4225a1170fdbcfc76819f65055d4d69c79 SHA512 a0ca22c2ba44992ce244c19f1bf3b19983a76520566286728ff4de4c14ef568aec3b166a2dde615b221d4cded8f2714b873a56fd58c1beebdc7120508ba0e357
+DIST megaglest-data-3.13.0.tar.xz 291190184 BLAKE2B 369dfb2f9a0271c686b77b4368043717b57e5863f8918afe3cc429c630ed79173c025ad0c5bad1e94949f4caf841b0e3c6706491a8534b829568c7d89ba97383 SHA512 ac6a6dd85ec2e45d3107549199251b504f128b8fc254b683c7d9c0841b86cd4c32cd45c9d3cbddc3f989bd965d61ef5a0dca9212431876c00a13f8398ff45f4c
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
new file mode 100644
index 000000000000..a1018a254f18
--- /dev/null
+++ b/games-strategy/megaglest-data/megaglest-data-3.11.1-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PN="megaglest"
+DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest"
+HOMEPAGE="https://www.megaglest.org/"
+SRC_URI="https://github.com/MegaGlest/megaglest-data/releases/download/${PV}/megaglest-data-${PV}.tar.xz"
+
+LICENSE="CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt )
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_install() {
+ use doc && HTML_DOCS+=( docs/glest_factions/ )
+ cmake_src_install
+}
diff --git a/games-strategy/megaglest-data/megaglest-data-3.11.1.ebuild b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild
index 24a3f10e96fd..b96462b4fb9e 100644
--- a/games-strategy/megaglest-data/megaglest-data-3.11.1.ebuild
+++ b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit cmake-utils games
+EAPI=7
+inherit cmake
MY_PN="megaglest"
DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest"
@@ -16,27 +16,17 @@ IUSE="doc"
DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt )
-S=${WORKDIR}/${MY_PN}-${PV}
-
-src_prepare() {
- cmake-utils_src_prepare
-}
+S="${WORKDIR}/${MY_PN}-${PV}"
src_configure() {
+ # See bug https://bugs.gentoo.org/709450.
local mycmakeargs=(
- -DMEGAGLEST_BIN_INSTALL_PATH="${GAMES_BINDIR}"
- -DMEGAGLEST_DATA_INSTALL_PATH="${GAMES_DATADIR}/${MY_PN}"
- -DMEGAGLEST_ICON_INSTALL_PATH="/usr/share/pixmaps"
+ -DMEGAGLEST_APPDATA_INSTALL_PATH=/usr/metainfo
)
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
+ cmake_src_configure
}
src_install() {
use doc && HTML_DOCS="docs/glest_factions/"
- cmake-utils_src_install
- prepgamesdirs
+ cmake_src_install
}