1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
9 HOMEPAGE="https://bitbucket.org/osslugaru/lugaru/wiki/Home"
10 SRC_URI="mirror://gentoo/${P}.tar.bz2"
12 LICENSE="GPL-2+ free-noncomm CC-BY-SA-3.0"
14 KEYWORDS="~amd64 ~x86"
19 media-libs/libsdl:=[opengl,video]
20 media-libs/libvorbis:=
30 "${FILESDIR}"/${P}-dir.patch
31 "${FILESDIR}"/${P}-jpeg-9c.patch
38 -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
39 Source/OpenGL_Windows.cpp || die
44 -DCMAKE_VERBOSE_MAKEFILE=TRUE
45 -DLUGARU_FORCE_INTERNAL_OPENGL=False
51 dobin "${BUILD_DIR}"/lugaru
52 insinto /usr/share/${PN}
54 newicon Source/win-res/Lugaru.png ${PN}.png
55 make_desktop_entry ${PN} Lugaru ${PN}