mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
Merge pull request #3444 from lrusak/intel-gpu-tools
xorg-intel-gpu-tools: add package
This commit is contained in:
commit
e9ce9667ab
23
packages/debug/xorg-intel-gpu-tools/package.mk
Normal file
23
packages/debug/xorg-intel-gpu-tools/package.mk
Normal file
@ -0,0 +1,23 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="xorg-intel-gpu-tools"
|
||||
PKG_VERSION="504367d33b787de2ba8e007a5b620cfd6f0b3074"
|
||||
PKG_SHA256="3e118ce6ab58b506de88ab158e9e630b3db9ab75b14cd0c4a8019548d2d0c320"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_DEPENDS_TARGET="toolchain cairo procps-ng"
|
||||
PKG_SITE="https://github.com/freedesktop/xorg-intel-gpu-tools"
|
||||
PKG_URL="https://github.com/freedesktop/xorg-intel-gpu-tools/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_LONGDESC="Test suite and tools for DRM/KMS drivers"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dbuild_overlay=false \
|
||||
-Dbuild_man=false \
|
||||
-Dwith_valgrind=false \
|
||||
-Dbuild_audio=false \
|
||||
-Dbuild_chamelium=false \
|
||||
-Dbuild_docs=false \
|
||||
-Dbuild_tests=true
|
||||
-Dwith_libdrm=auto \
|
||||
-Dwith_libunwind=false \
|
||||
-Dbuild_runner=false"
|
@ -30,8 +30,7 @@ if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
--disable-glesv2 \
|
||||
--disable-egl \
|
||||
--with-x"
|
||||
|
||||
elif [ "$DISPLAYSERVER" = "weston" ]; then
|
||||
else
|
||||
PKG_CAIRO_CONFIG="--disable-xlib \
|
||||
--disable-xlib-xrender \
|
||||
--disable-gl \
|
||||
@ -39,14 +38,6 @@ elif [ "$DISPLAYSERVER" = "weston" ]; then
|
||||
--enable-glesv2 \
|
||||
--enable-egl \
|
||||
--without-x"
|
||||
else
|
||||
PKG_CAIRO_CONFIG="--disable-xlib \
|
||||
--disable-xlib-xrender \
|
||||
--disable-gl \
|
||||
--disable-glx \
|
||||
--disable-glesv2 \
|
||||
--disable-egl \
|
||||
--without-x"
|
||||
fi
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CAIRO_CONFIG \
|
||||
|
@ -9,6 +9,7 @@ PKG_SITE="https://gitlab.com/procps-ng/procps"
|
||||
PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/Production/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="Command line and full screen utilities for browsing procfs."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
@ -16,7 +17,13 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
--disable-modern-top \
|
||||
--enable-static"
|
||||
|
||||
PKG_MAKE_OPTS_TARGET="top/top proc/libprocps.la proc/libprocps.pc"
|
||||
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="install-libLTLIBRARIES install-pkgconfigDATA"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/.$TARGET_NAME/top/top $INSTALL/usr/bin
|
||||
|
||||
make DESTDIR=$SYSROOT_PREFIX -j1 $PKG_MAKEINSTALL_OPTS_TARGET
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user