public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/libadwaita] rawhide: Add mingw packages
Date: Wed, 28 Oct 2026 16:00:05 GMT [thread overview]
Message-ID: <179320320501.1.3026050549859833949.rpms-libadwaita-64fea7668ed4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libadwaita
Branch : rawhide
Commit : 64fea7668ed4bc1fc3ecc3176a200f0ac7b97cfd
Author : Marc-André Lureau <marcandre.lureau@redhat.com>
Date : 2026-10-27T22:54:28+00:00
Stats : +63/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libadwaita/c/64fea7668ed4bc1fc3ecc3176a200f0ac7b97cfd?branch=rawhide
Log:
Add mingw packages
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
diff --git a/libadwaita.spec b/libadwaita.spec
index fb21e3d..1e876e2 100644
--- a/libadwaita.spec
+++ b/libadwaita.spec
@@ -1,3 +1,5 @@
+%bcond mingw %[0%{?fedora} && !0%{?flatpak}]
+
%global apiver 1
%global gtk_version 4.23.1
%global glib_version 2.84.0
@@ -29,6 +31,18 @@ BuildRequires: pkgconfig(gtk4) >= %{gtk_version}
Requires: gtk4%{?_isa} >= %{gtk_version}
+%if %{with mingw}
+BuildRequires: mingw32-filesystem >= 95
+BuildRequires: mingw32-gcc-c++
+BuildRequires: mingw32-gtk4 >= %{gtk_version}
+BuildRequires: mingw32-appstream
+
+BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-gcc-c++
+BuildRequires: mingw64-gtk4 >= %{gtk_version}
+BuildRequires: mingw64-appstream
+%endif
+
%description
Building blocks for modern GNOME applications.
@@ -70,6 +84,21 @@ Suggests: %{name}-devel = %{version}-%{release}
Demo files for %{name}.
+%if %{with mingw}
+%package -n mingw32-%{name}
+Summary: MinGW Windows %{name} library
+
+%description -n mingw32-%{name}
+MinGW Windows %{name} library.
+
+%package -n mingw64-%{name}
+Summary: MinGW Windows %{name} library
+
+%description -n mingw64-%{name}
+MinGW Windows %{name} library.
+%endif
+
+
%prep
%autosetup -p1 -n %{name}-%{gnome_tarball_version}
@@ -80,9 +109,17 @@ Demo files for %{name}.
%{nil}
%meson_build
+%if %{with mingw}
+%mingw_meson -Dintrospection=disabled -Dtests=false -Ddocumentation=false -Dexamples=true
+%mingw_ninja
+%endif
%install
%meson_install
+%if %{with mingw}
+%mingw_ninja_install
+%endif
+
%find_lang %{name}
@@ -115,5 +152,31 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_metainfodir}/*.metainfo.xml
+%if %{with mingw}
+%files -n mingw32-libadwaita
+%license COPYING
+%doc README.md AUTHORS NEWS
+%{mingw32_bindir}/%{name}-%{apiver}-0.dll
+%{mingw32_bindir}/adwaita-%{apiver}-demo.exe
+%{mingw32_libdir}/%{name}-%{apiver}.dll.a
+%{mingw32_libdir}/pkgconfig/*-%{apiver}.pc
+%{mingw32_includedir}/%{name}-%{apiver}/
+%{mingw32_datadir}/applications/*.desktop
+%{mingw32_datadir}/icons/hicolor/*/apps/*.svg
+%{mingw32_datadir}/metainfo/*.metainfo.xml
+
+%files -n mingw64-libadwaita
+%license COPYING
+%doc README.md AUTHORS NEWS
+%{mingw64_bindir}/%{name}-%{apiver}-0.dll
+%{mingw64_bindir}/adwaita-%{apiver}-demo.exe
+%{mingw64_libdir}/%{name}-%{apiver}.dll.a
+%{mingw64_libdir}/pkgconfig/*-%{apiver}.pc
+%{mingw64_includedir}/%{name}-%{apiver}/
+%{mingw64_datadir}/applications/*.desktop
+%{mingw64_datadir}/icons/hicolor/*/apps/*.svg
+%{mingw64_datadir}/metainfo/*.metainfo.xml
+%endif
+
%changelog
%autochangelog
reply other threads:[~2026-10-28 16:00 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=179320320501.1.3026050549859833949.rpms-libadwaita-64fea7668ed4@fedoraproject.org \
--to=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