diff --git a/games-arcade/slimevolley/metadata.xml b/games-arcade/slimevolley/metadata.xml index 668a9c2614705..26079e608bed9 100644 --- a/games-arcade/slimevolley/metadata.xml +++ b/games-arcade/slimevolley/metadata.xml @@ -1,11 +1,8 @@ - -games@gentoo.org -Gentoo Games Project - - -Enable network support - + + games@gentoo.org + Gentoo Games Project + diff --git a/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild b/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild index e4a8fe67dfab7..8b9cc92724b5b 100644 --- a/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild +++ b/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + inherit cmake-utils DESCRIPTION="A simple volleyball game" @@ -11,20 +12,21 @@ SRC_URI="http://downloads.tuxfamily.org/slime/v242/${PN}_${PV}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="net" +IUSE="" -RDEPEND=" - media-libs/libsdl[X,sound,video] - media-libs/sdl-ttf - media-libs/sdl-image[png] - net? ( media-libs/sdl-net ) - virtual/libintl -" -DEPEND="${RDEPEND} +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 docs/TODO" +DOCS=( docs/{README,TODO} ) PATCHES=( "${FILESDIR}"/${P}-nodatalocal.patch @@ -35,10 +37,9 @@ S="${WORKDIR}/${PN}" src_configure() { local mycmakeargs=( - "-DCMAKE_VERBOSE_MAKEFILE=TRUE" - "-DCMAKE_INSTALL_PREFIX=/usr" - "-DDATA_DIR=/usr/share/slimevolley" - $(use net && echo "-DNO_NET=0" || echo "-DNO_NET=1") + -DCMAKE_VERBOSE_MAKEFILE=TRUE + -DCMAKE_INSTALL_PREFIX=/usr + -DDATA_DIR=/usr/share/slimevolley ) cmake-utils_src_configure }