logo

overlay

My (experimental) gentoo overlay
commit: ccba21fa0ee2d5616b7c2b291313898e6fcb522f
parent: b7ca008fc6336a6fb877e65fd7526b2af7f52e2f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 20 Oct 2019 22:59:38 +0200

games-arcade/stepmania: Version clean, 5.0.12

Diffstat:

Mgames-arcade/stepmania/Manifest1-
Dgames-arcade/stepmania/files/stepmania-select-audio-backends.patch83-------------------------------------------------------------------------------
Dgames-arcade/stepmania/stepmania-5.0.12.ebuild87-------------------------------------------------------------------------------
3 files changed, 0 insertions(+), 171 deletions(-)

diff --git a/games-arcade/stepmania/Manifest b/games-arcade/stepmania/Manifest @@ -1,2 +1 @@ DIST stepmania-5.1.0_beta2.tar.gz 185985270 BLAKE2B 2389e1b8a2f72a2ed59aac1e4840f821abce943e8311819c83c03de6f4281bfdfe12728f6b665770cc7047ca549a6390107109705259fed45d517f2909922e2e SHA512 a781b2954db067f88f81ed284978a829338186584f7ce3b1b556d8a1a747439a74a80e2eaa1362c6f72cf7e06ae8341e5cba0ece54b84e05fa87ddb8b8610e0a -DIST stepmania-5.0.12.tar.gz 176965188 SHA256 df79bcadd69d4ed60cf560d45386ec275181343495ffd744c3ff8f73c83d4755 SHA512 0fc66b604a7ab0236ff57befa835aaf073ed21052c176546d966667faaf9d544bcbc6df45c690a834c12313597b72afe62ed65ccd6829b16ed5476a6d992776c WHIRLPOOL 20942b4579cc1cde135a9b77e0e5ae5984605822cd249314896bbc4338fa7c89817f068bd00fc0343cf3d8ba455f5c3b31bafc4aa2282fb80fafa3dc5550ca3f diff --git a/games-arcade/stepmania/files/stepmania-select-audio-backends.patch b/games-arcade/stepmania/files/stepmania-select-audio-backends.patch @@ -1,83 +0,0 @@ -diff -ru stepmania-5.0.12_orig/CMake/DefineOptions.cmake stepmania-5.0.12/CMake/DefineOptions.cmake ---- stepmania-5.0.12_orig/CMake/DefineOptions.cmake 2016-09-22 15:30:46.585653678 +0200 -+++ stepmania-5.0.12/CMake/DefineOptions.cmake 2016-09-22 15:32:15.409856429 +0200 -@@ -41,6 +41,11 @@ - # Turn this option on to log every segment added or removed. - option(WITH_LOGGING_TIMING_DATA "Build with logging all Add and Erase Segment calls." OFF) - -+option(WITH_ALSA "Enable ALSA sound" OFF) -+option(WITH_PULSEAUDIO "Enable PulseAudio sound" OFF) -+option(WITH_OSS "Enable OSS sound" OFF) -+option(WITH_JACK "Enable JACK sound" OFF) -+ - if(NOT MSVC) - # Turn this option off to disable using FFMEPG. - option(WITH_FFMPEG "Build with FFMPEG." ON) -diff -ru stepmania-5.0.12_orig/StepmaniaCore.cmake stepmania-5.0.12/StepmaniaCore.cmake ---- stepmania-5.0.12_orig/StepmaniaCore.cmake 2016-09-22 15:30:46.939646512 +0200 -+++ stepmania-5.0.12/StepmaniaCore.cmake 2016-09-22 15:35:03.872452142 +0200 -@@ -353,35 +353,51 @@ - set(HAX_XRANDR FALSE) - endif() - -- find_package(PulseAudio) -- if (PULSEAUDIO_FOUND) -- set(HAS_PULSE TRUE) -+ if (WITH_PULSEAUDIO) -+ find_package(PulseAudio) -+ if (PULSEAUDIO_FOUND) -+ set(HAS_PULSE TRUE) -+ else() -+ set(HAS_PULSE FALSE) -+ endif() - else() - set(HAS_PULSE FALSE) - endif() - -- find_package(ALSA) -- if (ALSA_FOUND) -- set(HAS_ALSA TRUE) -+ if (WITH_ALSA) -+ find_package(ALSA) -+ if (ALSA_FOUND) -+ set(HAS_ALSA TRUE) -+ else() -+ set(HAS_ALSA FALSE) -+ endif() - else() - set(HAS_ALSA FALSE) - endif() - -- find_package(JACK) -- if (JACK_FOUND) -- set(HAS_JACK TRUE) -+ if (WITH_JACK) -+ find_package(JACK) -+ if (JACK_FOUND) -+ set(HAS_JACK TRUE) -+ else() -+ set(HAS_JACK FALSE) -+ endif() - else() - set(HAS_JACK FALSE) - endif() - -- find_package(OSS) -- if (OSS_FOUND) -- set(HAS_OSS TRUE) -+ if (WITH_OSS) -+ find_package(OSS) -+ if (OSS_FOUND) -+ set(HAS_OSS TRUE) -+ else() -+ set(HAS_OSS FALSE) -+ endif() - else() - set(HAS_OSS FALSE) - endif() - -- if(NOT OSS_FOUND AND NOT JACK_FOUND AND NOT ALSA_FOUND AND NOT PULSE_FOUND) -+ if(NOT HAS_OSS AND NOT HAS_JACK AND NOT HAS_ALSA AND NOT HAS_PULSE) - message(FATAL_ERROR "No sound libraries found. You will require at least one.") - else() - message(STATUS "-- At least one sound library was found. Do not worry if any were not found at this stage.") diff --git a/games-arcade/stepmania/stepmania-5.0.12.ebuild b/games-arcade/stepmania/stepmania-5.0.12.ebuild @@ -1,87 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils - -DESCRIPTION="Advanced rhythm game, designed for both home and arcade use" -HOMEPAGE="https://www.stepmania.com/" -SRC_URI="https://github.com/stepmania/stepmania/archive/v${PV/_beta/-b}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT default-songs? ( CC-BY-NC-4.0 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +default-songs alsa oss pulseaudio jack ffmpeg gles2 +gtk +mp3 +ogg +jpeg networking wav parport crash-handler cpu_flags_x86_sse2" - -REQUIRED_USE="|| ( alsa oss pulseaudio jack )" -RDEPEND=" - app-arch/bzip2 - dev-libs/libpcre - sys-libs/zlib - virtual/opengl - x11-libs/libICE - x11-libs/libSM - x11-libs/libva - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrandr - alsa? ( media-libs/alsa-lib ) - ffmpeg? ( >=virtual/ffmpeg-9-r1 ) - gtk? ( - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:2 - x11-libs/pango - ) - jack? ( media-sound/jack-audio-connection-kit ) - mp3? ( media-libs/libmad ) - ogg? ( - media-libs/libogg - media-libs/libvorbis - ) - pulseaudio? ( media-sound/pulseaudio ) -" -DEPEND=" - ${RDEPEND} - doc? ( app-doc/doxygen ) -" - -S="${WORKDIR}/${P/_beta/-b}" - -src_prepare() { - # Remove third-party librairies - sed 's;add_subdirectory(extern);;' CMakeLists.txt || die -} - -src_configure() { - # Minimaid tries to use pre-built static libraries (x86 only, often fails to link) - # TTY input fails to compile - local mycmakeargs=( - -DWITH_ALSA="$(usex alsa)" - -DWITH_CRASH_HANDLER="$(usex crash-handler)" - -DWITH_FFMPEG="$(usex ffmpeg)" - -DWITH_FULL_RELEASE="NO" - -DWITH_GLES2="$(usex gles2)" - -DWITH_GPL_LIBS="YES" - -DWITH_GTK2="$(usex gtk)" - -DWITH_JACK="$(usex jack)" - -DWITH_JPEG="$(usex jpeg)" - -DWITH_LTO="NO" - -DWITH_MINIMAID="NO" - -DWITH_MP3="$(usex mp3)" - -DWITH_NETWORKING="$(usex networking)" - -DWITH_OGG="$(usex ogg)" - -DWITH_OSS="$(usex oss)" - -DWITH_PARALLEL_PORT="$(usex parport)" - -DWITH_PORTABLE_TOMCRYPT="YES" - -DWITH_PROFILING="NO" - -DWITH_PULSEAUDIO="$(usex pulseaudio)" - -DWITH_SSE2="$(usex cpu_flags_x86_sse2)" - -DWITH_SYSTEM_FFMPEG="$(usex ffmpeg)" - -DWITH_TTY="NO" - -DWITH_WAV="$(usex wav)" - ) - cmake-utils_src_configure -}