mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-strategy/freeorion: Bumped live ebuild to EAPI-7
Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
PYTHON_COMPAT=( python2_7 )
|
||||||
inherit cmake-utils python-single-r1 gnome2-utils
|
inherit cmake-utils python-single-r1 xdg
|
||||||
|
|
||||||
DESCRIPTION="A free turn-based space empire and galactic conquest game"
|
DESCRIPTION="A free turn-based space empire and galactic conquest game"
|
||||||
HOMEPAGE="http://www.freeorion.org"
|
HOMEPAGE="http://www.freeorion.org"
|
||||||
@@ -40,7 +40,8 @@ RDEPEND="
|
|||||||
!dev-games/gigi"
|
!dev-games/gigi"
|
||||||
# Use bundled gigi as of freeorion-0.4.3
|
# Use bundled gigi as of freeorion-0.4.3
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
${PYTHON_DEPS}
|
${PYTHON_DEPS}
|
||||||
virtual/pkgconfig"
|
virtual/pkgconfig"
|
||||||
|
|
||||||
@@ -57,12 +58,11 @@ src_prepare() {
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DCMAKE_BUILD_TYPEE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DRELEASE_COMPILE_FLAGS=""
|
|
||||||
-DCMAKE_SKIP_RPATH=ON
|
-DCMAKE_SKIP_RPATH=ON
|
||||||
)
|
)
|
||||||
|
|
||||||
append-cppflags -DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL
|
#append-cppflags -DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL
|
||||||
|
|
||||||
cmake-utils_src_configure
|
cmake-utils_src_configure
|
||||||
}
|
}
|
||||||
@@ -74,10 +74,14 @@ src_install() {
|
|||||||
newenvd "${FILESDIR}/${PN}.envd" 99${PN}
|
newenvd "${FILESDIR}/${PN}.envd" 99${PN}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
xdg_pkg_preinst
|
||||||
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
gnome2_icon_cache_update
|
xdg_pkg_postinst
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
gnome2_icon_cache_update
|
xdg_pkg_postrm
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user