-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
packages: | ||
- name: upower | ||
metadata: | ||
summary: D-Bus abstraction for enumerating power devices, querying history and statistics. | ||
description: 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. | ||
spdx: 'GPL-2.0-or-later' | ||
website: 'https://upower.freedesktop.org/' | ||
maintainer: "no92 <[email protected]>" | ||
categories: ['sys-power'] | ||
source: | ||
subdir: 'ports' | ||
git: 'https://gitlab.freedesktop.org/upower/upower.git' | ||
tag: 'v1.90.6' | ||
version: '1.90.6' | ||
tools_required: | ||
- system-gcc | ||
- host-glib | ||
- virtual: pkgconfig-for-target | ||
triple: "@OPTION:arch-triple@" | ||
pkgs_required: | ||
- mlibc | ||
- libgudev | ||
- glib | ||
revision: 1 | ||
configure: | ||
- args: | ||
- 'meson' | ||
- 'setup' | ||
- '--cross-file' | ||
- '@SOURCE_ROOT@/scripts/meson-@OPTION:[email protected]' | ||
- '--prefix=/usr' | ||
- '--buildtype=debugoptimized' | ||
- '--wrap-mode=nofallback' | ||
- '-Dsystemdsystemunitdir=no' | ||
- '-Dos_backend=linux' | ||
- '-Dintrospection=disabled' | ||
- '-Didevice=disabled' | ||
- '-Dpolkit=disabled' | ||
- '-Dgtk-doc=false' | ||
- '-Dman=false' | ||
- '-Dudevrulesdir=etc/udev' | ||
- '-Dudevhwdbdir=etc/udev' | ||
- '@THIS_SOURCE_DIR@' | ||
build: | ||
- args: ['ninja'] | ||
- args: ['ninja', 'install'] | ||
environ: | ||
DESTDIR: '@THIS_COLLECT_DIR@' | ||
quiet: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
patches/upower/0001-Require-gudev-1.0-version-237-or-managarm-compatabil.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 52481b43e51d9213aaed2dfd66219e8ce740731a Mon Sep 17 00:00:00 2001 | ||
From: no92 <[email protected]> | ||
Date: Fri, 27 Sep 2024 15:08:20 +0200 | ||
Subject: [PATCH] Require gudev-1.0 version >= 237 or managarm compatability | ||
|
||
--- | ||
meson.build | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index aff36e4..ee758e6 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -79,7 +79,7 @@ gobject_introspection = dependency('gobject-introspection-1.0', required: get_op | ||
|
||
|
||
if os_backend == 'linux' | ||
- gudev_dep = dependency('gudev-1.0', version: '>= 238') | ||
+ gudev_dep = dependency('gudev-1.0', version: '>= 237') | ||
idevice_dep = dependency('libimobiledevice-1.0', | ||
version : '>= 0.9.7', | ||
required : get_option('idevice')) | ||
-- | ||
2.46.1 | ||
|