2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="debug"
|
|
|
|
PKG_VERSION=""
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://www.openelec.tv"
|
|
|
|
PKG_URL=""
|
|
|
|
PKG_DEPENDS_TARGET="toolchain gdb apitrace valgrind strace edid-decode memtester"
|
|
|
|
PKG_SECTION="virtual"
|
|
|
|
PKG_LONGDESC="debug is a Metapackage for installing debugging tools"
|
|
|
|
|
|
|
|
# configure GPU drivers and dependencies:
|
|
|
|
get_graphicdrivers
|
|
|
|
|
|
|
|
if [ "$VDPAU_SUPPORT" = "yes" -a "$DISPLAYSERVER" = "x11" ]; then
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} vdpauinfo"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$VAAPI_SUPPORT" = "yes" ]; then
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} libva-utils"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if build_with_debug && [ "$VALGRIND" = "yes" ]; then
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} valgrind"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
2024-01-14 07:02:12 +00:00
|
|
|
|
|
|
|
if listcontains "${GRAPHIC_DRIVERS}" "panfrost"; then
|
|
|
|
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} nvtop"
|
|
|
|
fi
|