# Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake xdg DESCRIPTION="A Nintendo 3DS emulator." HOMEPAGE="https://citra-emu.org/ https://github.com/citra-emu/citra" SHA="58d0705f0f00db4edb09d178083b9fbca5d0b57e" DYNARMIC_SHA="9f88f234a180a5e8d5620b4803c971fb6dc2d9f2" FMT_SHA="cc09f1a6798c085c325569ef466bcdcffdc266d4" LODEPNG_SHA="31d9704fdcca0b68fb9656d4764fa0fb60e460c2" SOUNDTOUCH_SHA="060181eaf273180d3a7e87349895bd0cb6ccbf4a" XBYAK_SHA="c306b8e5786eeeb87b8925a8af5c3bf057ff5a90" SRC_URI="https://github.com/citra-emu/citra/archive/${SHA}.tar.gz -> ${P}.tar.gz https://github.com/lvandeve/lodepng/archive/${LODEPNG_SHA}.tar.gz -> ${PN}-lodepng-${LODEPNG_SHA:0:7}.tar.gz https://github.com/citra-emu/ext-soundtouch/archive/${SOUNDTOUCH_SHA}.tar.gz -> ${PN}-soundtouch-${SOUNDTOUCH_SHA:0:7}.tar.gz https://github.com/citra-emu/dynarmic/archive/${DYNARMIC_SHA}.tar.gz -> ${PN}-dynarmic-${DYNARMIC_SHA:0:7}.tar.gz https://github.com/fmtlib/fmt/archive/${FMT_SHA}.tar.gz -> ${PN}-fmt-${FMT_SHA:0:7}.tar.gz https://github.com/herumi/xbyak/archive/${XBYAK_SHA}.tar.gz -> ${PN}-xbyak-${XBYAK_SHA:0:7}.tar.gz" LICENSE="ZLIB BSD GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="web-service" # System xbyak is still used by Dynarmic, but not Citra itself DEPEND="app-arch/zstd dev-libs/boost:0 dev-libs/crypto++:= media-libs/cubeb dev-libs/inih dev-libs/mp dev-libs/teakra >=dev-libs/xbyak-5.941 dev-qt/qtcore dev-qt/qtgui dev-qt/qtmultimedia dev-qt/qtwidgets dev-util/nihstro media-libs/libsdl2 media-video/ffmpeg net-libs/enet:= virtual/libusb:1" RDEPEND="${DEPEND}" BDEPEND="