Remove unneeded sources
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
fd591dd76a
commit
9786914605
23
Makefile
23
Makefile
@ -1,23 +0,0 @@
|
|||||||
VERSION ?= 19.0.2
|
|
||||||
SANITIZE ?= 1
|
|
||||||
|
|
||||||
DIRNAME = mesa-${VERSION}
|
|
||||||
|
|
||||||
all: archive
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf $(DIRNAME)/
|
|
||||||
rm -f mesa-${VERSION}.tar.xz
|
|
||||||
|
|
||||||
clone: clean
|
|
||||||
curl -O https://mesa.freedesktop.org/archive/mesa-${VERSION}.tar.xz
|
|
||||||
tar xf mesa-${VERSION}.tar.xz
|
|
||||||
|
|
||||||
sanitize: clone vl_mpeg12_decoder.c vl_decoder.c
|
|
||||||
ifdef SANITIZE
|
|
||||||
cat < vl_mpeg12_decoder.c > $(DIRNAME)/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
|
|
||||||
cat < vl_decoder.c > $(DIRNAME)/src/gallium/auxiliary/vl/vl_decoder.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
archive: clone sanitize
|
|
||||||
tar caf ${DIRNAME}.tar.xz ${DIRNAME}
|
|
@ -53,11 +53,10 @@ License: MIT
|
|||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
||||||
Source3: Makefile
|
|
||||||
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
||||||
# Source4 contains email correspondence clarifying the license terms.
|
# Source1 contains email correspondence clarifying the license terms.
|
||||||
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
||||||
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
||||||
|
|
||||||
Patch3: 0003-evergreen-big-endian.patch
|
Patch3: 0003-evergreen-big-endian.patch
|
||||||
|
|
||||||
@ -350,7 +349,7 @@ Headers for development with the Vulkan API.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{ver} -p1
|
%autosetup -n %{name}-%{ver} -p1
|
||||||
cp %{SOURCE4} docs/
|
cp %{SOURCE1} docs/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
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 New Issue
Block a user