Skip to content

Commit

Permalink
games-strategy/hedgewars: EAPI-7 bump
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Sturmlechner <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
a17r committed Jan 3, 2019
1 parent 2128068 commit 9d326b5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions games-strategy/hedgewars/hedgewars-0.9.25.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

CMAKE_MAKEFILE_GENERATOR=emake
inherit cmake-utils xdg-utils
Expand All @@ -13,6 +13,7 @@ DESCRIPTION="A turn-based strategy, artillery, action and comedy game"
HOMEPAGE="https://www.hedgewars.org/"
SRC_URI="https://www.hedgewars.org/download/releases/${MY_P}.tar.bz2
mirror://debian/pool/main/h/${PN}/${PN}_0.9.23-dfsg-${DEB_PATCH_VER}.debian.tar.xz"

LICENSE="GPL-2 Apache-2.0 FDL-1.3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
Expand All @@ -22,7 +23,7 @@ QA_FLAGS_IGNORED="/usr/bin/hwengine" # pascal sucks
QA_PRESTRIPPED="/usr/bin/hwengine" # pascal sucks

# qtcore:5= - depends on private header
CDEPEND="
DEPEND="
>=dev-games/physfs-3.0.1
dev-lang/lua:0=
dev-qt/qtcore:5=
Expand All @@ -35,13 +36,16 @@ CDEPEND="
media-libs/sdl2-mixer:=[vorbis]
media-libs/sdl2-net:=
media-libs/sdl2-ttf:=
sys-libs/zlib:=
sys-libs/zlib
!x86? (
libav? ( media-video/libav:= )
!libav? ( media-video/ffmpeg:= )
)"
DEPEND="${CDEPEND}
!x86? ( >=dev-lang/fpc-2.4 )
RDEPEND="${DEPEND}
app-arch/xz-utils
>=media-fonts/dejavu-2.28
media-fonts/wqy-zenhei"
BDEPEND="
dev-qt/linguist-tools:5
server? (
>=dev-lang/ghc-6.10
Expand All @@ -58,14 +62,11 @@ DEPEND="${CDEPEND}
dev-haskell/yaml
>=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
)
!x86? ( >=dev-lang/fpc-2.4 )
x86? (
>=dev-lang/ghc-6.10
dev-haskell/parsec
)"
RDEPEND="${CDEPEND}
app-arch/xz-utils
>=media-fonts/dejavu-2.28
media-fonts/wqy-zenhei"

S="${WORKDIR}"/${MY_P}

Expand All @@ -79,9 +80,9 @@ src_configure() {
-DDATA_INSTALL_DIR="${EPREFIX}/usr/share/${PN}"
-Dtarget_binary_install_dir="${EPREFIX}/usr/bin"
-Dtarget_library_install_dir="${EPREFIX}/usr/$(get_libdir)"
-DNOSERVER=$(usex server FALSE TRUE)
-DBUILD_ENGINE_C=$(usex x86 ON OFF)
-DNOVIDEOREC=$(usex x86 TRUE FALSE)
-DNOSERVER=$(usex !server)
-DBUILD_ENGINE_C=$(usex x86)
-DNOVIDEOREC=$(usex !x86)
-DCMAKE_VERBOSE_MAKEFILE=TRUE
-DPHYSFS_SYSTEM=ON
# Need to tell the build system where the fonts are located
Expand Down

0 comments on commit 9d326b5

Please sign in to comment.