You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild

46 lines
839 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="A simple volleyball game"
HOMEPAGE="http://slime.tuxfamily.org/index.php"
SRC_URI="http://downloads.tuxfamily.org/slime/v242/${PN}_${PV}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
BDEPEND="
sys-devel/gettext
"
DEPEND="
media-libs/libsdl[X,sound,video]
media-libs/sdl-image[png]
media-libs/sdl-net
media-libs/sdl-ttf
virtual/libintl
"
RDEPEND="${DEPEND}"
DOCS=( docs/{README,TODO} )
PATCHES=(
"${FILESDIR}"/${P}-nodatalocal.patch
"${FILESDIR}"/${P}-underlink.patch
)
S="${WORKDIR}/${PN}"
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=TRUE
-DCMAKE_INSTALL_PREFIX=/usr
-DDATA_DIR=/usr/share/slimevolley
)
cmake-utils_src_configure
}