ply: add python-ply package

ply is required by mesa package when building vulkan drivers, otherwise
following error is thrown:

    Problem encountered: Python (3.x) ply module required to build GRL kernels.
This commit is contained in:
Tomáš Kelemen (vudiq) 2025-01-29 20:06:19 +01:00
parent 0080b916b6
commit a0875f4fa2
No known key found for this signature in database
GPG Key ID: 5CE55E600E0B3B22
2 changed files with 13 additions and 1 deletions

View File

@ -109,7 +109,7 @@ else
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN} vulkan-tools"
PKG_DEPENDS_TARGET+=" ${VULKAN} vulkan-tools ply:host"
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers=${VULKAN_DRIVERS_MESA// /,}"
else
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers="

View File

@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2025-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ply"
PKG_VERSION="3.11"
PKG_SHA256="00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
PKG_LICENSE="BSD-3-Clause"
PKG_SITE="https://pypi.org/project/ply"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="Python3:host setuptools:host"
PKG_LONGDESC="PLY is yet another implementation of lex and yacc for Python."
PKG_TOOLCHAIN="python"