distribution/packages/multimedia/libplacebo/package.mk

18 lines
652 B
Makefile
Raw Normal View History

2023-09-13 18:36:41 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2023-09-13 18:36:41 +00:00
PKG_NAME="libplacebo"
2023-12-15 16:33:23 +00:00
PKG_VERSION="52314e0e435fbcb731e326815d4091ed0ba27475"
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