diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-strategy/maxr/maxr-0.2.9.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-strategy/maxr/maxr-0.2.9.ebuild')
-rw-r--r-- | games-strategy/maxr/maxr-0.2.9.ebuild | 39 |
1 files changed, 39 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..4e1287280ad5 --- /dev/null +++ b/games-strategy/maxr/maxr-0.2.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils desktop gnome2-utils + +DESCRIPTION="Mechanized Assault and Exploration Reloaded" +HOMEPAGE="https://www.maxr.org" +SRC_URI="https://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() { + cmake-utils_src_install + doicon -s 128 data/${PN}.png + make_desktop_entry ${PN} "Mechanized Assault and Exploration Reloaded" +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |