From d108f6d8af862f9db2928c51d583eb69ed447898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 9 Oct 2024 22:44:18 +0200 Subject: [PATCH] upgpkg: tuned 2.24.0-2 * Add wireless_tools as optional dependency * Make tuned-ppd provide power-profiles-daemon --- .SRCINFO | 4 +++- PKGBUILD | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 67444b9..c946156 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.24.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned arch = any license = GPL-2.0-or-later @@ -25,6 +25,7 @@ pkgname = tuned optdepends = virt-what: virtual machine detection optdepends = systemtap: detailed system monitoring optdepends = tuned-ppd: power-profiles-daemon api translation + optdepends = wireless_tools: wireless device power management backup = etc/tuned/active_profile backup = etc/tuned/bootcmdline backup = etc/tuned/cpu-partitioning-powersave-variables.conf @@ -39,6 +40,7 @@ pkgname = tuned pkgname = tuned-ppd pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) depends = tuned + provides = power-profiles-daemon conflicts = power-profiles-daemon options = !emptydirs backup = etc/tuned/ppd.conf diff --git a/PKGBUILD b/PKGBUILD index cd7f9f6..0b74b94 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.24.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" @@ -28,7 +28,8 @@ prepare() { package_tuned() { optdepends=('virt-what: virtual machine detection' 'systemtap: detailed system monitoring' - 'tuned-ppd: power-profiles-daemon api translation') + 'tuned-ppd: power-profiles-daemon api translation' + 'wireless_tools: wireless device power management') backup=('etc/tuned/active_profile' 'etc/tuned/bootcmdline' 'etc/tuned/cpu-partitioning-powersave-variables.conf' @@ -53,6 +54,7 @@ package_tuned() { package_tuned-ppd() { pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)' depends=('tuned') + provides=('power-profiles-daemon') conflicts=('power-profiles-daemon') backup=('etc/tuned/ppd.conf') options=('!emptydirs')