mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
games-board/awale: drop 1.6, 1.6-r1
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/257 Merges: https://codeberg.org/gentoo/gentoo/pulls/257 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
be6de99721
commit
3400e9c38f
@@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Free Awale - The game of all Africa"
|
||||
HOMEPAGE="https://www.nongnu.org/awale/"
|
||||
SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gui"
|
||||
|
||||
RDEPEND="gui? ( dev-lang/tk )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.6-clang16-build-fix.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
if use gui; then
|
||||
emake -j1 DESTDIR="${D}" install #799107
|
||||
|
||||
fperms +x /usr/share/${PN}/xawale.tcl
|
||||
|
||||
doicon src/awale.png
|
||||
make_desktop_entry xawale "Free Awale"
|
||||
|
||||
rm "${ED}"/usr/share/applications/awale.desktop || die
|
||||
else
|
||||
dobin src/awale
|
||||
doman man/awale.6
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Free Awale - The game of all Africa"
|
||||
HOMEPAGE="https://www.nongnu.org/awale/"
|
||||
SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gui"
|
||||
|
||||
RDEPEND="gui? ( dev-lang/tk )"
|
||||
|
||||
src_install() {
|
||||
if use gui; then
|
||||
emake -j1 DESTDIR="${D}" install #799107
|
||||
|
||||
fperms +x /usr/share/${PN}/xawale.tcl
|
||||
|
||||
doicon src/awale.png
|
||||
make_desktop_entry xawale "Free Awale"
|
||||
|
||||
rm "${ED}"/usr/share/applications/awale.desktop || die
|
||||
else
|
||||
dobin src/awale
|
||||
doman man/awale.6
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
Bug: https://bugs.gentoo.org/895882
|
||||
--- a/src/getopt.c
|
||||
+++ b/src/getopt.c
|
||||
@@ -39,6 +39,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
|
||||
/* Comment out all this code if we are using the GNU C Library, and are not
|
||||
actually compiling the library itself. This code is part of the GNU C
|
||||
Reference in New Issue
Block a user