mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
Merge pull request #6843 from heitbaum/mesonpkg
package.mk: drop PKG_TOOLCHAIN hardcoding
This commit is contained in:
commit
3cf6075b62
@ -11,7 +11,6 @@ PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gtk+/${PKG_VERSION:0:4}/gtk+-${
|
||||
PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango libxkbcommon"
|
||||
PKG_DEPENDS_CONFIG="libXft pango gdk-pixbuf shared-mime-info"
|
||||
PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dbroadway_backend=false \
|
||||
|
@ -9,5 +9,4 @@ PKG_SITE="https://www.musicpd.org"
|
||||
PKG_URL="https://www.musicpd.org/download/mpc/0/mpc-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libiconv libmpdclient"
|
||||
PKG_LONGDESC="Command-line client for MPD."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
@ -9,7 +9,6 @@ PKG_SITE="https://pipewire.org"
|
||||
PKG_URL="https://github.com/PipeWire/pipewire/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libpthread-stubs dbus ncurses alsa-lib systemd libsndfile libusb"
|
||||
PKG_LONGDESC="PipeWire is a server and user space API to deal with multimedia pipeline"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
if [ "${BLUETOOTH_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" bluez sbc ldacBT libfreeaptx"
|
||||
|
@ -10,7 +10,6 @@ PKG_URL="https://github.com/lz4/lz4/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="toolchain:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="lz4 data compressor/decompressor"
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
|
||||
configure_package() {
|
||||
PKG_CMAKE_SCRIPT="${PKG_BUILD}/build/cmake/CMakeLists.txt"
|
||||
|
@ -10,7 +10,6 @@ PKG_URL="https://github.com/facebook/zstd/releases/download/v${PKG_VERSION}/${PK
|
||||
PKG_DEPENDS_HOST="ccache:host meson:host ninja:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A fast real-time compression algorithm."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
configure_package() {
|
||||
PKG_MESON_SCRIPT="${PKG_BUILD}/build/meson/meson.build"
|
||||
|
@ -8,7 +8,6 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/01org/libva-utils"
|
||||
PKG_URL="https://github.com/intel/libva-utils/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_LONGDESC="Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET="toolchain libva libdrm libX11"
|
||||
|
@ -9,7 +9,6 @@ PKG_SITE="https://github.com/fhvwy/vadumpcaps"
|
||||
PKG_URL="https://github.com/fhvwy/vadumpcaps/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_LONGDESC="This is a utility to show all capabilities of a VAAPI device/driver."
|
||||
PKG_DEPENDS_TARGET="toolchain libva"
|
||||
PKG_TOOLCHAIN="make"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
|
@ -9,7 +9,6 @@ PKG_DEPENDS_TARGET="toolchain cairo procps-ng"
|
||||
PKG_SITE="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
|
||||
PKG_URL="https://www.x.org/releases/individual/app/igt-gpu-tools-${PKG_VERSION}.tar.xz"
|
||||
PKG_LONGDESC="Test suite and tools for DRM/KMS drivers"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dchamelium=disabled \
|
||||
-Ddocs=disabled \
|
||||
|
@ -10,7 +10,6 @@ PKG_SITE="http://fribidi.freedesktop.org/"
|
||||
PKG_URL="https://github.com/fribidi/fribidi/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A bidirectional algorithm library."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Ddeprecated=false \
|
||||
|
@ -11,7 +11,6 @@ PKG_URL="https://download.gnome.org/sources/glib/$(get_pkg_version_maj_min)/${PK
|
||||
PKG_DEPENDS_HOST="libffi:host pcre2:host Python3:host meson:host ninja:host"
|
||||
PKG_DEPENDS_TARGET="toolchain pcre2 zlib libffi Python3:host util-linux"
|
||||
PKG_LONGDESC="A library which includes support routines for C such as lists, trees, hashes, memory allocation."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
PKG_MESON_OPTS_HOST="-Ddefault_library=static \
|
||||
-Dinstalled_tests=false \
|
||||
|
@ -10,7 +10,6 @@ PKG_URL="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PKG_VER
|
||||
PKG_DEPENDS_HOST="toolchain:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A set of functions that implement regular expression pattern matching using the same syntax."
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CMAKE_OPTS_HOST="-DBUILD_SHARED_LIBS=OFF \
|
||||
|
@ -9,6 +9,9 @@ PKG_SITE="https://github.com/gabime/spdlog"
|
||||
PKG_URL="https://github.com/gabime/spdlog/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libfmt"
|
||||
PKG_LONGDESC="Very fast, header only, C++ logging library."
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DCMAKE_CXX_STANDARD=14 -DCMAKE_CXX_EXTENSIONS:BOOL=OFF -DSPDLOG_FMT_EXTERNAL=ON -DSPDLOG_BUILD_EXAMPLE=OFF -DSPDLOG_BUILD_TESTS=OFF"
|
||||
PKG_CMAKE_OPTS_TARGET="-DCMAKE_CXX_STANDARD=14 \
|
||||
-DCMAKE_CXX_EXTENSIONS:BOOL=OFF \
|
||||
-DSPDLOG_FMT_EXTERNAL=ON \
|
||||
-DSPDLOG_BUILD_EXAMPLE=OFF \
|
||||
-DSPDLOG_BUILD_TESTS=OFF"
|
||||
|
@ -10,7 +10,6 @@ PKG_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
|
||||
PKG_URL="https://github.com/harfbuzz/harfbuzz/releases/download/${PKG_VERSION}/harfbuzz-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain cairo freetype glib"
|
||||
PKG_LONGDESC="HarfBuzz is an OpenType text shaping engine."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dbenchmark=disabled \
|
||||
-Dcairo=enabled \
|
||||
|
@ -10,7 +10,6 @@ PKG_SITE="https://dri.freedesktop.org"
|
||||
PKG_URL="https://dri.freedesktop.org/libdrm/libdrm-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libpciaccess"
|
||||
PKG_LONGDESC="The userspace interface library to kernel DRM services."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
get_graphicdrivers
|
||||
|
||||
|
@ -10,7 +10,6 @@ PKG_SITE="http://www.mesa3d.org/"
|
||||
PKG_URL="https://mesa.freedesktop.org/archive/mesa-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain expat libdrm Mako:host"
|
||||
PKG_LONGDESC="Mesa is a 3-D graphics library with an API."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
get_graphicdrivers
|
||||
|
||||
|
@ -11,7 +11,6 @@ PKG_SITE="https://01.org/linuxmedia"
|
||||
PKG_URL="https://github.com/intel/intel-vaapi-driver/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libva libdrm"
|
||||
PKG_LONGDESC="intel-vaapi-driver: VA-API user mode driver for Intel GEN Graphics family"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
DISPLAYSERVER_LIBVA="-Dwith_x11=yes -Dwith_wayland=no"
|
||||
|
@ -10,7 +10,6 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://01.org/linuxmedia"
|
||||
PKG_URL="https://github.com/intel/libva/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_LONGDESC="Libva is an implementation for VA-API (VIdeo Acceleration API)."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET="toolchain libX11 libXext libXfixes libdrm"
|
||||
|
@ -9,7 +9,6 @@ PKG_SITE="https://github.com/FFmpeg/nv-codec-headers"
|
||||
PKG_URL="https://github.com/FFmpeg/nv-codec-headers/archive/n${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="FFmpeg version of headers required to interface with Nvidias codec APIs."
|
||||
PKG_TOOLCHAIN="make"
|
||||
|
||||
makeinstall_target(){
|
||||
make DESTDIR=${SYSROOT_PREFIX} PREFIX=/usr install
|
||||
|
@ -11,7 +11,6 @@ PKG_URL="http://www.freedesktop.org/software/libevdev/${PKG_NAME}-${PKG_VERSION}
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="libevdev is a wrapper library for evdev devices."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
PKG_MESON_OPTS_TARGET=" \
|
||||
-Ddefault_library=shared \
|
||||
|
Loading…
x
Reference in New Issue
Block a user