games-board/gnushogi - 1.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =games-board/gnushogi-1.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-board/gnushogi-1.4.1

Or alternatively:

emerge --autounmask-write -a =games-board/gnushogi-1.4.1

Package Information

Description:
Japanese version of chess (commandline + X-Version)
Homepage:
https://www.gnu.org/software/gnushogi/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.4.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop

DESCRIPTION="Japanese version of chess (commandline + X-Version)"
HOMEPAGE="https://www.gnu.org/software/gnushogi/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"

RDEPEND="
	sys-libs/ncurses:0=
	X? ( x11-libs/libXaw )"
DEPEND="${RDEPEND}"
BDEPEND="
	>=sys-devel/bison-1.34
	app-alternatives/lex"

PATCHES=(
	"${FILESDIR}"/"${P}-fno-common.patch"
	"${FILESDIR}"/"${P}-makefile.patch"
	"${FILESDIR}"/"${P}-xshogi-parser.patch"
)

src_configure() {
	econf \
		$(use_with X x) \
		$(use_enable X xshogi)
}

src_install() {
	dobin gnushogi/gnushogi
	doman doc/gnushogi.6
	doinfo doc/gnushogi.info

	if use X; then
		dobin xshogi/xshogi
		doman doc/xshogi.6
		make_desktop_entry xshogi XShogi
	fi

	dolib.a gnushogi/gnushogi.bbk
	dodoc README NEWS CONTRIB doc/gnushogi/*.html
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-board/gnushogi | euse -E <flag> -p games-board/gnushogi | euse -D <flag> -p games-board/gnushogi

Global/Standard Flags

X

Inherited Eclasses

Applicable Mirrors

Mirror Name URLs
gnu

Dependencies

DEPEND

	sys-libs/ncurses:0=
	X? ( x11-libs/libXaw )

RDEPEND

	sys-libs/ncurses:0=
	X? ( x11-libs/libXaw )

BDEPEND

	>=sys-devel/bison-1.34
	app-alternatives/lex

Manifest for 1.4.1

Type File Size Source URLs
DIST gnushogi-1.4.1.tar.gz 542301 bytes mirror://gnu/gnushogi/gnushogi-1.4.1.tar.gz