added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,44 @@
From 9b7e1beca872ca4a5fce8938c58379103787f79a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 23 Feb 2020 22:06:32 +0100
Subject: [PATCH] Do not check for /sys/class/power_supply - we are cross
compiling
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [OE-specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
configure.ac | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index c281af9..60ba0c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,19 +203,9 @@ dnl Check for interface for /sys/class/power_supply to be used
AC_ARG_ENABLE([sysfsacpi], [AS_HELP_STRING([--enable-sysfsacpi], [Use /sys/class/power_supply to read your battery value @<:@default=auto@:>@])],
[],
[
- enable_sysfsacpi=auto
+ enable_sysfsacpi=yes
])
-if test x"$enable_sysfsacpi" = x"auto"; then
- AC_CHECK_FILE([/sys/class/power_supply],
- [
- enable_sysfsacpi=yes
- ],
- [
- enable_sysfsacpi=no
- ])
-fi
-
if test x"$enable_sysfsacpi" = x"yes"; then
AC_DEFINE([HAVE_SYSFS_ACPI], [1], [Define to 1 if /sys/class/power_supply is found])
enable_procacpi=yes
--
2.21.0

View File

@@ -0,0 +1,26 @@
SUMMARY = "Sensors plugin for the Xfce Panel"
HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
inherit xfce-panel-plugin
SRC_URI += "file://0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch"
SRC_URI[sha256sum] = "6c1605a738e5df40e084d08ac93f962cd445093396de1e9bfadc7ab4588c36b6"
EXTRA_OECONF = " \
--disable-procacpi \
--disable-xnvctrl \
"
do_configure:prepend() {
sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac
}
PACKAGECONFIG ??= "libnotify"
PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors"
PACKAGECONFIG[hddtemp] = "--enable-hddtemp,--disable-hddtemp, hddtemp"
PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat"
PACKAGECONFIG[libnotify] = "--enable-notification,--disable-notification, libnotify"
FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}"