Browse Source
audio/FAudio: Updated for version 22.08.
audio/FAudio: Updated for version 22.08.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>pull/189/head
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
5 changed files with 13 additions and 72 deletions
-
45audio/FAudio/0001-cmake.patch
-
25audio/FAudio/FAudio.SlackBuild
-
10audio/FAudio/FAudio.info
-
3audio/FAudio/README
-
2audio/FAudio/slack-desc
@ -1,45 +0,0 @@ |
|||
From 931b198dae23863dd2e5c205bd819991a7259d85 Mon Sep 17 00:00:00 2001 |
|||
From: orbea <orbea@riseup.net> |
|||
Date: Wed, 11 Nov 2020 10:05:41 -0800 |
|||
Subject: [PATCH] cmake: Fix compatiblity with older cmake versions. |
|||
|
|||
IMPORTED_TARGET was only introduced in cmake 3.6 and FAudio |
|||
does not build with GStremer versions older than 1.9.2. |
|||
|
|||
Fixes https://github.com/FNA-XNA/FAudio/issues/226 |
|||
|
|||
v2: Use _LDFLAGS to ensure linking against the correct gstreamer. |
|||
---
|
|||
CMakeLists.txt | 12 ++++++------ |
|||
1 file changed, 6 insertions(+), 6 deletions(-) |
|||
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|||
index bb57a672..58da7f18 100644
|
|||
--- a/CMakeLists.txt
|
|||
+++ b/CMakeLists.txt
|
|||
@@ -142,9 +142,9 @@ if(GSTREAMER)
|
|||
|
|||
# Find GStreamer |
|||
find_package(PkgConfig) |
|||
- pkg_check_modules(GST REQUIRED IMPORTED_TARGET gstreamer-1.0)
|
|||
- pkg_check_modules(GSTAUDIO REQUIRED IMPORTED_TARGET gstreamer-audio-1.0)
|
|||
- pkg_check_modules(GSTAPP REQUIRED IMPORTED_TARGET gstreamer-app-1.0)
|
|||
+ pkg_check_modules(GST REQUIRED gstreamer-1.0>=1.9.2)
|
|||
+ pkg_check_modules(GSTAUDIO REQUIRED gstreamer-audio-1.0>=1.9.2)
|
|||
+ pkg_check_modules(GSTAPP REQUIRED gstreamer-app-1.0>=1.9.2)
|
|||
|
|||
# Include/Link GStreamer... |
|||
target_include_directories(FAudio PRIVATE |
|||
@@ -153,9 +153,9 @@ if(GSTREAMER)
|
|||
${GSTAPP_INCLUDE_DIRS} |
|||
) |
|||
target_link_libraries(FAudio PRIVATE |
|||
- PkgConfig::GST
|
|||
- PkgConfig::GSTAUDIO
|
|||
- PkgConfig::GSTAPP
|
|||
+ ${GST_LDFLAGS}
|
|||
+ ${GSTAUDIO_LDFLAGS}
|
|||
+ ${GSTAPP_LDFLAGS}
|
|||
) |
|||
endif(GSTREAMER) |
|||
|
|||
@ -1,10 +1,10 @@ |
|||
PRGNAM="FAudio" |
|||
VERSION="20.11" |
|||
VERSION="22.08" |
|||
HOMEPAGE="https://fna-xna.github.io/" |
|||
DOWNLOAD="https://github.com/FNA-XNA/FAudio/archive/20.11/FAudio-20.11.tar.gz" |
|||
MD5SUM="412d42ddf06b26fbabf7fd78af549f6f" |
|||
DOWNLOAD="https://github.com/FNA-XNA/FAudio/archive/22.08/FAudio-22.08.tar.gz" |
|||
MD5SUM="fca9b2d43a1008d7975b8c71530ccc53" |
|||
DOWNLOAD_x86_64="" |
|||
MD5SUM_x86_64="" |
|||
REQUIRES="" |
|||
MAINTAINER="Hunter Sezen" |
|||
EMAIL="orbea@riseup.net" |
|||
MAINTAINER="Steven Voges" |
|||
EMAIL="svoges.sbo@gmail.com" |
|||
@ -1,3 +1,6 @@ |
|||
This is FAudio, an XAudio reimplementation that focuses solely on |
|||
developing fully accurate DirectX Audio runtime libraries for the |
|||
FNA project, including XAudio2, X3DAudio, XAPO, and XACT3. |
|||
|
|||
FAudio will be held at version 22.08 on Slackware 15.0 as 22.09 |
|||
and newer require SDL >=2.24.0 to be present on the system. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue