automatic version update by autodist [release 6.0.2-1mamba;Thu Mar 14 2024]
This commit is contained in:
parent
032e1ec20e
commit
a596708d49
@ -1,4 +1,4 @@
|
||||
# powerdevil
|
||||
|
||||
KDE Plasma 5 power management.
|
||||
KDE Plasma power management.
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Nru powerdevil-5.27.10.orig/daemon/backends/upower/ddcutilbrightness.cpp powerdevil-5.27.10/daemon/backends/upower/ddcutilbrightness.cpp
|
||||
--- powerdevil-5.27.10.orig/daemon/backends/upower/ddcutilbrightness.cpp 2023-12-05 20:23:32.000000000 +0100
|
||||
+++ powerdevil-5.27.10/daemon/backends/upower/ddcutilbrightness.cpp 2024-01-25 21:54:50.855340922 +0100
|
||||
@@ -49,7 +49,7 @@
|
||||
qCDebug(POWERDEVIL) << "Check for monitors using ddca_get_displays()...";
|
||||
// Inquire about detected monitors.
|
||||
DDCA_Display_Info_List * dlist = nullptr;
|
||||
- ddca_get_display_info_list2(true, &dlist);
|
||||
+ ddca_get_display_info_list2(false, &dlist);
|
||||
qCInfo(POWERDEVIL) << "[DDCutilBrightness] " << dlist->ct << "display(s) were detected";
|
||||
|
||||
for (const DDCA_Display_Handle displayHandle : std::as_const(m_displayHandleList)) {
|
119
powerdevil.spec
119
powerdevil.spec
@ -1,64 +1,63 @@
|
||||
%define plasmaver %(echo %version | cut -d. -f1-3)
|
||||
|
||||
Name: powerdevil
|
||||
Version: 5.27.10
|
||||
Release: 2mamba
|
||||
Summary: KDE Plasma 5 power management
|
||||
Version: 6.0.2
|
||||
Release: 1mamba
|
||||
Summary: KDE Plasma power management
|
||||
Group: Graphical Desktop/Applications/Configuration
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://kde.org/
|
||||
Source: https://download.kde.org/stable/plasma/%{plasmaver}/powerdevil-%{version}.tar.xz
|
||||
Patch0: powerdevil-5.27.10-ddcutil-2.1.0.patch
|
||||
URL: https://kde.org/it/plasma-desktop/
|
||||
Source: https://download.kde.org/%{stable_kf6}/plasma/%{plasmaver}/powerdevil-%{version}.tar.xz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libQt5X11Extras-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libbluez-qt-devel
|
||||
BuildRequires: libddcutil-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libkactivities-devel
|
||||
BuildRequires: libkauth-devel
|
||||
BuildRequires: libkcodecs-devel
|
||||
BuildRequires: libkcompletion-devel
|
||||
BuildRequires: libkconfig-devel
|
||||
BuildRequires: libkconfigwidgets-devel
|
||||
BuildRequires: libkcoreaddons-devel
|
||||
BuildRequires: libkcrash-devel
|
||||
BuildRequires: libkdbusaddons-devel
|
||||
BuildRequires: libkglobalaccel-devel
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libkidletime-devel
|
||||
BuildRequires: libkio-devel
|
||||
BuildRequires: libkirigami2-devel
|
||||
BuildRequires: libkjobwidgets-devel
|
||||
BuildRequires: libknotifications-devel
|
||||
BuildRequires: libknotifyconfig-devel
|
||||
BuildRequires: libglvnd-devel
|
||||
BuildRequires: libkf6-kauth-devel
|
||||
BuildRequires: libkf6-kcmutils-devel
|
||||
BuildRequires: libkf6-kcolorscheme-devel
|
||||
BuildRequires: libkf6-kcompletion-devel
|
||||
BuildRequires: libkf6-kconfig-devel
|
||||
BuildRequires: libkf6-kconfigwidgets-devel
|
||||
BuildRequires: libkf6-kcoreaddons-devel
|
||||
BuildRequires: libkf6-kcrash-devel
|
||||
BuildRequires: libkf6-kdbusaddons-devel
|
||||
BuildRequires: libkf6-kglobalaccel-devel
|
||||
BuildRequires: libkf6-ki18n-devel
|
||||
BuildRequires: libkf6-kidletime-devel
|
||||
BuildRequires: libkf6-kio-devel
|
||||
BuildRequires: libkf6-kirigami-devel
|
||||
BuildRequires: libkf6-kitemmodels-devel
|
||||
BuildRequires: libkf6-kjobwidgets-devel
|
||||
BuildRequires: libkf6-knotifications-devel
|
||||
BuildRequires: libkf6-kservice-devel
|
||||
BuildRequires: libkf6-kwidgetsaddons-devel
|
||||
BuildRequires: libkf6-kwindowsystem-devel
|
||||
BuildRequires: libkf6-kxmlgui-devel
|
||||
BuildRequires: libkf6-solid-devel
|
||||
BuildRequires: libkscreen-devel
|
||||
BuildRequires: libkservice-devel
|
||||
BuildRequires: libkwidgetsaddons-devel
|
||||
BuildRequires: libkwindowsystem-devel
|
||||
BuildRequires: libkxmlgui-devel
|
||||
BuildRequires: libnetworkmanager-qt5-devel
|
||||
BuildRequires: libnm-devel
|
||||
BuildRequires: liblayer-shell-qt-devel
|
||||
BuildRequires: libplasma-activities-devel
|
||||
BuildRequires: libplasma-workspace-devel
|
||||
BuildRequires: libsolid-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
BuildRequires: qt6-qtdeclarative-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libddcutil-devel >= 2.0.0-1mamba
|
||||
BuildRequires: cmake
|
||||
BuildRequires: rpm-macros-kde5
|
||||
BuildRequires: kf6-rpm-macros
|
||||
BuildRequires: extra-cmake-modules
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
KDE Plasma 5 power management.
|
||||
KDE Plasma power management.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
@ -72,35 +71,35 @@ This package contains shared libraries for %{name}.
|
||||
%prep
|
||||
%setup -q
|
||||
#-D -T
|
||||
%patch 0 -p1
|
||||
|
||||
|
||||
%build
|
||||
#:<< _EOF
|
||||
%cmake_kde5 -d build \
|
||||
-DHAVE_DDCUTIL=On
|
||||
%cmake_kf6 \
|
||||
-DHAVE_DDCUTIL=ON
|
||||
|
||||
%make
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
%cmake_install
|
||||
|
||||
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang
|
||||
%find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}5_qt.lang
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/xdg/autostart/powerdevil.desktop
|
||||
%{_datadir}/applications/kcm_powerdevil*.desktop
|
||||
%{_userunitdir}/plasma-powerdevil.service
|
||||
%{_userunitdir}/plasma-powerprofile-osd.service
|
||||
%{_datadir}/dbus-1/services/org.kde.powerdevil.powerProfileOsdService.service
|
||||
%{_datadir}/knotifications6/powerdevil.notifyrc
|
||||
%{_datadir}/qlogging-categories6/powerdevil.categories
|
||||
%{_datadir}/dbus-1/system-services/org.kde.powerdevil.*.service
|
||||
%{_datadir}/dbus-1/system.d/org.kde.powerdevil.*.conf
|
||||
%{_datadir}/knotifications5/powerdevil.notifyrc
|
||||
%{_datadir}/polkit-1/actions/org.kde.powerdevil.*.policy
|
||||
%{_datadir}/qlogging-categories5/powerdevil.categories
|
||||
%doc COPYING
|
||||
|
||||
%files -n lib%{name}
|
||||
@ -109,18 +108,28 @@ This package contains shared libraries for %{name}.
|
||||
%{_libdir}/libpowerdevilconfigcommonprivate.so.*
|
||||
%{_libdir}/libpowerdevilcore.so
|
||||
%{_libdir}/libpowerdevilcore.so.*
|
||||
%{_libdir}/libpowerdevilui.so
|
||||
%{_libdir}/libpowerdevilui.so.*
|
||||
%{_libdir}/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
|
||||
%{_libdir}/qt5/plugins/plasma/kcms/systemsettings_qwidgets/kcm_powerdevil*.so
|
||||
%dir %{_libdir}/qt5/plugins/powerdevil
|
||||
%dir %{_libdir}/qt5/plugins/powerdevil/action
|
||||
%{_libdir}/qt5/plugins/powerdevil/action/powerdevil_*.so
|
||||
%{_libdir}/qt5/plugins/powerdevil*.so
|
||||
%{_libexecdir}/kf5/kauth/*
|
||||
%{_kf6_plugindir}/powerdevil/powerdevilupowerbackend.so
|
||||
%{_qt6_plugindir}/plasma/kcms/systemsettings/kcm_powerdevilprofilesconfig.so
|
||||
%{_qt6_plugindir}/powerdevil/action/powerdevil_*.so
|
||||
%{_libexecdir}/kf6/kauth/backlighthelper
|
||||
%{_libexecdir}/kf6/kauth/chargethresholdhelper
|
||||
%{_libexecdir}/kf6/kauth/discretegpuhelper
|
||||
%{_libexecdir}/power_profile_osd_service
|
||||
%{_libexecdir}/org_kde_powerdevil
|
||||
|
||||
%changelog
|
||||
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 6.0.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Mar 08 2024 Automatic Build System <autodist@openmamba.org> 6.0.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Mar 04 2024 Automatic Build System <autodist@openmamba.org> 6.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 5.93.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jan 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.10-2mamba
|
||||
- patched to fix crash seend with ddcutil 2.1.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user