summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2017-05-20 11:42:23 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-09-03 11:29:47 +0200
commite5a3aa49ee4ed4f846d803e6095c4a171cac62c3 (patch)
tree6254ed5e44905dde102359bd504c05237f629baa
parent1d787104d2cd5b90b44f27fed5c5db3515343706 (diff)
downloadgames-e5a3aa49ee4ed4f846d803e6095c4a171cac62c3.tar.gz
games-e5a3aa49ee4ed4f846d803e6095c4a171cac62c3.tar.xz
wesnoth: Version bump to 1.13.8 (masked)
-rw-r--r--metadata/repository_mask.conf6
-rw-r--r--packages/games-strategy/wesnoth/wesnoth-1.13.8.exheres-07
-rw-r--r--packages/games-strategy/wesnoth/wesnoth.exlib41
3 files changed, 44 insertions, 10 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index e257b64..6c68ed1 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -33,10 +33,10 @@ games-strategy/wesnoth[~scm] [[
description = [ Mask live version of wesnoth ]
]]
-games-strategy/wesnoth[~>1.11.9] [[
+games-strategy/wesnoth[~>1.13.8] [[
author = [ Heiko Becker <heirecka@exherbo.org> ]
- date = [ 12 February 2014 ]
- token = testing
+ date = [ 20 May 2017 ]
+ token = pre-release
description = [ Development version ]
]]
diff --git a/packages/games-strategy/wesnoth/wesnoth-1.13.8.exheres-0 b/packages/games-strategy/wesnoth/wesnoth-1.13.8.exheres-0
new file mode 100644
index 0000000..2c60b4c
--- /dev/null
+++ b/packages/games-strategy/wesnoth/wesnoth-1.13.8.exheres-0
@@ -0,0 +1,7 @@
+# Copyright (c) 2009 Kim Højgaard-Hansen <kimrhh@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require wesnoth
+
+PLATFORMS="~amd64 ~x86"
+
diff --git a/packages/games-strategy/wesnoth/wesnoth.exlib b/packages/games-strategy/wesnoth/wesnoth.exlib
index 3aeec1e..3029d01 100644
--- a/packages/games-strategy/wesnoth/wesnoth.exlib
+++ b/packages/games-strategy/wesnoth/wesnoth.exlib
@@ -54,19 +54,12 @@ DEPENDENCIES="
build+run:
dev-libs/boost[>=1.48.0]
group/wesnothd
- media-libs/SDL_net:0[>=1.2]
user/wesnothd
openmp? ( sys-libs/libgomp:= )
- server-only? ( media-libs/SDL:0[>=1.2.7] )
!server-only? (
- dev-libs/fribidi
media-libs/fontconfig[>=2.4.1]
media-libs/libpng:=
media-libs/libvorbis
- media-libs/SDL:0[>=1.2.7][X]
- media-libs/SDL_image:1[>=1.2]
- media-libs/SDL_mixer:0[>=1.2.12][ogg]
- media-libs/SDL_ttf:0[>=2.0.8]
x11-libs/cairo
x11-libs/libX11
x11-libs/pango[>=1.21.3]
@@ -74,6 +67,35 @@ DEPENDENCIES="
)
"
+if ever at_least 1.13.5 ; then
+ DEPENDENCIES+="
+ build+run:
+ media-libs/SDL_net:2[>=2.0.0]
+ server-only? ( media-libs/SDL:2[>=2.0.2] )
+ !server-only? (
+ dev-libs/fribidi[>=0.10.9]
+ media-libs/SDL:2[>=2.0.2][X]
+ media-libs/SDL_image:2[>=2.0]
+ media-libs/SDL_mixer:2[>=2.0][ogg]
+ media-libs/SDL_ttf:2[>=2.0.8]
+ sys-libs/readline:=
+ )
+ "
+else
+ DEPENDENCIES+="
+ build+run:
+ media-libs/SDL_net:0[>=1.2]
+ server-only? ( media-libs/SDL:0[>=1.2.7] )
+ !server-only? (
+ dev-libs/fribidi
+ media-libs/SDL:0[>=1.2.7][X]
+ media-libs/SDL_image:1[>=1.2]
+ media-libs/SDL_mixer:0[>=1.2.12][ogg]
+ media-libs/SDL_ttf:0[>=2.0.8]
+ )
+ "
+fi
+
BUGS_TO="kimrhh@exherbo.org ingmar@exherbo.org heirecka@exherbo.org"
UPSTREAM_CHANGELOG="https://raw.github.com/${PN}/${PN}-old/${PV}/changelog"
@@ -104,6 +126,11 @@ wesnoth_src_prepare() {
fi
done
edo echo "${selected_localisation}" > "${CMAKE_SOURCE}"/po/LINGUAS
+
+ edo sed \
+ -e "/NON_LTO_AR NAMES/s/ ar/ $(exhost --tool-prefix)ar/" \
+ -e "/NON_LTO_RANLIB NAMES/s/ ranlib/ $(exhost --tool-prefix)ranlib/" \
+ -i CMakeLists.txt
}
wesnoth_src_install() {