diff --git a/Makefile b/Makefile deleted file mode 100644 index 9b9850c..0000000 --- a/Makefile +++ /dev/null @@ -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} diff --git a/mesa.spec b/mesa.spec index c3140da..f460f3b 100644 --- a/mesa.spec +++ b/mesa.spec @@ -53,11 +53,10 @@ License: MIT URL: http://www.mesa3d.org 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. +# 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. -Source4: Mesa-MLAA-License-Clarification-Email.txt +Source1: Mesa-MLAA-License-Clarification-Email.txt Patch3: 0003-evergreen-big-endian.patch @@ -350,7 +349,7 @@ Headers for development with the Vulkan API. %prep %autosetup -n %{name}-%{ver} -p1 -cp %{SOURCE4} docs/ +cp %{SOURCE1} docs/ %build diff --git a/vl_decoder.c b/vl_decoder.c deleted file mode 100644 index 1e715b6..0000000 --- a/vl_decoder.c +++ /dev/null @@ -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; -} diff --git a/vl_mpeg12_decoder.c b/vl_mpeg12_decoder.c deleted file mode 100644 index 85ac2c9..0000000 --- a/vl_mpeg12_decoder.c +++ /dev/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; -}