diff options
author | OursDesCavernes <totocoq@yahoo.fr> | 2018-03-19 00:40:19 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-03-26 22:25:00 +0100 |
commit | 88b69511505b96a18155ff7652ab5f22f6380167 (patch) | |
tree | f589790385bb4faa50f914d293857515f21cd1ab /games-strategy/maxr/maxr-0.2.9.ebuild | |
parent | sys-auth/fingerprint-gui: bump to 1.09 with Qt5 (diff) | |
download | gentoo-88b69511505b96a18155ff7652ab5f22f6380167.tar.gz gentoo-88b69511505b96a18155ff7652ab5f22f6380167.tar.bz2 gentoo-88b69511505b96a18155ff7652ab5f22f6380167.zip |
games-strategy/maxr: Bump verion 0.2.9
Closes: https://bugs.gentoo.org/614498
Closes: https://bugs.gentoo.org/599386
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7502
Diffstat (limited to 'games-strategy/maxr/maxr-0.2.9.ebuild')
-rw-r--r-- | games-strategy/maxr/maxr-0.2.9.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-strategy/maxr/maxr-0.2.9.ebuild b/games-strategy/maxr/maxr-0.2.9.ebuild new file mode 100644 index 000000000000..1835decca361 --- /dev/null +++ b/games-strategy/maxr/maxr-0.2.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils desktop + +DESCRIPTION="Mechanized Assault and Exploration Reloaded" +HOMEPAGE="http://www.maxr.org/" +SRC_URI="http://www.maxr.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2 FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated" + +RDEPEND="media-libs/libsdl2[video] + media-libs/sdl2-mixer[vorbis] + media-libs/sdl2-net" +DEPEND="${RDEPEND}" + +src_configure() { + mycmakeargs=( + -DMAXR_BUILD_DEDICATED_SERVER="$(usex dedicated)" + "-DCMAKE_BUILD_TYPE=Release") + + cmake-utils_src_configure +} + +src_install() { + doicon data/maxr.png + make_desktop_entry maxr "Mechanized Assault and Exploration Reloaded" + cmake-utils_src_install +} |