mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Drop the mpeg 1/2 sanitize hack
Switch to upstream tarball since we no longer need to do the above
This commit is contained in:
parent
b350c79754
commit
b1cb039a7a
4 changed files with 7 additions and 49 deletions
27
mesa.spec
27
mesa.spec
|
@ -43,20 +43,15 @@
|
|||
|
||||
%global dri_drivers %{?base_drivers}%{?platform_drivers}
|
||||
|
||||
%global sanitize 0
|
||||
|
||||
Name: mesa
|
||||
Summary: Mesa graphics libraries
|
||||
%global ver 18.3.6
|
||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
URL: http://www.mesa3d.org
|
||||
|
||||
#Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
||||
Source0: %{name}-%{ver}.tar.xz
|
||||
Source1: vl_decoder.c
|
||||
Source2: vl_mpeg12_decoder.c
|
||||
Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
||||
Source3: Makefile
|
||||
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
||||
# Source4 contains email correspondence clarifying the license terms.
|
||||
|
@ -352,24 +347,10 @@ Requires: vulkan-devel
|
|||
Headers for development with the Vulkan API.
|
||||
|
||||
%prep
|
||||
%if 0%{sanitize}
|
||||
%setup -q -n %{name}-%{ver}
|
||||
cp -f %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c
|
||||
cp -f %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
|
||||
exit 0
|
||||
%else
|
||||
%autosetup -n %{name}-%{ver} -p1
|
||||
cmp %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c
|
||||
cmp %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
|
||||
%endif
|
||||
|
||||
cp %{SOURCE4} docs/
|
||||
|
||||
%build
|
||||
%if !0%{sanitize}
|
||||
cmp %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c
|
||||
cmp %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
|
||||
%endif
|
||||
|
||||
%meson -Dcpp_std=gnu++11 \
|
||||
-Dplatforms=x11,wayland,drm,surfaceless \
|
||||
|
@ -628,6 +609,10 @@ popd
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Apr 12 2019 Adam Jackson <ajax@redhat.com> 18.3.6-2
|
||||
- Drop the mpeg 1/2 sanitize hack
|
||||
- Switch to upstream tarball since we no longer need to do the above
|
||||
|
||||
* Sat Apr 06 2019 Pete Walter <pwalter@fedoraproject.org> - 18.3.6-1
|
||||
- Update to 18.3.6
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (mesa-18.3.6.tar.xz) = 62f354cf128c20e92b89ce39010f13e5a31db70831fe0e43c306e84bafb0261f9c290bbace4051375c38ee75d3a8b22cd037d34254cfcd31cc831a675c025e92
|
||||
SHA512 (mesa-18.3.6.tar.xz) = 3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
|
||||
|
|
20
vl_decoder.c
20
vl_decoder.c
|
@ -1,20 +0,0 @@
|
|||
#include "vl_decoder.h"
|
||||
bool
|
||||
vl_profile_supported(struct pipe_screen *screen, enum pipe_video_profile profile,
|
||||
enum pipe_video_entrypoint entrypoint)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
int
|
||||
vl_level_supported(struct pipe_screen *screen, enum pipe_video_profile profile)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct pipe_video_codec *
|
||||
vl_create_decoder(struct pipe_context *pipe,
|
||||
const struct pipe_video_codec *templat)
|
||||
{
|
||||
return NULL;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
#include "vl_mpeg12_decoder.h"
|
||||
struct pipe_video_codec *
|
||||
vl_create_mpeg12_decoder(struct pipe_context *context,
|
||||
const struct pipe_video_codec *templat)
|
||||
{
|
||||
return NULL;
|
||||
}
|
Loading…
Reference in a new issue