diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /games-board/maitretarot | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'games-board/maitretarot')
| -rw-r--r-- | games-board/maitretarot/Manifest | 1 | ||||
| -rw-r--r-- | games-board/maitretarot/files/maitretarot-0.1.98-format.patch | 11 | ||||
| -rw-r--r-- | games-board/maitretarot/files/maitretarot-0.1.98-gcc15.patch | 13 | ||||
| -rw-r--r-- | games-board/maitretarot/maitretarot-0.1.98-r2.ebuild | 42 | ||||
| -rw-r--r-- | games-board/maitretarot/maitretarot-0.1.98-r4.ebuild | 43 | ||||
| -rw-r--r-- | games-board/maitretarot/metadata.xml | 9 |
6 files changed, 119 insertions, 0 deletions
diff --git a/games-board/maitretarot/Manifest b/games-board/maitretarot/Manifest new file mode 100644 index 000000000000..db12d50afa1a --- /dev/null +++ b/games-board/maitretarot/Manifest @@ -0,0 +1 @@ +DIST maitretarot-0.1.98.tar.bz2 92050 BLAKE2B eaf38974482043b1f8008fac455b75d7e429f4f9ead26de6a50705ef7f3b8995c0b84b37f0ae95f24df7df2e438e5062763eb62ef526033f1e62aaff9c2ef272 SHA512 99cfe8e99b2214f729d6dc175064f827a258d008c2f67a16a77bbf18ebf73da87fae4d58b9597b582cc450762f2cc497cded26d84bb4ce3e7c25f9891bb72e03 diff --git a/games-board/maitretarot/files/maitretarot-0.1.98-format.patch b/games-board/maitretarot/files/maitretarot-0.1.98-format.patch new file mode 100644 index 000000000000..f01f4917553f --- /dev/null +++ b/games-board/maitretarot/files/maitretarot-0.1.98-format.patch @@ -0,0 +1,11 @@ +--- a/src/game.c ++++ b/src/game.c +@@ -642,7 +642,7 @@ + (game, prev_winner, c, ((i + prev_winner) % 4), + game->players[((i + prev_winner) % 4)]->turn, &err)) + { +- g_message (err->message); ++ g_message ("%s", err->message); + turn_nok = TRUE; + game->players[((i + prev_winner) % 4)]->ready = + MT_PLAYER_READY_SEND_NOK_FOR_CARD; diff --git a/games-board/maitretarot/files/maitretarot-0.1.98-gcc15.patch b/games-board/maitretarot/files/maitretarot-0.1.98-gcc15.patch new file mode 100644 index 000000000000..cc6ee8286529 --- /dev/null +++ b/games-board/maitretarot/files/maitretarot-0.1.98-gcc15.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/944264 + +--- a/src/config_utils.c ++++ b/src/config_utils.c +@@ -29,7 +29,7 @@ + #include "config_utils.h" + + static void +-usage () ++usage (char* a) + { + g_printerr (_ + ("maitretarot [-h | -- help] [-v | --version] [-p port] [-c filename]\n")); diff --git a/games-board/maitretarot/maitretarot-0.1.98-r2.ebuild b/games-board/maitretarot/maitretarot-0.1.98-r2.ebuild new file mode 100644 index 000000000000..a53f75ae021d --- /dev/null +++ b/games-board/maitretarot/maitretarot-0.1.98-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Server for the french tarot game maitretarot" +HOMEPAGE="http://www.nongnu.org/maitretarot/" +SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/glib:2 + dev-libs/libxml2 + dev-games/libmaitretarot" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-format.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + # Remove bundled macros (avoid patching same file multiple times) + rm -rf m4/{libmaitretarot,libmt_client}.m4 || die + + # Ensure we generate auto* with the fixed macros in tree + # (not bundled) + # bug #739142 + eautoreconf +} + +src_configure() { + econf --with-default-config-file="/etc/maitretarotrc.xml" +} diff --git a/games-board/maitretarot/maitretarot-0.1.98-r4.ebuild b/games-board/maitretarot/maitretarot-0.1.98-r4.ebuild new file mode 100644 index 000000000000..9d043763bee0 --- /dev/null +++ b/games-board/maitretarot/maitretarot-0.1.98-r4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Server for the french tarot game maitretarot" +HOMEPAGE="http://www.nongnu.org/maitretarot/" +SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/glib:2 + dev-libs/libxml2:= + dev-games/libmaitretarot" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-format.patch + "${FILESDIR}"/${P}-gcc15.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + # Remove bundled macros (avoid patching same file multiple times) + rm m4/libmaitretarot.m4 || die + + # Ensure we generate auto* with the fixed macros in tree + # (not bundled) + # bug #739142 + eautoreconf +} + +src_configure() { + econf --with-default-config-file="/etc/maitretarotrc.xml" +} diff --git a/games-board/maitretarot/metadata.xml b/games-board/maitretarot/metadata.xml new file mode 100644 index 000000000000..183ecc5ceeeb --- /dev/null +++ b/games-board/maitretarot/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
