mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
30 lines
640 B
Bash
30 lines
640 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/0.2.2.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="dev-libs/boost[threads]
|
|
x11-libs/wxGTK:${WX_GTK_VER}"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
pkg_setup() {
|
|
setup-wxwidgets
|
|
}
|
|
|
|
src_configure() {
|
|
./autogen.sh || die
|
|
# only python2 supported but boost not
|
|
econf "--disable-python"
|
|
}
|