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