diff options
author | 2021-07-03 01:52:02 -0400 | |
---|---|---|
committer | 2021-07-03 11:04:26 -0400 | |
commit | 5a0e8e9eecebc94556a79902f9951874d3b01724 (patch) | |
tree | f895bf4c5bb9558a318d8ea577175a50ea684f89 /games-board/hexxagon/hexxagon-1.0.2-r1.ebuild | |
parent | l10n.eclass: Mark as deprecated (diff) | |
download | gentoo-5a0e8e9eecebc94556a79902f9951874d3b01724.tar.gz gentoo-5a0e8e9eecebc94556a79902f9951874d3b01724.tar.bz2 gentoo-5a0e8e9eecebc94556a79902f9951874d3b01724.zip |
games-board/hexxagon: fix with glibc 2.31, EAPI 6->8, no direct AR
Closes: https://bugs.gentoo.org/710712
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-board/hexxagon/hexxagon-1.0.2-r1.ebuild')
-rw-r--r-- | games-board/hexxagon/hexxagon-1.0.2-r1.ebuild | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/games-board/hexxagon/hexxagon-1.0.2-r1.ebuild b/games-board/hexxagon/hexxagon-1.0.2-r1.ebuild index 467bf1e50f50..6ec2c8059c34 100644 --- a/games-board/hexxagon/hexxagon-1.0.2-r1.ebuild +++ b/games-board/hexxagon/hexxagon-1.0.2-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils flag-o-matic +EAPI=8 + +inherit desktop toolchain-funcs DESCRIPTION="Clone of the original DOS game" HOMEPAGE="https://www.nesqi.se/" @@ -11,23 +12,25 @@ SRC_URI="https://www.nesqi.se/download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND="dev-cpp/glibmm:2 +RDEPEND=" + dev-cpp/glibmm:2 dev-cpp/gtkmm:2.4 x11-libs/gtk+:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -src_prepare() { - default +PATCHES=( + "${FILESDIR}"/${P}-glibc-2.31.patch +) - append-cxxflags -std=c++11 +src_compile() { + emake AR="$(tc-getAR)" } src_install() { - emake DESTDIR="${D}" install + default + newicon images/board_N_2.xpm ${PN}.xpm make_desktop_entry ${PN} Hexxagon - dodoc README } |