From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9650A1581D3 for ; Tue, 21 May 2024 21:30:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E091F2BC013; Tue, 21 May 2024 21:30:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C48842BC013 for ; Tue, 21 May 2024 21:30:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9772B33D9AD for ; Tue, 21 May 2024 21:30:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5E1E1B0C for ; Tue, 21 May 2024 21:29:59 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1716326963.5886ae85c96e0eadfc074ebd27fc65f52e887bf1.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/flycast/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-emulation/flycast/flycast-9999.ebuild games-emulation/flycast/metadata.xml X-VCS-Directories: games-emulation/flycast/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 5886ae85c96e0eadfc074ebd27fc65f52e887bf1 X-VCS-Branch: dev Date: Tue, 21 May 2024 21:29:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f9104b43-4a02-43fe-af87-06bd047e7dc5 X-Archives-Hash: 2577c2f1732d162f7358a1924215beed Message-ID: <20240521212959.P3Q-DLNnFO8UXFiIbFPCf5tyYU_dyCvG2PFqx7-NvLI@z> commit: 5886ae85c96e0eadfc074ebd27fc65f52e887bf1 Author: Julien Roy jroy ca> AuthorDate: Tue May 21 21:27:07 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue May 21 21:29:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5886ae85 games-emulation/flycast: treeclean Bug: https://bugs.gentoo.org/926271 Bug: https://bugs.gentoo.org/924444 Signed-off-by: Julien Roy jroy.ca> games-emulation/flycast/flycast-9999.ebuild | 112 ---------------------------- games-emulation/flycast/metadata.xml | 14 ---- 2 files changed, 126 deletions(-) diff --git a/games-emulation/flycast/flycast-9999.ebuild b/games-emulation/flycast/flycast-9999.ebuild deleted file mode 100644 index 3cea66b7a..000000000 --- a/games-emulation/flycast/flycast-9999.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) - -inherit cmake git-r3 lua-single xdg - -DESCRIPTION="Sega Dreamcast, Naomi and Atomiswave emulator" -HOMEPAGE="https://github.com/flyinghead/flycast" -EGIT_REPO_URI="https://github.com/flyinghead/flycast" -EGIT_SUBMODULES=( 'core/deps/breakpad' 'core/deps/volk' 'core/deps/VulkanMemoryAllocator' ) - -LICENSE="GPL-2" -SLOT="0" - -IUSE="alsa ao lua opengl +openmp pulseaudio vulkan" - -DEPEND=" - dev-libs/libchdr - dev-libs/libzip - dev-libs/xxhash - media-libs/libsdl2 - net-libs/miniupnpc - sys-libs/zlib - alsa? ( media-libs/alsa-lib ) - ao? ( media-libs/libao ) - lua? ( ${LUA_DEPS} ) - opengl? ( virtual/opengl ) - openmp? ( sys-devel/gcc:*[openmp] ) - pulseaudio? ( media-libs/libpulse ) - vulkan? ( - >=dev-util/glslang-1.3.231 - dev-util/spirv-headers - ) -" -RDEPEND="${DEPEND}" - -REQUIRED_USE="|| ( opengl vulkan ) || ( ao alsa pulseaudio )" - -src_unpack() { - use lua && EGIT_SUBMODULES+=( 'core/deps/luabridge' ) - git-r3_src_unpack -} -src_prepare() { - # Ensure unneeded deps are not bundled - for dep in chdr dirent glslang libretro-common libzip miniupnpc oboe patches SDL vixl xxHash; do - rm -rf core/deps/${dep} - done - - # Skip alsa if flag not enabled - use !alsa && sed -i -e '/find_package(ALSA)/d' CMakeLists.txt - - # Skip ao if flag not enabled - use !ao && sed -i -e '/pkg_check_modules(AO/d' CMakeLists.txt - - # Skip lua if flag not enabled - use !lua && sed -i -e '/find_package(Lua)/d' CMakeLists.txt - - # Skip pulseaudio if flag not enabled - use !pulseaudio && sed -i -e '/pkg_check_modules(LIBPULSE/d' CMakeLists.txt - - # Unbundle glslang - sed -i -e '/add_subdirectory(core\/deps\/glslang/{N;s/.*/find_library(GLSLANG libglslang.so)\nfind_library(SPIRV libSPIRV.so)\ntarget_link_libraries(${PROJECT_NAME} PRIVATE ${GLSLANG} ${SPIRV})/}' CMakeLists.txt || die - sed -i -e '/include.*SPIRV/{s:":/}' core/rend/vulkan/shaders.h \ - core/rend/vulkan/compiler.cpp || die - # Crazy commit fix: 8d0654c - sed -i -e '/maxMeshViewCountNV/a256,256,128,128,128,128,128,128,4,' \ - core/rend/vulkan/compiler.cpp || die - - # Unbundle xxHash - sed -i -e '/XXHASH_BUILD_XXHSUM/{N;N;s/.*/target_link_libraries(${PROJECT_NAME} PRIVATE xxhash)/}' \ - CMakeLists.txt || die - - # Unbundle chdr - sed -i -e '/add_subdirectory.*chdr/d' -e 's/chdr-static/chdr/' \ - -e 's:core/deps/chdr/include:/usr/include/chdr:' CMakeLists.txt || die - - # Do not use ccache - sed -i -e '/find_program(CCACHE_FOUND/d' CMakeLists.txt - - # Ensure static libs are not built - sed -i -e '/BUILD_SHARED_LIBS/d' CMakeLists.txt - - # Vulkan-header - sed -i -e '/add_subdirectory(core.*Vulkan-Headers)$/,/Vulkan::Headers/d' \ - -e '/core\/deps\/Vulkan-Headers\/include)/d' CMakeLists.txt - sed -i -e 's:SPIRV/GlslangToSpv.h:glslang/&:' core/rend/vulkan/compiler.cpp - if use vulkan; then - sed -i -e '$atarget_link_libraries(${PROJECT_NAME} PRIVATE glslang-default-resource-limits)' CMakeLists.txt - fi - - # Do not use ccache - sed -i -e '/find_program(CCACHE_PROGRAM ccache)/d' CMakeLists.txt - - # Revert crazy commit: #4408aa7 - sed -i -e '/if(NOT APPLE AND (/s/.*/if( NOT APPLE )/' CMakeLists.txt - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DUSE_OPENGL=$(usex opengl) - -DUSE_OPENMP=$(usex openmp) - -DUSE_VULKAN=$(usex vulkan) - -DUSE_HOST_LIBZIP=ON - -DWITH_SYSTEM_ZLIB=ON - ) - cmake_src_configure -} diff --git a/games-emulation/flycast/metadata.xml b/games-emulation/flycast/metadata.xml deleted file mode 100644 index 524f53682..000000000 --- a/games-emulation/flycast/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - mazes-80 - samuel.bauer@yahoo.fr - - - Compile vulkan backend - - - flyinghead/flycast - -