2023-09-13 18:36:41 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2023-10-24 16:00:57 +00:00
|
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
2023-09-13 18:36:41 +00:00
|
|
|
|
|
|
|
PKG_NAME="libplacebo"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="c02c40cc3f5eb4fd736eebf6056ae4ec0df2448b"
|
2023-09-13 18:36:41 +00:00
|
|
|
PKG_LICENSE="GPLv2+"
|
|
|
|
PKG_SITE="https://code.videolan.org/videolan/libplacebo"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain ffmpeg SDL2 luajit libass waf:host"
|
|
|
|
PKG_LONGDESC="The core rendering algorithms and ideas of mpv rewritten as an independent library."
|
|
|
|
|
|
|
|
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
|
|
|
PKG_DEPENDS_TARGET+=" vulkan-loader vulkan-headers"
|
|
|
|
PKG_MESON_OPTS_TARGET+=" -Dvulkan=enabled"
|
|
|
|
else
|
|
|
|
PKG_MESON_OPTS_TARGET+=" -Dvulkan=disabled"
|
|
|
|
fi
|