12 |
|
|
13 |
# https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e |
# https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e |
14 |
%define git 0 |
%define git 0 |
15 |
%define git_branch 17.1 |
%define git_branch 17.3 |
16 |
|
|
17 |
%define opengl_ver 4.5 |
%define opengl_ver 4.5 |
18 |
|
|
19 |
# define version, RC & release |
# define version, RC & release |
20 |
%define main_version 17.2.3 |
%define main_version 17.3.0 |
21 |
#define relc 5 |
%define relc 3 |
22 |
%define rel 3 |
%define rel 2 |
23 |
|
|
24 |
%define release %mkrel %{?relc:0.rc%{relc}.}%{rel} |
%define release %mkrel %{?relc:0.rc%{relc}.}%{rel} |
25 |
|
|
99 |
%define base_drivers swrast,nouveau,radeon,r200 |
%define base_drivers swrast,nouveau,radeon,r200 |
100 |
%ifarch %{ix86} x86_64 |
%ifarch %{ix86} x86_64 |
101 |
%define platform_drivers ,i915,i965 |
%define platform_drivers ,i915,i965 |
102 |
|
%define gallium_platform_drivers ,svga |
103 |
%endif |
%endif |
104 |
%define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers} |
%define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers} |
105 |
|
|
166 |
# In order to update to the branch via patches, issue this command: |
# In order to update to the branch via patches, issue this command: |
167 |
# git format-patch --start-number 100 mesa_7_5_1..mesa_7_5_branch | sed 's/^0\([0-9]\+\)-/Patch\1: 0\1-/' |
# git format-patch --start-number 100 mesa_7_5_1..mesa_7_5_branch | sed 's/^0\([0-9]\+\)-/Patch\1: 0\1-/' |
168 |
|
|
169 |
|
# from mesa master: https://cgit.freedesktop.org/mesa/mesa/commit/?id=c591b1e59454db2e8854e36852e0d413ce38b2f2 |
170 |
|
Patch100: i965-expose-SRGB-visuals-and-turn-on-EGL_KHR_gl-colorspace.patch |
171 |
|
|
172 |
# Cherry picks |
# Cherry picks |
173 |
# git format-patch --start-number 200 mesa_7_5_branch..mdv-cherry-picks |
# git format-patch --start-number 200 mesa_7_5_branch..mdv-cherry-picks |
174 |
|
|
177 |
# git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat |
# git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat |
178 |
|
|
179 |
# https://cgit.freedesktop.org/~ajax/mesa/log/?h=mesa-17.2-s3tc |
# https://cgit.freedesktop.org/~ajax/mesa/log/?h=mesa-17.2-s3tc |
|
Patch0: 0001-mesa-Squash-merge-of-S3TC-support.patch |
|
180 |
|
|
181 |
# Patches from ChromiumOS |
# Patches from ChromiumOS |
182 |
# http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD |
# http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD |
551 |
--enable-dri \ |
--enable-dri \ |
552 |
--enable-xa \ |
--enable-xa \ |
553 |
--enable-nine \ |
--enable-nine \ |
554 |
--with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \ |
--with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl%{?gallium_platform_drivers} \ |
555 |
%{?dri_drivers} |
%{?dri_drivers} |
556 |
# end of configure options |
# end of configure options |
557 |
|
|