public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/FAudio] rawhide: Use ninja to build
@ 2026-11-20 2:11 Zephyr Lykos
0 siblings, 0 replies; only message in thread
From: Zephyr Lykos @ 2026-11-20 2:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/FAudio
Branch : rawhide
Commit : 325de76d547a25ea4f4a5c3ddf990069afed787c
Author : Zephyr Lykos <git@mochaa.ws>
Date : 2026-11-17T19:35:05+08:00
Stats : +5/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/FAudio/c/325de76d547a25ea4f4a5c3ddf990069afed787c?branch=rawhide
Log:
Use ninja to build
---
diff --git a/FAudio.spec b/FAudio.spec
index de1d62e..93550d2 100644
--- a/FAudio.spec
+++ b/FAudio.spec
@@ -8,6 +8,7 @@ URL: https://fna-xna.github.io/
Source0: https://github.com/FNA-XNA/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
+BuildRequires: ninja-build
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -69,27 +70,21 @@ BuildArch: noarch
%prep
%autosetup -p1
-mkdir ../mingw-build
-cp -rp . ../mingw-build
%build
-%cmake
+%cmake -GNinja
%cmake_build
-pushd ../mingw-build
-%mingw_cmake
-%mingw_make %{?_smp_mflags}
-popd
+%mingw_cmake -GNinja
+%mingw_ninja
%install
%cmake_install
-pushd ../mingw-build
-%mingw_make_install
+%mingw_ninja_install
%mingw_debug_install_post
-popd
%files -n libFAudio
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 2:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 2:11 [rpms/FAudio] rawhide: Use ninja to build Zephyr Lykos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox