Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/colobot/
Date: Mon, 23 Sep 2019 17:40:48
Message-Id: 1569260369.94ac1ac56f74cebb597dac79e8780f37a8acb725.mgorny@gentoo
1 commit: 94ac1ac56f74cebb597dac79e8780f37a8acb725
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 23 16:09:31 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 23 17:39:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ac1ac5
7
8 games-strategy/colobot: Bump to 0.1.12
9
10 Closes: https://bugs.gentoo.org/687994
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 games-strategy/colobot/Manifest | 1 +
14 games-strategy/colobot/colobot-0.1.12.ebuild | 57 ++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/games-strategy/colobot/Manifest b/games-strategy/colobot/Manifest
18 index e61203e4f87..eeafb000c2b 100644
19 --- a/games-strategy/colobot/Manifest
20 +++ b/games-strategy/colobot/Manifest
21 @@ -1 +1,2 @@
22 DIST colobot-0.1.11.tar.gz 1430595 BLAKE2B 6e4a23f17631031a6f502b045637949d99bfcf8aa723f11c406c8cdb9b201b9a2771de8b8c92829bc890848a19eb182bc30a45a51e6d281ce64370f6c7a0d8a5 SHA512 fe32bc56b6fae9435c74a73b694b7d2b93667e5d15b1c57a7558e492613f0a5d4cab72ff341ab4c921150137282cc71292a1e31eb1ed06c752de33c50120f20e
23 +DIST colobot-gold-0.1.12-alpha.tar.gz 1468594 BLAKE2B 2b470e8b074e4a973b751062dca2358396066d8816c2b1b5b44649b798610dccd73ab5fed4086f2aa8d4495f3de69dd8b72b45f97f23f66b18a50fc976bf25ef SHA512 63647a16b376db6544830f96e7d323c0f58003645bf636abd1cab0ffd47b39b0bef47191d584f5156b75324d75dfdfdcabe8b89be565087c37c367ca366f3cbe
24
25 diff --git a/games-strategy/colobot/colobot-0.1.12.ebuild b/games-strategy/colobot/colobot-0.1.12.ebuild
26 new file mode 100644
27 index 00000000000..3c3762f6152
28 --- /dev/null
29 +++ b/games-strategy/colobot/colobot-0.1.12.ebuild
30 @@ -0,0 +1,57 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +# upstream CMakeLists.txt are buggy
37 +CMAKE_MAKEFILE_GENERATOR=emake
38 +inherit cmake-utils desktop xdg-utils
39 +
40 +DESCRIPTION="Colobot is an educational real-time strategy video game featuring 3D graphics"
41 +HOMEPAGE="https://colobot.info/"
42 +SRC_URI="https://github.com/colobot/colobot/archive/${PN}-gold-${PV}-alpha.tar.gz"
43 +S="${WORKDIR}/${PN}-${PN}-gold-${PV}-alpha"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="devbuild doc +openal test tools"
49 +RESTRICT="!test? ( test )"
50 +
51 +DEPEND="
52 + dev-games/physfs
53 + dev-libs/boost:=
54 + media-libs/glew:0
55 + media-libs/libogg
56 + media-libs/libpng:0=
57 + media-libs/libsdl2:=
58 + media-libs/libsndfile:=
59 + media-libs/libvorbis:=
60 + media-libs/sdl2-image
61 + media-libs/sdl2-ttf
62 + media-sound/vorbis-tools
63 + sys-devel/gettext
64 + openal? ( media-libs/openal )"
65 +RDEPEND="${DEPEND}
66 + games-strategy/colobot-data"
67 +
68 +src_configure() {
69 + local mycmakeargs=(
70 + -DDEV_BUILD=$(usex devbuild)
71 + -DTESTS=$(usex test)
72 + -DTOOLS=$(usex tools)
73 + -DINSTALL_DOCS=$(usex doc)
74 + -DOPENAL_SOUND=$(usex openal)
75 + -DCOLOBOT_INSTALL_BIN_DIR="${EPREFIX}"/usr/bin
76 + -DCOLOBOT_INSTALL_LIB_DIR="${EPREFIX}"/usr/$(get_libdir)
77 + )
78 + cmake-utils_src_configure
79 +}
80 +
81 +pkg_postinst() {
82 + xdg_icon_cache_update
83 +}
84 +
85 +pkg_postrm() {
86 + xdg_icon_cache_update
87 +}