distribution/packages/multimedia/libplacebo/package.mk
2023-12-15 16:33:23 +00:00

17 lines
652 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
PKG_NAME="libplacebo"
PKG_VERSION="52314e0e435fbcb731e326815d4091ed0ba27475"
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