* [gentoo-commits] repo/gentoo:master commit in: games-board/openyahtzee/, games-board/openyahtzee/files/
@ 2023-11-24 12:59 Pacho Ramos
0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2023-11-24 12:59 UTC (permalink / raw
To: gentoo-commits
commit: b231eca789fe217f37537e185f023c8d47dba62a
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 12:56:15 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 12:56:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b231eca7
games-board/openyahtzee: Port to wxGTK 3.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
.../openyahtzee/files/openyahtzee-1.9.3-wx32.patch | 11 ++++++++
.../openyahtzee/openyahtzee-1.9.3-r2.ebuild | 29 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/games-board/openyahtzee/files/openyahtzee-1.9.3-wx32.patch b/games-board/openyahtzee/files/openyahtzee-1.9.3-wx32.patch
new file mode 100644
index 000000000000..0ac1d300bd0b
--- /dev/null
+++ b/games-board/openyahtzee/files/openyahtzee-1.9.3-wx32.patch
@@ -0,0 +1,11 @@
+--- a/src/about.cpp
++++ b/src/about.cpp
+@@ -40,7 +40,7 @@ void AboutDialog::addControlsAndLayout()
+
+ wxStaticText* app_label = new wxStaticText(this,wxID_ANY,wxT("Open Yahtzee ") wxT(VERSION));
+ app_label->SetFont(wxFont(14, wxDEFAULT, wxNORMAL, wxBOLD, false));
+- title_sizer->Add(app_label, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE, 10);
++ title_sizer->Add(app_label, 0, wxALL|wxALIGN_CENTER_VERTICAL, 10);
+
+ wxNotebook* notebook_main = new wxNotebook(this, wxID_ANY);
+ notebookAboutTab(notebook_main);
diff --git a/games-board/openyahtzee/openyahtzee-1.9.3-r2.ebuild b/games-board/openyahtzee/openyahtzee-1.9.3-r2.ebuild
new file mode 100644
index 000000000000..bdbe466b02da
--- /dev/null
+++ b/games-board/openyahtzee/openyahtzee-1.9.3-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.2-gtk3"
+inherit flag-o-matic toolchain-funcs wxwidgets
+
+DESCRIPTION="Full-featured wxWidgets version of the classic dice game Yahtzee"
+HOMEPAGE="https://openyahtzee.sourceforge.net/"
+SRC_URI="mirror://sourceforge/openyahtzee/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+"
+
+PATCHES=( "${FILESDIR}"/${P}-wx32.patch )
+
+src_configure() {
+ append-cxxflags -std=c++11
+ setup-wxwidgets
+ econf --datadir=/usr/share
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-24 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-24 12:59 [gentoo-commits] repo/gentoo:master commit in: games-board/openyahtzee/, games-board/openyahtzee/files/ Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox