distribution/packages/graphics/kmscube/package.mk

19 lines
611 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="kmscube"
PKG_VERSION="ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL"
PKG_SITE="https://cgit.freedesktop.org/mesa/kmscube"
2023-02-24 13:53:43 +00:00
PKG_URL="https://cgit.freedesktop.org/mesa/kmscube/snapshot/${PKG_VERSION}.tar.xz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Example KMS/GBM/EGL application"
PKG_TOOLCHAIN="autotools"
2023-02-24 13:53:43 +00:00
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
2022-02-05 14:23:32 +00:00
elif [ "$OPENGL_SUPPORT" = "yes" ]; then
echo "kmscube only supports OpenGLESv2"
exit 0
fi