Update to 0.38.0
This commit is contained in:
parent
5947556b62
commit
87f83fc5f0
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ pixman-0.18.2.tar.bz2
|
|||||||
/pixman-0.32.6.tar.gz
|
/pixman-0.32.6.tar.gz
|
||||||
/pixman-0.33.2.tar.gz
|
/pixman-0.33.2.tar.gz
|
||||||
/pixman-0.34.0.tar.gz
|
/pixman-0.34.0.tar.gz
|
||||||
|
/pixman-0.38.0.tar.gz
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
%?mingw_package_header
|
%{?mingw_package_header}
|
||||||
|
|
||||||
Name: mingw-pixman
|
Name: mingw-pixman
|
||||||
Version: 0.34.0
|
Version: 0.38.0
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: MinGW Windows Pixman library
|
Summary: MinGW Windows Pixman library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -11,15 +11,23 @@ URL: http://cgit.freedesktop.org/pixman/
|
|||||||
Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz
|
Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz
|
||||||
Source1: make-pixman-snapshot.sh
|
Source1: make-pixman-snapshot.sh
|
||||||
|
|
||||||
|
# Allow building a static library with meson
|
||||||
|
Patch0: pixman_meson-static-library.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: mingw32-filesystem >= 95
|
BuildRequires: mingw32-filesystem >= 95
|
||||||
BuildRequires: mingw32-gcc
|
BuildRequires: mingw32-gcc
|
||||||
BuildRequires: mingw32-binutils
|
BuildRequires: mingw32-binutils
|
||||||
|
BuildRequires: mingw32-libgomp
|
||||||
|
|
||||||
BuildRequires: mingw64-filesystem >= 95
|
BuildRequires: mingw64-filesystem >= 95
|
||||||
BuildRequires: mingw64-gcc
|
BuildRequires: mingw64-gcc
|
||||||
BuildRequires: mingw64-binutils
|
BuildRequires: mingw64-binutils
|
||||||
|
BuildRequires: mingw64-libgomp
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: meson
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -56,25 +64,21 @@ Requires: mingw64-pixman = %{version}-%{release}
|
|||||||
Static version of the cross compiled Pixman library.
|
Static version of the cross compiled Pixman library.
|
||||||
|
|
||||||
|
|
||||||
%?mingw_debug_package
|
%{?mingw_debug_package}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pixman-%{version}
|
%autosetup -p1 -n pixman-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Uses GTK for its testsuite, so disable this otherwise
|
# Uses GTK for its testsuite, so disable this otherwise we have a chicken & egg problem on mingw
|
||||||
# we have a chicken & egg problem on mingw
|
%mingw_meson --default-library=both -Dgtk=disabled
|
||||||
%mingw_configure --disable-gtk --disable-sse2 --enable-static --enable-shared
|
%mingw_ninja
|
||||||
%mingw_make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
%mingw_ninja_install
|
||||||
|
|
||||||
# Drop all .la files
|
|
||||||
find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
||||||
|
|
||||||
|
|
||||||
# Win32
|
# Win32
|
||||||
@ -101,6 +105,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 28 2019 Sandro Mani <manisandro@gmail.com> - 0.38.0-1
|
||||||
|
- Update to 0.38.0
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-7
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
12
pixman_meson-static-library.patch
Normal file
12
pixman_meson-static-library.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -rupN --no-dereference pixman-0.38.0/pixman/meson.build pixman-0.38.0-new/pixman/meson.build
|
||||||
|
--- pixman-0.38.0/pixman/meson.build 2019-01-21 12:17:13.000000000 +0100
|
||||||
|
+++ pixman-0.38.0-new/pixman/meson.build 2019-08-28 02:07:16.104054508 +0200
|
||||||
|
@@ -97,7 +97,7 @@ pixman_files = files(
|
||||||
|
'pixman-utils.c',
|
||||||
|
)
|
||||||
|
|
||||||
|
-libpixman = shared_library(
|
||||||
|
+libpixman = library(
|
||||||
|
'pixman-1',
|
||||||
|
[pixman_files, config_h, version_h],
|
||||||
|
link_with : [pixman_simd_libs],
|
Loading…
Reference in New Issue
Block a user