Switch to the meson build system

This commit is contained in:
Kalev Lember 2019-02-12 07:45:32 +01:00
parent afb8adbbd8
commit 918142a5cb

View File

@ -15,8 +15,8 @@ URL: https://gitlab.freedesktop.org/pixman/pixman
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
Source1: make-pixman-snapshot.sh
BuildRequires: automake autoconf libtool
BuildRequires: gcc
BuildRequires: meson
%description
Pixman is a pixel manipulation library for X and Cairo.
@ -33,21 +33,19 @@ Development library for pixman.
%autosetup -p1
%build
%configure \
%meson --auto-features=auto \
%ifarch %{arm}
--disable-arm-iwmmxt --disable-arm-iwmmxt2 \
-Diwmmxt=disabled -Diwmmxt2=false \
%endif
--disable-static
%nil
make %{?_smp_mflags} V=1
%meson_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -type f -name "*.la" -delete
%meson_install
%check
make check %{?_smp_mflags} V=1
%meson_test
%ldconfig_post
%ldconfig_postun
@ -66,6 +64,7 @@ make check %{?_smp_mflags} V=1
%changelog
* Tue Feb 12 2019 Kalev Lember <klember@redhat.com> - 0.38.0-1
- Update to 0.38.0
- Switch to the meson build system
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.36.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild