summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2021-01-14 17:39:57 +0100
committerSam James <sam@gentoo.org>2021-01-17 04:34:30 +0000
commit259b6ae7fb5218399a999441ad7d3e9563ed8494 (patch)
tree9f502f62025266f19ea2af3dd37a79ac89fc5bcc /games-strategy
parentapp-emulation/libvirt: sync live (diff)
downloadgentoo-259b6ae7fb5218399a999441ad7d3e9563ed8494.tar.gz
gentoo-259b6ae7fb5218399a999441ad7d3e9563ed8494.tar.bz2
gentoo-259b6ae7fb5218399a999441ad7d3e9563ed8494.zip
games-strategy/megaglest-data: Bump to 3.13.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Nils Freydank <holgersson@posteo.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/megaglest-data/Manifest1
-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)28
2 files changed, 10 insertions, 19 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.ebuild b/games-strategy/megaglest-data/megaglest-data-3.13.0.ebuild
index c10fa689e223..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,12 +1,12 @@
-# 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"
-HOMEPAGE="http://www.megaglest.org/"
+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"
@@ -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
}