summaryrefslogtreecommitdiff
path: root/games-board/openyahtzee
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-board/openyahtzee
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-board/openyahtzee')
-rw-r--r--games-board/openyahtzee/Manifest2
-rw-r--r--games-board/openyahtzee/openyahtzee-1.9.3-r1.ebuild (renamed from games-board/openyahtzee/openyahtzee-1.9.3.ebuild)19
2 files changed, 11 insertions, 10 deletions
diff --git a/games-board/openyahtzee/Manifest b/games-board/openyahtzee/Manifest
index 19a18da3cb79..65131d16126d 100644
--- a/games-board/openyahtzee/Manifest
+++ b/games-board/openyahtzee/Manifest
@@ -1,3 +1,3 @@
DIST openyahtzee-1.9.3.tar.xz 178868 BLAKE2B 0cb5b87f8d4f9cdfbc81918f937ec783fef2488146f5497de0d01d6b50eeeef2edc308ca4230f1103b5770a03ccb74740e5c42b2ea01bd67705ed2aff6667d99 SHA512 7e696141d8f567247300c7f4924889b0a2f88866c70a10ad7619709990cacb726ec0af28bcee62a9f0d607d7f83ca5bb62d7275b2cc6e0343004f9125e4fb506
-EBUILD openyahtzee-1.9.3.ebuild 947 BLAKE2B 5ae04914efbedd4f760418156b62d62d4af839b26c92a380634b792077fc6e93ff7bf08b2c99316476e150cb170ec6db44d7237a03287ad75d1d31a2ebb24e66 SHA512 8c19ba7a9aa442b623a9ac7f0a73b1e9a10cedf606a386897e2e9b22ead5eb3557a1e893ec193c1f2b3e76b046455578e9b670ad0f6e1e406e9283d7db05022b
+EBUILD openyahtzee-1.9.3-r1.ebuild 887 BLAKE2B 255d04f8a41c65bca944e5c498d9c74a3e0ee5d6dd882b7369862972cdf4050a8d9bd62d22126d2ed2be7fb26c76b9e917b08c519d7593cc4358d03918423c05 SHA512 dc33285ce41f898a408b6aa5810ec34ea0266dbbf1adc29f80a45aae7c7a5146069278d80bb9a19e0c883bd3cf8d9169d0c31032bab68e402fbf667e2755434c
MISC metadata.xml 334 BLAKE2B d17964abf906122fe1b2a687f8dee77dc967a68a7c811da0684ab2c9d5cc5b8accfc768879d74fb43c147cf58ac7c94525e8f652c4c9882181d4f347696abaed SHA512 076b161fdb89bf31c17ec83a56755311dce65c1929ccbbf90aaade3810778f4aee966298408bfb7a5f6853a7f4906ca409c34f306d407309236bd3cfb0534f6c
diff --git a/games-board/openyahtzee/openyahtzee-1.9.3.ebuild b/games-board/openyahtzee/openyahtzee-1.9.3-r1.ebuild
index def1007cccb9..9d1c1b6e3896 100644
--- a/games-board/openyahtzee/openyahtzee-1.9.3.ebuild
+++ b/games-board/openyahtzee/openyahtzee-1.9.3-r1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
WX_GTK_VER="3.0"
-inherit eutils flag-o-matic wxwidgets toolchain-funcs versionator
+inherit flag-o-matic toolchain-funcs wxwidgets
DESCRIPTION="A full-featured wxWidgets version of the classic dice game Yahtzee"
HOMEPAGE="http://openyahtzee.sourceforge.net/"
@@ -12,19 +13,19 @@ SRC_URI="mirror://sourceforge/openyahtzee/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
-DEPEND="${RDEPEND}
- >=sys-devel/gcc-4.6
- dev-libs/boost"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+"
pkg_pretend() {
local ver=4.6
local msg="You need at least GCC ${ver}.x for C++11 range-based 'for' and nullptr support."
if tc-is-gcc ; then
- if ! version_is_at_least ${ver} $(gcc-version); then
+ if ver_test ${ver} -gt $(gcc-version); then
die ${msg}
fi
else
@@ -34,6 +35,6 @@ pkg_pretend() {
src_configure() {
append-cxxflags -std=c++11
- need-wxwidgets unicode
+ setup-wxwidgets
econf --datadir=/usr/share
}