mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-sound/scream: update cmake compatibility
Closes: https://bugs.gentoo.org/964612 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/44747 Closes: https://github.com/gentoo/gentoo/pull/44747 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
d4af550a33
commit
cd0b8120c0
11
media-sound/scream/files/scream-4.0-cmake.patch
Normal file
11
media-sound/scream/files/scream-4.0-cmake.patch
Normal file
@ -0,0 +1,11 @@
|
||||
https://github.com/duncanthrax/scream/pull/234
|
||||
https://bugs.gentoo.org/964612
|
||||
|
||||
--- a/Receivers/unix/CMakeLists.txt
|
||||
+++ b/Receivers/unix/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.7)
|
||||
+cmake_minimum_required(VERSION 3.7...4.0)
|
||||
|
||||
project(scream LANGUAGES C)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
--- a/jack.c
|
||||
+++ b/jack.c
|
||||
--- a/Receivers/unix/jack.c
|
||||
+++ b/Receivers/unix/jack.c
|
||||
@@ -107,7 +107,7 @@ jo_data;
|
||||
static int init_resampler();
|
||||
static int init_channels();
|
||||
|
||||
@ -7,7 +7,7 @@ inherit cmake
|
||||
|
||||
DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
|
||||
HOMEPAGE="https://github.com/duncanthrax/scream"
|
||||
S="${WORKDIR}/${P}/Receivers/unix"
|
||||
CMAKE_USE_DIR="${S}/Receivers/unix"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
@ -34,6 +34,7 @@ BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc15.patch"
|
||||
"${FILESDIR}/${P}-cmake.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -7,7 +7,7 @@ inherit cmake
|
||||
|
||||
DESCRIPTION="Plays sound received from network or from a QEMU Windows VM"
|
||||
HOMEPAGE="https://github.com/duncanthrax/scream"
|
||||
S="${WORKDIR}/${P}/Receivers/unix"
|
||||
CMAKE_USE_DIR="${S}/Receivers/unix"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user