# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Nintendo 3DS game emulator" HOMEPAGE="https://citra-emu.org/" EGIT_REPO_URI="https://github.com/citra-emu/citra" inherit git-r3 cmake-utils LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="ffmpeg qt5" RDEPEND=" media-libs/libsdl2 dev-util/cmake qt5? ( dev-qt/qtcore dev-qt/qtopengl dev-qt/qtmultimedia ) ffmpeg? ( virtual/ffmpeg )" DEPEND=" ${RDEPEND}" src_prepare() { cmake-utils_src_prepare } src_configure() { local mycmakeargs=( #Disable ccache if not enabled on FEATURES=ccache. Taken from games-emulation/dolphin's ebuild. -DCCACHE_BIN=CCACHE_BIN-NOTFOUND -DENABLE_QT=$(usex qt5) -DENABLE_FFMPEG=$(usex ffmpeg) cmake-utils_src_configure } src-install() { cmake-utils_src_install }