mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
12.0.0-rc1
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
b73f9d0ee3
commit
7794d34f55
2 changed files with 15 additions and 23 deletions
36
mesa.spec
36
mesa.spec
|
@ -50,25 +50,16 @@
|
||||||
|
|
||||||
%global sanitize 1
|
%global sanitize 1
|
||||||
|
|
||||||
%global commit cbcd7b60f573d027337a2390e67f6010e9992aaa
|
%global rctag rc1
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
||||||
|
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 11.3.0
|
Version: 12.0.0
|
||||||
Release: 0.4.git%{shortcommit}%{?dist}
|
Release: 0.1%{?rctag:.%{rctag}}%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
# For latest commit:
|
Source0: https://mesa.freedesktop.org/archive/%{version}/%{name}-%{version}%{?rctag:-%{rctag}}.tar.xz
|
||||||
# git clone --depth 1 git://anongit.freedesktop.org/mesa/mesa mesa-%%{shortcommit}
|
|
||||||
# Otherwise:
|
|
||||||
# git clone git://anongit.freedesktop.org/mesa/mesa mesa-%%{shortcommit}
|
|
||||||
# cd mesa-%%{shortcommit}; git reset --hard %%{shortcommit}; cd ..
|
|
||||||
#
|
|
||||||
# Create archive:
|
|
||||||
# tar -Jcvf mesa-%%{shortcommit}.tar.xz mesa-%%{shortcommit}
|
|
||||||
Source0: %{name}-%{shortcommit}.tar.xz
|
|
||||||
Source1: vl_decoder.c
|
Source1: vl_decoder.c
|
||||||
Source2: vl_mpeg12_decoder.c
|
Source2: vl_mpeg12_decoder.c
|
||||||
|
|
||||||
|
@ -82,10 +73,9 @@ Patch2: 0002-hardware-gloat.patch
|
||||||
Patch3: 0003-evergreen-big-endian.patch
|
Patch3: 0003-evergreen-big-endian.patch
|
||||||
Patch4: 0004-bigendian-assert.patch
|
Patch4: 0004-bigendian-assert.patch
|
||||||
|
|
||||||
# To have sha info in glxinfo
|
BuildRequires: automake
|
||||||
BuildRequires: git-core
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig autoconf automake libtool
|
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: xorg-x11-server-devel
|
BuildRequires: xorg-x11-server-devel
|
||||||
|
@ -353,7 +343,7 @@ Mesa Direct3D9 state tracker development package
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n mesa-%{shortcommit} -p1
|
%autosetup -n %{name}-%{version}%{?rctag:-%{rctag}} -p1
|
||||||
%if 0%{sanitize}
|
%if 0%{sanitize}
|
||||||
cp -f %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c
|
cp -f %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c
|
||||||
cp -f %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
|
cp -f %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
|
||||||
|
@ -369,17 +359,16 @@ cp %{SOURCE3} docs/
|
||||||
%build
|
%build
|
||||||
autoreconf -vfi
|
autoreconf -vfi
|
||||||
|
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
# C++ note: we never say "catch" in the source. we do say "typeid" once,
|
# C++ note: we never say "catch" in the source. we do say "typeid" once,
|
||||||
# in an assert, which is patched out above. LLVM doesn't use RTTI or throw.
|
# in an assert, which is patched out above. LLVM doesn't use RTTI or throw.
|
||||||
#
|
#
|
||||||
# We do say 'catch' in the clover and d3d1x state trackers, but we're not
|
# We do say 'catch' in the clover and d3d1x state trackers, but we're not
|
||||||
# building those yet.
|
# building those yet.
|
||||||
export CXXFLAGS="%{optflags} %{?with_opencl:-frtti -fexceptions} %{!?with_opencl:-fno-rtti -fno-exceptions}"
|
export CXXFLAGS="%{?with_opencl:-frtti -fexceptions} %{!?with_opencl:-fno-rtti -fno-exceptions}"
|
||||||
export LDFLAGS="%{__global_ldflags} -static-libstdc++"
|
export LDFLAGS="-static-libstdc++"
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
# i do not have words for how much the assembly dispatch code infuriates me
|
# i do not have words for how much the assembly dispatch code infuriates me
|
||||||
%define asm_flags --disable-asm
|
%global asm_flags --disable-asm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
|
@ -676,6 +665,9 @@ popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 01 2016 Igor Gnatenko <ignatenko@redhat.com> - 12.0.0-0.1.rc1
|
||||||
|
- 12.0.0-rc1
|
||||||
|
|
||||||
* Sun May 01 2016 Igor Gnatenko <ignatenko@redhat.com> - 11.3.0-0.4.gitcbcd7b6
|
* Sun May 01 2016 Igor Gnatenko <ignatenko@redhat.com> - 11.3.0-0.4.gitcbcd7b6
|
||||||
- cbcd7b6
|
- cbcd7b6
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
960f5273077e798897d95448aeb9c50e mesa-cbcd7b6.tar.xz
|
1b2d2764beca249bb81f23274fc1d75d mesa-12.0.0-rc1.tar.xz
|
||||||
|
|
Loading…
Reference in a new issue