Build with meson not autotools
This commit is contained in:
parent
e9f0545b53
commit
2805817f42
@ -6,7 +6,7 @@
|
||||
Summary: X.Org X11 Protocol headers
|
||||
Name: xorg-x11-proto-devel
|
||||
Version: 2021.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
URL: https://www.x.org
|
||||
BuildArch: noarch
|
||||
@ -15,10 +15,9 @@ Source0: https://www.x.org/pub/individual/proto/xorgproto-%{version}.tar.bz2
|
||||
|
||||
Source40: make-git-snapshot.sh
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xorg-x11-util-macros >= 1.0.2-1
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: meson
|
||||
|
||||
%description
|
||||
X.Org X11 Protocol headers
|
||||
@ -28,13 +27,11 @@ X.Org X11 Protocol headers
|
||||
%autosetup -n xorgproto-%{version}
|
||||
|
||||
%build
|
||||
autoreconf -f -i -v
|
||||
%configure --disable-specs
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%meson_install
|
||||
|
||||
# trim some fat
|
||||
for i in apple windows trap ; do
|
||||
@ -210,6 +207,9 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/*/*.{html,svg}
|
||||
%{_docdir}/xorgproto/*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 02 2021 Adam Jackson <ajax@redhat.com> - 2021.4-2
|
||||
- Build with meson not autotools
|
||||
|
||||
* Fri Apr 30 2021 Peter Hutterer <peter.hutterer@redhat.com> 2021.4-1
|
||||
- xorgproto 2021.4 with XFixes 6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user