Skip to content

Commit

Permalink
games-strategy/megaglest-data: Bump to 3.13.0
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Nils Freydank <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
holgersson32644 authored and thesamesam committed Jan 17, 2021
1 parent 7eb9cb4 commit 259b6ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
1 change: 1 addition & 0 deletions games-strategy/megaglest-data/Manifest
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 259b6ae

Please sign in to comment.