mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 05:46:19 +00:00
6fb5ad6fee
* libCEC: Update to 6.0.2 * L4T: Switch-bsp: Fix typos * Switch: Fix all permission issues with running kodi as a non-root user. * L4T: Switch: Minor code cleanups * Add upower and libgudev so kodi can get battery stats Upower was removed from libreELEC in 2013 with this commit: 3a130cd5009c8d3595b8afcde2421324572ce58b This was a stupid choice as it is the only option in kodi for supplying any battery statitistics. Currently broken. This patchset: https://github.com/xbmc/xbmc/pull/17327/commits for kodi seemingliy wants to fix the issue(Doesnt, is more of a new way to deal with dbus in general), but will still require that upower be available for battery. * Switch: LibreELEC: Peripheral.Joystick: Fix Add Patches from PR's upstream to fix issues with udev devices * Switch: LibreElec: Peripheral.Joystick: Add Nintendo Switch udev joystick mappings * Switch: LibreELEC: Peripheral.Joystick: Force Udev controller driver as default.
49 lines
2.0 KiB
Makefile
49 lines
2.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="dbus"
|
|
PKG_VERSION="1.14.0"
|
|
PKG_SHA256="ccd7cce37596e0a19558fd6648d1272ab43f011d80c8635aea8fd0bad58aebd4"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://dbus.freedesktop.org"
|
|
PKG_URL="https://dbus.freedesktop.org/releases/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain expat systemd"
|
|
PKG_LONGDESC="D-Bus is a message bus, used for sending messages between applications."
|
|
PKG_TOOLCHAIN="configure"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="export ac_cv_have_abstract_sockets=yes \
|
|
--with-sysroot=${SYSROOT_PREFIX} \
|
|
--libexecdir=/usr/lib/dbus \
|
|
--disable-verbose-mode \
|
|
--disable-asserts \
|
|
--enable-checks \
|
|
--disable-tests \
|
|
--disable-ansi \
|
|
--disable-xml-docs \
|
|
--disable-doxygen-docs \
|
|
--disable-x11-autolaunch \
|
|
--disable-selinux \
|
|
--disable-libaudit \
|
|
--enable-systemd \
|
|
--enable-inotify \
|
|
--without-valgrind \
|
|
--without-x \
|
|
--with-dbus-user=dbus \
|
|
--runstatedir=/run \
|
|
--with-system-socket=/run/dbus/system_bus_socket"
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf ${INSTALL}/etc/rc.d
|
|
rm -rf ${INSTALL}/usr/lib/dbus-1.0/include
|
|
}
|
|
|
|
post_install() {
|
|
add_user dbus x 81 81 "System message bus" "/" "/bin/sh"
|
|
add_group dbus 81 ${DISTRO}
|
|
add_group netdev 497 ${DISTRO}
|
|
|
|
echo "chmod 4750 ${INSTALL}/usr/lib/dbus/dbus-daemon-launch-helper" >> ${FAKEROOT_SCRIPT}
|
|
echo "chown 0:81 ${INSTALL}/usr/lib/dbus/dbus-daemon-launch-helper" >> ${FAKEROOT_SCRIPT}
|
|
}
|