Gentoo Archives: gentoo-commits

From: NP Hardass <np-hardass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeorion/
Date: Wed, 26 Apr 2017 18:44:03
Message-Id: 1493232235.438e3912063d437bf8aa036f8812fdf4dd3cccde.np-hardass@gentoo
1 commit: 438e3912063d437bf8aa036f8812fdf4dd3cccde
2 Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 26 18:43:09 2017 +0000
4 Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 26 18:43:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438e3912
7
8 games-strategy/freeorion: Drop 0.4.6, update 9999, #604086
9
10 Fixes building with Boost 1.63
11
12 Package-Manager: Portage-2.3.5, Repoman-2.3.2
13
14 games-strategy/freeorion/Manifest | 1 -
15 games-strategy/freeorion/freeorion-0.4.6.ebuild | 83 -------------------------
16 games-strategy/freeorion/freeorion-9999.ebuild | 10 +--
17 3 files changed, 3 insertions(+), 91 deletions(-)
18
19 diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest
20 index a4b1e956c97..d4c501817d0 100644
21 --- a/games-strategy/freeorion/Manifest
22 +++ b/games-strategy/freeorion/Manifest
23 @@ -1,2 +1 @@
24 -DIST freeorion-0.4.6.tar.gz 145720274 SHA256 3e3ff3a758c8a1ffa71773dff18faff2c792051bb5162758b5f5b8ea59e8e311 SHA512 0488e36286358e8db2dcfe0cdae68e4638388fd2d4c627a258cdecf0afd57e9dbac03111f7683c3ef22edecbedd197a172d177400ddbb585a50f34804a50c50a WHIRLPOOL 30d56a2ca76158168492aa0d1b3fe5a9f164afd7dc378128fe2796ce149a9d65a64cd10c41c5b6c1510773e9ead564dff452869e6c384d949cd0789a51198b6c
25 DIST freeorion-0.4.7_rc2.tar.gz 105944237 SHA256 6f9d2dd30609e65982fef197f4c64553e196a2c30dd9bae9db6b02758dd85191 SHA512 f703ae2e79d0ec1ba6217ff4de7fe443476ee280437f28e545286bfce7d20add5886c7275672091df2374222d03d535513a7d68db4e9bcc08bd72f1b28ca29d3 WHIRLPOOL c77c19f49c91452328c0b841f9bc127ab3c347963cd54582cd0fe587cc773565e6eec7e8cd3f1f30f7c690c24868029185e2c75bef32dcb53b25772bb1c1b0fd
26
27 diff --git a/games-strategy/freeorion/freeorion-0.4.6.ebuild b/games-strategy/freeorion/freeorion-0.4.6.ebuild
28 deleted file mode 100644
29 index cd26c01d3e8..00000000000
30 --- a/games-strategy/freeorion/freeorion-0.4.6.ebuild
31 +++ /dev/null
32 @@ -1,83 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -inherit cmake-utils python-any-r1 gnome2-utils
40 -
41 -DESCRIPTION="A free turn-based space empire and galactic conquest game"
42 -HOMEPAGE="http://www.freeorion.org"
43 -
44 -RELDATE=2016-09-16
45 -SHA=49f9123
46 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/FreeOrion_v${PV}_${RELDATE}.${SHA}_Source.tar.gz -> ${P}.tar.gz"
47 -# Issue with version.cpp, TODO fix
48 -#SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 -
50 -LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"
51 -SLOT="0"
52 -KEYWORDS="~amd64"
53 -IUSE=""
54 -
55 -RDEPEND="
56 - >=dev-libs/boost-1.56[python,threads]
57 - media-libs/freealut
58 - media-libs/freetype
59 - media-libs/glew:*
60 - media-libs/libsdl2
61 - >=media-libs/libogg-1.1.3
62 - media-libs/libpng:0
63 - media-libs/libsdl2[X,opengl,video]
64 - >=media-libs/libvorbis-1.1.2
65 - media-libs/openal
66 - sci-physics/bullet
67 - sys-libs/zlib
68 - virtual/opengl
69 - !dev-games/gigi"
70 - # Use bundled gigi as of freeorion-0.4.3
71 -
72 -DEPEND="${RDEPEND}
73 - ${PYTHON_DEPS}
74 - virtual/pkgconfig"
75 -
76 -S="${WORKDIR}/src-tarball"
77 -
78 -PATCHES=( "${FILESDIR}/${P}-boost-1.62.patch" )
79 -
80 -pkg_setup() {
81 - # build system is using FindPythonLibs.cmake which needs python:2
82 - python-any-r1_pkg_setup
83 -}
84 -
85 -src_prepare() {
86 - sed -e "s/-O3//" -i CMakeLists.txt || die
87 -
88 - cmake-utils_src_prepare
89 -}
90 -
91 -src_configure() {
92 - local mycmakeargs=(
93 - -DRELEASE_COMPILE_FLAGS=""
94 - -DCMAKE_SKIP_RPATH=ON
95 - )
96 -
97 - append-cppflags -DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL
98 -
99 - cmake-utils_src_configure
100 -}
101 -
102 -src_install() {
103 - cmake-utils_src_install
104 - dodoc ChangeLog.md
105 -
106 - newenvd "${FILESDIR}/${PN}.envd" 99${PN}
107 -}
108 -
109 -pkg_postinst() {
110 - gnome2_icon_cache_update
111 -}
112 -
113 -pkg_postrm() {
114 - gnome2_icon_cache_update
115 -}
116
117 diff --git a/games-strategy/freeorion/freeorion-9999.ebuild b/games-strategy/freeorion/freeorion-9999.ebuild
118 index a790572fcaf..1be8614838d 100644
119 --- a/games-strategy/freeorion/freeorion-9999.ebuild
120 +++ b/games-strategy/freeorion/freeorion-9999.ebuild
121 @@ -13,14 +13,10 @@ if [[ ${PV} == 9999 ]]; then
122 inherit git-r3
123 EGIT_REPO_URI="https://github.com/freeorion/freeorion.git"
124 else
125 - RELDATE=2016-09-16
126 - SHA=49f9123
127 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/FreeOrion_v${PV}_${RELDATE}.${SHA}_Source.tar.gz -> ${P}.tar.gz"
128 - # Issue with version.cpp, TODO fix
129 - #SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
130 + MY_PV="${PV/_/-}"
131 + SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
132 KEYWORDS="~amd64"
133 -
134 - S="${WORKDIR}/src-tarball"
135 + S="${WORKDIR}/${PN}-${MY_PV}"
136 fi
137
138 LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"