[vlc-devel] [PATCH 1/5] contrib: WIP libplacebo use src_refactor branch
Niklas Haas
vlc at haasn.xyz
Thu Nov 12 13:39:19 CET 2020
This feature was merged in master, and is included as part of the
v2.72.0 release (which I recommend setting as the new minimum version
anyway).
On Fri, 28 Aug 2020 18:49:35 +0200, "Louis Régnier" <louis.videolabs at gmail.com> wrote:
> The feature of libplacebo src_refactor branch has to be merge to master branch of
> libplacebo.
> ---
> contrib/src/libplacebo/rules.mak | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/contrib/src/libplacebo/rules.mak b/contrib/src/libplacebo/rules.mak
> index 1f34691824..9aee3a46f5 100644
> --- a/contrib/src/libplacebo/rules.mak
> +++ b/contrib/src/libplacebo/rules.mak
> @@ -1,8 +1,9 @@
> # libplacebo
>
> -PLACEBO_VERSION := 1.18.0
> -PLACEBO_ARCHIVE = libplacebo-v$(PLACEBO_VERSION).tar.gz
> -PLACEBO_URL := https://code.videolan.org/videolan/libplacebo/-/archive/v$(PLACEBO_VERSION)/$(PLACEBO_ARCHIVE)
> +PLACEBO_HASH := 0199c19c668bcb33cace0a6cbaa101bf24fc5605
> +PLACEBO_BRANCH := src_refactor
> +PLACEBO_GITURL := https://code.videolan.org/videolan/libplacebo.git
> +PLACEBO_BASENAME := $(subst .,_,$(subst \,_,$(subst /,_,$(PLACEBO_HASH))))
>
> DEPS_libplacebo = glslang
>
> @@ -20,14 +21,15 @@ endif
> PLACEBOCONF := -Dglslang=enabled \
> -Dshaderc=disabled
>
> -$(TARBALLS)/$(PLACEBO_ARCHIVE):
> - $(call download_pkg,$(PLACEBO_URL),libplacebo)
> +$(TARBALLS)/libplacebo-$(PLACEBO_BASENAME).tar.xz:
> + $(call download_git,$(PLACEBO_GITURL),$(PLACEBO_BRANCH),$(PLACEBO_HASH))
>
> -.sum-libplacebo: $(PLACEBO_ARCHIVE)
> +.sum-libplacebo: $(TARBALLS)/libplacebo-$(PLACEBO_BASENAME).tar.xz
> + $(call check_githash,$(PLACEBO_HASH))
> + touch $@
>
> -libplacebo: $(PLACEBO_ARCHIVE) .sum-libplacebo
> +libplacebo: libplacebo-$(PLACEBO_BASENAME).tar.xz .sum-libplacebo
> $(UNPACK)
> - $(APPLY) $(SRC)/libplacebo/0001-meson-fix-glslang-search-path.patch
> $(MOVE)
>
> .libplacebo: libplacebo crossfile.meson
> --
> 2.28.0
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list