mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
packages: pciutils, nasm, etc.: build only for x86_64
This commit is contained in:
parent
59cfb354d9
commit
15287a2da8
@ -21,13 +21,16 @@ PKG_ADDON_TYPE="xbmc.python.script"
|
||||
PKG_DEPENDS_TARGET="toolchain \
|
||||
alsa-utils \
|
||||
mediainfo \
|
||||
mesa-demos \
|
||||
mpg123 \
|
||||
opencaster \
|
||||
squeezelite \
|
||||
tsdecrypt \
|
||||
tstools"
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET mesa-demos"
|
||||
fi
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/
|
||||
# alsamixer
|
||||
|
@ -22,7 +22,6 @@ PKG_DEPENDS_TARGET="toolchain \
|
||||
diffutils \
|
||||
dstat \
|
||||
dtach \
|
||||
efibootmgr \
|
||||
encfs \
|
||||
evtest \
|
||||
fdupes \
|
||||
@ -38,7 +37,6 @@ PKG_DEPENDS_TARGET="toolchain \
|
||||
lm_sensors \
|
||||
lshw \
|
||||
mc \
|
||||
mrxvt \
|
||||
mtpfs \
|
||||
nmon \
|
||||
p7zip \
|
||||
@ -52,6 +50,10 @@ PKG_DEPENDS_TARGET="toolchain \
|
||||
usb-modeswitch \
|
||||
vim"
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET efibootmgr mrxvt"
|
||||
fi
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/data/
|
||||
|
@ -6,7 +6,7 @@ PKG_NAME="linux"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.kernel.org"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb keyutils $KERNEL_EXTRA_DEPENDS_TARGET"
|
||||
PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host xz:host wireless-regdb keyutils $KERNEL_EXTRA_DEPENDS_TARGET"
|
||||
PKG_DEPENDS_INIT="toolchain"
|
||||
PKG_NEED_UNPACK="$LINUX_DEPENDS"
|
||||
PKG_LONGDESC="This package contains a precompiled kernel image and the modules."
|
||||
@ -57,7 +57,7 @@ if [ "$PKG_BUILD_PERF" != "no" ] && grep -q ^CONFIG_PERF_EVENTS= $PKG_KERNEL_CFG
|
||||
fi
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-ucode:host kernel-firmware elfutils:host"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-ucode:host kernel-firmware elfutils:host pciutils"
|
||||
fi
|
||||
|
||||
if [ "$BUILD_ANDROID_BOOTIMG" = "yes" ]; then
|
||||
|
@ -5,7 +5,7 @@
|
||||
PKG_NAME="kodi"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.kodi.tv"
|
||||
PKG_DEPENDS_TARGET="toolchain JsonSchemaBuilder:host TexturePacker:host Python2 zlib systemd pciutils lzo pcre swig:host libass curl fontconfig fribidi tinyxml libjpeg-turbo freetype libcdio taglib libxml2 libxslt rapidjson sqlite ffmpeg crossguid giflib libdvdnav libhdhomerun libfmt lirc libfstrcmp flatbuffers:host flatbuffers"
|
||||
PKG_DEPENDS_TARGET="toolchain JsonSchemaBuilder:host TexturePacker:host Python2 zlib systemd lzo pcre swig:host libass curl fontconfig fribidi tinyxml libjpeg-turbo freetype libcdio taglib libxml2 libxslt rapidjson sqlite ffmpeg crossguid giflib libdvdnav libhdhomerun libfmt lirc libfstrcmp flatbuffers:host flatbuffers"
|
||||
PKG_LONGDESC="A free and open source cross-platform media player."
|
||||
|
||||
PKG_PATCH_DIRS="$KODI_VENDOR"
|
||||
@ -39,6 +39,10 @@ configure_package() {
|
||||
|
||||
get_graphicdrivers
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET pciutils"
|
||||
fi
|
||||
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET dbus"
|
||||
|
||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
|
@ -7,5 +7,9 @@ PKG_SHA256="3662184809fa29af39c920877cedec3724dc5c3cf71d94bec424f2a7ee4825cf"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.jbkempf.com/blog/post/2018/Introducing-dav1d"
|
||||
PKG_URL="https://code.videolan.org/videolan/dav1d/-/archive/${PKG_VERSION}/dav1d-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="dav1d is an AV1 decoder :)"
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET+=" nasm:host"
|
||||
fi
|
||||
|
@ -9,7 +9,7 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.busybox.net"
|
||||
PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_HOST=""
|
||||
PKG_DEPENDS_TARGET="toolchain busybox:host hdparm dosfstools e2fsprogs zip unzip pciutils usbutils parted procps-ng gptfdisk libtirpc"
|
||||
PKG_DEPENDS_TARGET="toolchain busybox:host hdparm dosfstools e2fsprogs zip unzip usbutils parted procps-ng gptfdisk libtirpc"
|
||||
PKG_DEPENDS_INIT="toolchain libtirpc"
|
||||
PKG_LONGDESC="BusyBox combines tiny versions of many common UNIX utilities into a single small executable."
|
||||
# busybox fails to build with GOLD support enabled with binutils-2.25
|
||||
@ -25,6 +25,10 @@ if [ "$NFS_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET rpcbind"
|
||||
fi
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET+=" pciutils"
|
||||
fi
|
||||
|
||||
pre_build_target() {
|
||||
PKG_MAKE_OPTS_TARGET="ARCH=$TARGET_ARCH \
|
||||
HOSTCC=$HOST_CC \
|
||||
|
Loading…
x
Reference in New Issue
Block a user