distribution/packages/multimedia/libplacebo/package.mk
2023-09-13 18:36:41 +00:00

17 lines
625 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023-present Fewtarius
PKG_NAME="libplacebo"
PKG_VERSION="839e847e32ff0b6bb0a0c033b700245de6a333dc"
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