Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

26
package/upower/Config.in Normal file
View File

@@ -0,0 +1,26 @@
config BR2_PACKAGE_UPOWER
bool "upower"
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev
depends on BR2_USE_MMU # libgudev
depends on BR2_USE_WCHAR # libgudev
select BR2_PACKAGE_LIBGUDEV
help
UPower is an abstraction for enumerating power devices,
listening to device events and querying history and
statistics. Any application or service on the system can
access the org.freedesktop.UPower service via the system
message bus.
Note: upowerd require CONFIG_TIMER_STATS enabled in the
Linux kernel.
https://upower.freedesktop.org/
comment "upower needs udev /dev management"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV
comment "upower needs a toolchain w/ threads, wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 e5bda2f5837ee311f5b7b6ec9549b029c88f4958011c6a8f5550b54408ee06ae upower-v0.99.19.tar.bz2
sha256 c1753877db41d798d63369a825ad9225bbeb5e10a407be5fcd8de96182f1c50d COPYING

36
package/upower/upower.mk Normal file
View File

@@ -0,0 +1,36 @@
################################################################################
#
# upower
#
################################################################################
UPOWER_VERSION = 0.99.19
UPOWER_SOURCE = upower-v$(UPOWER_VERSION).tar.bz2
UPOWER_SITE = https://gitlab.freedesktop.org/upower/upower/-/archive/v$(UPOWER_VERSION)
UPOWER_LICENSE = GPL-2.0+
UPOWER_LICENSE_FILES = COPYING
# libupower-glib.so
UPOWER_INSTALL_STAGING = YES
UPOWER_DEPENDENCIES = \
$(TARGET_NLS_DEPENDENCIES) \
host-pkgconf \
libgudev \
udev
UPOWER_CONF_OPTS = \
-Dgtk-doc=false \
-Dman=false \
-Dsystemdsystemunitdir=/usr/lib/systemd/system \
-Dudevhwdbdir=/lib/udev/hwdb.d \
-Dudevrulesdir=/lib/udev/rules.d
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
UPOWER_CONF_OPTS += -Dintrospection=enabled
UPOWER_DEPENDENCIES += gobject-introspection
else
UPOWER_CONF_OPTS += -Dintrospection=disabled
endif
$(eval $(meson-package))