From faddeff65d652bda3291eba255955adb17f1aa19 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 24 Nov 2023 16:33:11 +0000 Subject: gentoo auto-resync : 24:11:2023 - 16:33:11 --- games-board/openyahtzee/Manifest | 2 ++ .../openyahtzee/files/openyahtzee-1.9.3-wx32.patch | 11 ++++++++ .../openyahtzee/openyahtzee-1.9.3-r2.ebuild | 29 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 games-board/openyahtzee/files/openyahtzee-1.9.3-wx32.patch create mode 100644 games-board/openyahtzee/openyahtzee-1.9.3-r2.ebuild (limited to 'games-board/openyahtzee') diff --git a/games-board/openyahtzee/Manifest b/games-board/openyahtzee/Manifest index b5dd5bd2d507..ff72b5e8606e 100644 --- a/games-board/openyahtzee/Manifest +++ b/games-board/openyahtzee/Manifest @@ -1,3 +1,5 @@ +AUX openyahtzee-1.9.3-wx32.patch 520 BLAKE2B ce53e083b66aecd8e817501a2424a4289ba9e17f19410eec0dc4696c8c28894fe317465f1bd5910fdbbbc036c5c6144229ac1724d5f8927c6566af2bdfd63c8f SHA512 59e863ba5ea6aaacbf5b81a4890d59df1e3d5673fd0bf115e78d1daf675054a66caade4e27158b0eba1f92ee4aac34034b0c79cb86c0e3a345a8f7600d6586c0 DIST openyahtzee-1.9.3.tar.xz 178868 BLAKE2B 0cb5b87f8d4f9cdfbc81918f937ec783fef2488146f5497de0d01d6b50eeeef2edc308ca4230f1103b5770a03ccb74740e5c42b2ea01bd67705ed2aff6667d99 SHA512 7e696141d8f567247300c7f4924889b0a2f88866c70a10ad7619709990cacb726ec0af28bcee62a9f0d607d7f83ca5bb62d7275b2cc6e0343004f9125e4fb506 EBUILD openyahtzee-1.9.3-r1.ebuild 887 BLAKE2B d517aecc863056960ebd7bbbde24b120cc1ac6bb66f10b3a3499d4eefedcb4d731a04f10cf4b11a8e5638e4193145cf32e3e9c4ab4aceb5f4ec21bc55016d37e SHA512 1dd77bd359ddbcef3e36c6db4b5a0f0285ae63f58e2c4bbc046d093484657fb31c12ea51dce5f447cb2830b420353b5995ec0d67804f9078eb8e897c5c41b1b7 +EBUILD openyahtzee-1.9.3-r2.ebuild 618 BLAKE2B 1c7931e89a8d20621f13d43dd927f61564a88bee6fe62ffd8be8f893d4e8e440187e0338c20c4866a96c281aac55c3ad90b0acf3da3a85bd76d94f67c60ed953 SHA512 4be3e7d8220a398076c73b88b5346f2450863752f9d527f700ccafd43029e8645b5392964fc9ee033c2ac33469d1f011e7273d06a79ae9d047902fe178072243 MISC metadata.xml 335 BLAKE2B d48aff920af7eb627945824c46f0a888d3077e77df3af78d48df60f51c8237c2381d1f4af638090baf7f70833ba680c0eed3e4fa14f70f579bee3a26d0cf525c SHA512 b82b98db4889cffa82bf22c4a7017223db267cf656f2efd32c7192c8aff3555c58f1ea2731b99b0503f1adb750a7915e623c88e9f697a2b1896a5f94fd40b163 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..9ded508d8921 --- /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 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 +} -- cgit v1.2.3