public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Zephyr Lykos <git@mochaa.ws>
To: git-commits@fedoraproject.org
Subject: [rpms/FAudio] rawhide: csharp: also install pkgconfig file
Date: Fri, 20 Nov 2026 02:12:01 GMT	[thread overview]
Message-ID: <179514072180.1.3965340582895470929.rpms-FAudio-8d55be813ebb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/FAudio
Branch : rawhide
Commit : 8d55be813ebb315f4a9664288d2c795ffe60ef90
Author : Zephyr Lykos <git@mochaa.ws>
Date   : 2026-11-17T19:35:06+08:00
Stats  : +12/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/FAudio/c/8d55be813ebb315f4a9664288d2c795ffe60ef90?branch=rawhide

Log:
csharp: also install pkgconfig file

---
diff --git a/FAudio.spec b/FAudio.spec
index d72787c..611c1b7 100644
--- a/FAudio.spec
+++ b/FAudio.spec
@@ -103,6 +103,17 @@ mcs -unsafe -debug -keyfile:/etc/pki/mono/mono.snk -out:%{_vpath_builddir}/FAudi
 %cmake_install
 
 gacutil -i %{_vpath_builddir}/FAudio-CS.dll -package %{name} -root %{buildroot}%{_prefix}/lib
+mkdir -p %{buildroot}%{_datadir}/pkgconfig/
+cat <<'EOF' > %{buildroot}%{_datadir}/pkgconfig/FAudio-CS.pc
+prefix=%{_prefix}
+exec_prefix=%{_exec_prefix}
+libdir=%{_prefix}/lib
+
+Name: FAudio#
+Description: Mono bindings for FAudio, an XAudio reimplementation for FNA.
+Version: %{version}
+Libs: -r:${libdir}/mono/FAudio/FAudio-CS.dll
+EOF
 
 %mingw_ninja_install
 %mingw_debug_install_post
@@ -138,6 +149,7 @@ popd
 %license LICENSE
 %{_monodir}/%{name}/
 %{_monogacdir}/FAudio-CS/
+%{_datadir}/pkgconfig/FAudio-CS.pc
 
 
 %files -n mingw32-%{name}

                 reply	other threads:[~2026-11-20  2:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179514072180.1.3965340582895470929.rpms-FAudio-8d55be813ebb@fedoraproject.org \
    --to=git@mochaa.ws \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox