gentoo-zh/games-board/othello/othello-0.2.2.ebuild
Yongxiang Liang 1186964b2d games-board/othello: restrict test
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
2023-11-14 07:47:52 +08:00

32 lines
661 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
WX_GTK_VER="3.0-gtk3"
inherit wxwidgets
DESCRIPTION="Othello is a classic strategy game, also known as Reversi"
HOMEPAGE="http://othello-game.sourceforge.net"
SRC_URI="https://github.com/bekcpear/othello/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-libs/boost
x11-libs/wxGTK:${WX_GTK_VER}"
RDEPEND="${DEPEND}"
RESTRICT="test" # tests fail
pkg_setup() {
setup-wxwidgets
}
src_configure() {
./autogen.sh || die
# only python2 supported but boost not
econf "--disable-python"
}