From ccd418d647ef6e865e4b3ce85d34c8bfc1aba351 Mon Sep 17 00:00:00 2001 From: Konstantin Kulikov Date: Sun, 24 Jan 2021 04:31:51 +0300 Subject: [PATCH] wine: fix faudio support Fix for these two issues: wine - configure: libFAudio 64-bit development files not found, XAudio2 won't be supported. faudio - WARNING: Target "FAudio" requests linking to directory "/usr/lib". Targets may link only to libraries. CMake is dropping the item. Currently built faudio lib is broken due to missing link to libSDL2. --- srcpkgs/FAudio/template | 4 ++-- srcpkgs/wine/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/FAudio/template b/srcpkgs/FAudio/template index b60a953b4ca..846463ca51c 100644 --- a/srcpkgs/FAudio/template +++ b/srcpkgs/FAudio/template @@ -1,10 +1,10 @@ # Template file for 'FAudio' pkgname=FAudio version=20.11 -revision=1 +revision=2 build_style=cmake configure_args="-DGSTREAMER=ON -DSDL2_INCLUDE_DIRS=${XBPS_CROSS_BASE}/usr/include/SDL2 - -DSDL2_LIBRARIES=${XBPS_CROSS_BASE}/usr/lib" + -DSDL2_LIBRARIES=${XBPS_CROSS_BASE}/usr/lib/libSDL2.so" hostmakedepends="pkg-config" makedepends="SDL2-devel gstreamer1-devel gst-plugins-base1-devel" short_desc="Accuracy-focused XAudio reimplementation for open platforms" diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template index e8b1fda250c..3694984c42d 100644 --- a/srcpkgs/wine/template +++ b/srcpkgs/wine/template @@ -1,7 +1,7 @@ # Template file for 'wine' pkgname=wine version=6.0 -revision=1 +revision=2 _pkgver=${version/r/-r} create_wrksrc=yes build_wrksrc=wine-${_pkgver}