From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/citra/
Date: Thu, 7 Mar 2024 13:24:07 +0000 (UTC) [thread overview]
Message-ID: <1709816555.5e15c4eeed7577412bfd12e03a9b39edcada5df3.ceamac@gentoo> (raw)
Message-ID: <20240307132407.R1biAL3fKB-cPWncQ-_DLg0nr4gEltcHG-NdNBDjCSc@z> (raw)
commit: 5e15c4eeed7577412bfd12e03a9b39edcada5df3
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 7 13:02:35 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Mar 7 13:02:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e15c4ee
games-emulation/citra: treeclean
Upstream shutdown.
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
games-emulation/citra/citra-9999.ebuild | 170 --------------------------------
games-emulation/citra/metadata.xml | 13 ---
2 files changed, 183 deletions(-)
diff --git a/games-emulation/citra/citra-9999.ebuild b/games-emulation/citra/citra-9999.ebuild
deleted file mode 100644
index b090f31b8a..0000000000
--- a/games-emulation/citra/citra-9999.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 2019-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake git-r3 xdg
-
-DESCRIPTION="A Nintendo 3DS Emulator"
-HOMEPAGE="https://citra-emu.org"
-EGIT_REPO_URI="https://github.com/citra-emu/citra"
-EGIT_SUBMODULES=(
- 'catch2' 'dds-ktx' 'discord-rpc' 'dynarmic' 'library-headers' 'libyuv'
- 'lodepng' 'nihstro' 'sirit' 'soundtouch' 'vma' 'xbyak'
-)
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="cubeb nls openal +gui sdl +system-libfmt +telemetry"
-
-RDEPEND="
- cubeb? ( media-libs/cubeb )
- media-video/ffmpeg:=[fdk]
- gui? ( nls? ( dev-qt/qttools:6[linguist] )
- dev-qt/qtbase:6[widgets,gui,opengl,network]
- dev-qt/qtmultimedia:6 )
- sdl? (
- media-libs/libsdl2
- >=dev-libs/inih-52
- )
- system-libfmt? ( >=dev-libs/libfmt-9:= )
- >=dev-libs/openssl-1.1:=
- app-arch/zstd
- dev-libs/boost:=
- dev-libs/crypto++:=
- dev-libs/teakra
- net-libs/enet:1.3=
- virtual/libusb:1
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-cpp/cpp-jwt
- dev-cpp/robin-map
- dev-util/spirv-headers
-"
-REQUIRED_USE="|| ( gui sdl )"
-
-src_unpack() {
- if ! use system-libfmt; then
- EGIT_SUBMODULES+=( 'fmt' )
- fi
- if use openal; then
- EGIT_SUBMODULES+=( 'openal-soft' )
- fi
- git-r3_src_unpack
-
- cp -a "${S}"/externals/xbyak "${S}"/externals/dynarmic/externals/ || die
-
- # Do not fetch via sources because this file always changes
- curl https://api.citra-emu.org/gamedb/ > "${S}"/compatibility_list.json
-}
-
-src_prepare() {
- # Dynarmic: ensure those are unbundled
- for ext in fmt robin-map; do
- rm -rf externals/dynarmic/externals/${ext} || die
- done
-
- # Do not care about submodules wanted one are already fetched
- sed -i -e '/check_submodules_present()/d' CMakeLists.txt || die
-
- # Unbundle inih
- sed -i -e '/inih/d' externals/CMakeLists.txt || die
- sed -i -e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(INIH REQUIRED INIReader)' \
- -e '/target_link_libraries/s/inih/${INIH_LIBRARIES}/' src/citra/CMakeLists.txt || die
- sed -i -e 's:inih/cpp/::' src/citra/config.cpp || die
-
- # Unbundle libfmt
- if use system-libfmt; then
- sed -i -e '/fmt/d' externals/CMakeLists.txt || die
- sed -i -e '/find_package(Threads/afind_package(fmt)' CMakeLists.txt || die
- else
- sed -i -e '/FMT_INSTALL/d' externals/dynarmic/externals/CMakeLists.txt || die
- fi
-
- # Unbundle teakra
- sed -i -e '/teakra/d' externals/CMakeLists.txt || die
-
- # Unbundle zstd
- sed -i -e 's:libzstd_static:${ZSTD_LIBRARIES}:' \
- -e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(ZSTD REQUIRED libzstd)' \
- src/common/CMakeLists.txt || die
- sed -i -e '/zstd/d' externals/CMakeLists.txt || die
-
- # Unbundle enet
- sed -i -e 's:enet:${ENET_LIBRARIES}:' \
- -e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(ENET REQUIRED libenet)' \
- src/network/CMakeLists.txt || die
- sed -i -e '/#include.*enet/{s/"/</;s/"/>/}' src/network/*cpp || die
- sed -i -e '/enet/d' externals/CMakeLists.txt || die
-
- # Unbundle crypto++
- sed -i -e 's:cryptopp:${CRYPTOPP_LIBRARIES}:' \
- -e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(CRYPTOPP REQUIRED libcryptopp)' \
- src/dedicated_room/CMakeLists.txt \
- src/core/CMakeLists.txt || die
- sed -i -e '/^# Crypto++/,/add_subdirectory(cryptopp-cmake)/d' externals/CMakeLists.txt || die
-
- # Unbundle cubeb
- sed -i -e '/CUBEB/,/endif()/d' externals/CMakeLists.txt || die
- if use cubeb; then
- sed -i -e '$afind_package(cubeb REQUIRED)\n' CMakeLists.txt || die
- fi
- # Unbundle cpp-jwt
- sed -i -e '/cpp-jwt/d' externals/CMakeLists.txt || die
- sed -i -e 's/ cpp-jwt/ ssl crypto/' src/web_service/CMakeLists.txt || die
-
- # Unbundle xbyak
- sed -i -e '/^install(/,/^)$/d' externals/xbyak/CMakeLists.txt || die
-
- # glslang
- sed -i -e '/^# glslang/,/(glslang)/d' externals/CMakeLists.txt || die
- sed -i -e 's:SPIRV/GlslangToSpv.h:glslang/&:' src/video_core/renderer_vulkan/vk_shader_util.cpp || die
- sed -i -e '/target_include_directories(vulkan-headers/d' externals/CMakeLists.txt || die
-
- # Do not install dynarmic
- sed -i -e '/^# Install/,$d' externals/dynarmic/CMakeLists.txt || die
-
- # Do not install zydis
- sed -i '/^install(FILES/,/^install(DIRECTORY/d' \
- externals/dynarmic/externals/zydis/CMakeLists.txt || die
- sed -i -e '/MCL_INSTALL/d' externals/dynarmic/externals/CMakeLists.txt || die
-
- # do not trigger flags
- sed -i -e 's/-Werror//' externals/sirit/CMakeLists.txt externals/dynarmic/CMakeLists.txt || die
- sed -i -e 's/Wuninitialized/Wno-uninitialized/' externals/catch2/CMake/CatchMiscFunctions.cmake \
- externals/dynarmic/externals/catch/CMake/CatchMiscFunctions.cmake || die
- sed -i -e '/-Werror/d' src/CMakeLists.txt externals/dynarmic/externals/mcl/CMakeLists.txt externals/dynarmic/externals/catch/CMake/CatchMiscFunctions.cmake externals/catch2/CMake/CatchMiscFunctions.cmake
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=OFF
- -DCOMPILE_WITH_DWARF=OFF
- -DENABLE_CUBEB=$(usex cubeb)
- -DENABLE_MF=ON
- -DENABLE_OPENAL=$(usex openal)
- -DENABLE_QT=$(usex gui)
- -DENABLE_QT_TRANSLATION=$(use gui && usex nls || echo OFF)
- -DENABLE_SDL2=$(usex sdl)
- -DENABLE_WEB_SERVICE=$(usex telemetry)
- -DGENERATE_QT_TRANSLATION=$(use gui && usex nls || echo OFF)
- -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON
- -DUSE_SYSTEM_BOOST=ON
- -DUSE_SYSTEM_LIBUSB=ON
- -DUSE_SYSTEM_OPENSSL=ON
- -DUSE_SYSTEM_SDL2=ON
- )
- cmake_src_configure
-
- # This would be better in src_unpack but it would be unlinked
- mv "${S}"/compatibility_list.json "${BUILD_DIR}"/dist/compatibility_list/ || die
-}
-
-src_install() {
- cmake_src_install
- rm -rf "${D}"/usr/$(get_libdir)/cmake
-}
diff --git a/games-emulation/citra/metadata.xml b/games-emulation/citra/metadata.xml
deleted file mode 100644
index 50f72750de..0000000000
--- a/games-emulation/citra/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <name>Samuel Bauer</name>
- <email>samuel.bauer@yahoo.fr</email>
-</maintainer>
-<use>
- <flag name="cubeb">Enables the cubeb audio backend</flag>
- <flag name="system-libfmt">Use system libfmt</flag>
- <flag name="telemetry">Enable web services (telemetry, etc.)</flag>
-</use>
-</pkgmetadata>
next reply other threads:[~2024-03-07 13:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 13:13 Viorel Munteanu [this message]
2024-03-07 13:24 ` [gentoo-commits] repo/proj/guru:master commit in: games-emulation/citra/ Viorel Munteanu
-- strict thread matches above, loose matches on Subject: below --
2023-08-22 22:52 [gentoo-commits] repo/proj/guru:dev " Samuel Bauer
2023-07-26 19:04 YiFei Zhu
2023-07-26 19:04 YiFei Zhu
2023-07-26 19:00 YiFei Zhu
2023-07-13 6:46 Samuel Bauer
2022-09-27 17:34 Samuel Bauer
2022-09-27 17:19 Samuel Bauer
2022-09-27 17:12 Sam James
2022-09-23 5:09 Samuel Bauer
2022-09-23 4:34 Samuel Bauer
2022-09-09 13:58 Samuel Bauer
2022-07-24 23:12 Samuel Bauer
2022-06-07 13:09 Samuel Bauer
2022-05-22 5:03 Samuel Bauer
2022-01-21 3:43 Samuel Bauer
2022-01-16 4:04 Samuel Bauer
2021-08-04 0:39 Samuel Bauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1709816555.5e15c4eeed7577412bfd12e03a9b39edcada5df3.ceamac@gentoo \
--to=ceamac@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox