Skip to content

Commit

Permalink
ply: add python-ply package
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ToKe79 committed Jan 30, 2025
1 parent 0080b91 commit e8465fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphics/mesa/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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="
Expand Down
12 changes: 12 additions & 0 deletions packages/python/devel/ply/package.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2025-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="ply"
PKG_VERSION="3.11"
PKG_SHA256="00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
PKG_LICENSE="GPL"
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"

0 comments on commit e8465fa

Please sign in to comment.