From 590b9b7b03bf4651e099949e318755af7cfa81b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Aug 2021 22:03:23 +0100 Subject: gentoo resync : 01.08.2021 --- games-arcade/tuxanci/tuxanci-20110429-r2.ebuild | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 games-arcade/tuxanci/tuxanci-20110429-r2.ebuild (limited to 'games-arcade/tuxanci/tuxanci-20110429-r2.ebuild') diff --git a/games-arcade/tuxanci/tuxanci-20110429-r2.ebuild b/games-arcade/tuxanci/tuxanci-20110429-r2.ebuild new file mode 100644 index 000000000000..4428d33da87f --- /dev/null +++ b/games-arcade/tuxanci/tuxanci-20110429-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="First Tux shooter multi-player network game inspired by Bulanci" +HOMEPAGE="https://repo.or.cz/w/tuxanci.git" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="dedicated opengl physfs" + +RDEPEND=" + !dedicated? ( + media-libs/fontconfig + media-libs/libsdl[opengl?,sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + opengl? ( virtual/opengl ) + ) + physfs? ( dev-games/physfs[zip] ) + !physfs? ( dev-libs/libzip:= )" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/gettext" + +PATCHES=( + "${FILESDIR}"/${P}-no-glver.patch +) + +src_configure() { + local mycmakeargs=( + -DBUILD_SERVER=$(usex dedicated) + -DCMAKE_CONF_PATH="${EPREFIX}"/etc + -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} + -DENABLE_DEBUG=no + -DWITH_OPENGL=$(usex opengl) + -DWITH_PHYSFS=$(usex physfs) + ) + cmake_src_configure +} -- cgit v1.2.3