public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xedit] f43: switch from autotools to meson build system
@ 2026-07-10  3:57 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-10  3:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/xedit
            Branch : f43
            Commit : 20bdfa1dd838c1c69373e6f1db63d9f5033f5725
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-07-10T00:47:43-03:00
            Stats  : +7/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/xedit/c/20bdfa1dd838c1c69373e6f1db63d9f5033f5725?branch=f43

            Log:
            switch from autotools to meson build system

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/xedit.spec b/xedit.spec
index c983511..96aad57 100644
--- a/xedit.spec
+++ b/xedit.spec
@@ -6,9 +6,10 @@ URL:		https://xorg.freedesktop.org
 Source0:	https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
 Source1:	%{name}.desktop
 License:	MIT AND BSD-3-Clause
-BuildRequires:	gcc make
 BuildRequires:	desktop-file-utils
+BuildRequires:	gcc
 BuildRequires:	libXaw-devel
+BuildRequires:	meson
 BuildRequires:	xorg-x11-util-macros
 Patch:		xedit-hunspell.patch
 Requires:	xorg-x11-xbitmaps
@@ -30,16 +31,16 @@ cp lisp/README README.lisp
 cp lisp/re/README README.re
 
 %build
-%configure --with-lispdir=%{_datadir}/X11/%{name}
-%make_build
+%meson -Dlispdir=%{_datadir}/X11/%{name}
+%meson_build
 
 %install
-%make_install
-install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
+%meson_install
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-%make_build check
+%meson_test
 
 %files
 %license COPYING

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-10  3:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10  3:57 [rpms/xedit] f43: switch from autotools to meson build system Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox