diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2017-04-26 14:43:09 -0400 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2017-04-26 14:43:55 -0400 |
commit | 438e3912063d437bf8aa036f8812fdf4dd3cccde (patch) | |
tree | 1c59fac8d699ac57629ec4437bc86edbfaa7b67a /games-strategy/freeorion | |
parent | dev-libs/hyperscan: bump to 4.4.1-r1, fix 616626 (diff) | |
download | gentoo-438e3912063d437bf8aa036f8812fdf4dd3cccde.tar.gz gentoo-438e3912063d437bf8aa036f8812fdf4dd3cccde.tar.bz2 gentoo-438e3912063d437bf8aa036f8812fdf4dd3cccde.zip |
games-strategy/freeorion: Drop 0.4.6, update 9999, #604086
Fixes building with Boost 1.63
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'games-strategy/freeorion')
-rw-r--r-- | games-strategy/freeorion/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/freeorion/freeorion-0.4.6.ebuild | 83 | ||||
-rw-r--r-- | games-strategy/freeorion/freeorion-9999.ebuild | 10 |
3 files changed, 3 insertions, 91 deletions
diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest index a4b1e956c972..d4c501817d07 100644 --- a/games-strategy/freeorion/Manifest +++ b/games-strategy/freeorion/Manifest @@ -1,2 +1 @@ -DIST freeorion-0.4.6.tar.gz 145720274 SHA256 3e3ff3a758c8a1ffa71773dff18faff2c792051bb5162758b5f5b8ea59e8e311 SHA512 0488e36286358e8db2dcfe0cdae68e4638388fd2d4c627a258cdecf0afd57e9dbac03111f7683c3ef22edecbedd197a172d177400ddbb585a50f34804a50c50a WHIRLPOOL 30d56a2ca76158168492aa0d1b3fe5a9f164afd7dc378128fe2796ce149a9d65a64cd10c41c5b6c1510773e9ead564dff452869e6c384d949cd0789a51198b6c DIST freeorion-0.4.7_rc2.tar.gz 105944237 SHA256 6f9d2dd30609e65982fef197f4c64553e196a2c30dd9bae9db6b02758dd85191 SHA512 f703ae2e79d0ec1ba6217ff4de7fe443476ee280437f28e545286bfce7d20add5886c7275672091df2374222d03d535513a7d68db4e9bcc08bd72f1b28ca29d3 WHIRLPOOL c77c19f49c91452328c0b841f9bc127ab3c347963cd54582cd0fe587cc773565e6eec7e8cd3f1f30f7c690c24868029185e2c75bef32dcb53b25772bb1c1b0fd diff --git a/games-strategy/freeorion/freeorion-0.4.6.ebuild b/games-strategy/freeorion/freeorion-0.4.6.ebuild deleted file mode 100644 index cd26c01d3e82..000000000000 --- a/games-strategy/freeorion/freeorion-0.4.6.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils python-any-r1 gnome2-utils - -DESCRIPTION="A free turn-based space empire and galactic conquest game" -HOMEPAGE="http://www.freeorion.org" - -RELDATE=2016-09-16 -SHA=49f9123 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/FreeOrion_v${PV}_${RELDATE}.${SHA}_Source.tar.gz -> ${P}.tar.gz" -# Issue with version.cpp, TODO fix -#SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND=" - >=dev-libs/boost-1.56[python,threads] - media-libs/freealut - media-libs/freetype - media-libs/glew:* - media-libs/libsdl2 - >=media-libs/libogg-1.1.3 - media-libs/libpng:0 - media-libs/libsdl2[X,opengl,video] - >=media-libs/libvorbis-1.1.2 - media-libs/openal - sci-physics/bullet - sys-libs/zlib - virtual/opengl - !dev-games/gigi" - # Use bundled gigi as of freeorion-0.4.3 - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig" - -S="${WORKDIR}/src-tarball" - -PATCHES=( "${FILESDIR}/${P}-boost-1.62.patch" ) - -pkg_setup() { - # build system is using FindPythonLibs.cmake which needs python:2 - python-any-r1_pkg_setup -} - -src_prepare() { - sed -e "s/-O3//" -i CMakeLists.txt || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DRELEASE_COMPILE_FLAGS="" - -DCMAKE_SKIP_RPATH=ON - ) - - append-cppflags -DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc ChangeLog.md - - newenvd "${FILESDIR}/${PN}.envd" 99${PN} -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-strategy/freeorion/freeorion-9999.ebuild b/games-strategy/freeorion/freeorion-9999.ebuild index a790572fcaf8..1be8614838d4 100644 --- a/games-strategy/freeorion/freeorion-9999.ebuild +++ b/games-strategy/freeorion/freeorion-9999.ebuild @@ -13,14 +13,10 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/freeorion/freeorion.git" else - RELDATE=2016-09-16 - SHA=49f9123 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/FreeOrion_v${PV}_${RELDATE}.${SHA}_Source.tar.gz -> ${P}.tar.gz" - # Issue with version.cpp, TODO fix - #SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + MY_PV="${PV/_/-}" + SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" - - S="${WORKDIR}/src-tarball" + S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0" |