commit: e5902cd1103605f5e48e9bedd2a9627c88fcf902 Author: kernaltrap8 <kernaltrap <AT> gmail <DOT> com> AuthorDate: Wed Jul 3 04:29:01 2024 +0000 Commit: Aiden Wingard <kernaltrap <AT> gmail <DOT> com> CommitDate: Wed Jul 3 04:29:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5902cd1
games-puzzle/xdemineur: new package, version 2.1.1 Signed-off-by: kernaltrap8 <kernaltrap <AT> gmail.com> games-puzzle/xdemineur/Manifest | 1 + .../xdemineur/files/xdemineur-2.1.1-include.patch | 11 ++++++++ games-puzzle/xdemineur/xdemineur-2.1.1.ebuild | 31 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/games-puzzle/xdemineur/Manifest b/games-puzzle/xdemineur/Manifest new file mode 100644 index 000000000..71b0fae5c --- /dev/null +++ b/games-puzzle/xdemineur/Manifest @@ -0,0 +1 @@ +DIST xdemineur-2.1.1.tar.gz 15633 BLAKE2B d28b7931a092b8759efbf7bcf21f56f137d62acf0fbe93dd109d7b6a17006d5d28974ba375550155680c4e350d1700a0bf66f9a83608051f678eeac35f4ed7de SHA512 0298f0529f20f70372812771218568df3fe3e6a1b4003d7c23fe6f17a3b37512b97b9546c9f7e5755421e923ab0cf3bdbf0094dba99310d133439396a12ad684 diff --git a/games-puzzle/xdemineur/files/xdemineur-2.1.1-include.patch b/games-puzzle/xdemineur/files/xdemineur-2.1.1-include.patch new file mode 100644 index 000000000..378b64e72 --- /dev/null +++ b/games-puzzle/xdemineur/files/xdemineur-2.1.1-include.patch @@ -0,0 +1,11 @@ +--- a/main.c 2024-07-02 22:17:54.161270142 -0500 ++++ b/main.c 2024-07-02 22:35:02.756757205 -0500 +@@ -21,7 +21,7 @@ + #include <stdlib.h> + #include <sysexits.h> + #include <time.h> +- ++#include <string.h> + #include "demineur.h" + #include "xdemineur.h" + diff --git a/games-puzzle/xdemineur/xdemineur-2.1.1.ebuild b/games-puzzle/xdemineur/xdemineur-2.1.1.ebuild new file mode 100644 index 000000000..f45fd50e0 --- /dev/null +++ b/games-puzzle/xdemineur/xdemineur-2.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Minesweeper clone for the X11 windowing system" +HOMEPAGE="https://salsa.debian.org/debian/xdemineur" + +SRC_URI="https://deb.debian.org/debian/pool/main/x/${PN}/xdemineur_${PV}.orig.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + x11-misc/imake +" +DEPEND=" + ${BDEPEND} + x11-libs/libX11 + x11-libs/libXpm +" + +PATCHES=( + "${FILESDIR}/${P}-include.patch" +) + +src_compile() { + xmkmf + emake +}