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
|
# 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)
|
%define plasmaver %(echo %version | cut -d. -f1-3)
|
||||||
|
|
||||||
Name: powerdevil
|
Name: powerdevil
|
||||||
Version: 5.27.10
|
Version: 6.0.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: KDE Plasma 5 power management
|
Summary: KDE Plasma power management
|
||||||
Group: Graphical Desktop/Applications/Configuration
|
Group: Graphical Desktop/Applications/Configuration
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://kde.org/
|
URL: https://kde.org/it/plasma-desktop/
|
||||||
Source: https://download.kde.org/stable/plasma/%{plasmaver}/powerdevil-%{version}.tar.xz
|
Source: https://download.kde.org/%{stable_kf6}/plasma/%{plasmaver}/powerdevil-%{version}.tar.xz
|
||||||
Patch0: powerdevil-5.27.10-ddcutil-2.1.0.patch
|
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libQt5X11Extras-devel
|
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libbluez-qt-devel
|
|
||||||
BuildRequires: libddcutil-devel
|
BuildRequires: libddcutil-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglvnd-devel
|
||||||
BuildRequires: libkactivities-devel
|
BuildRequires: libkf6-kauth-devel
|
||||||
BuildRequires: libkauth-devel
|
BuildRequires: libkf6-kcmutils-devel
|
||||||
BuildRequires: libkcodecs-devel
|
BuildRequires: libkf6-kcolorscheme-devel
|
||||||
BuildRequires: libkcompletion-devel
|
BuildRequires: libkf6-kcompletion-devel
|
||||||
BuildRequires: libkconfig-devel
|
BuildRequires: libkf6-kconfig-devel
|
||||||
BuildRequires: libkconfigwidgets-devel
|
BuildRequires: libkf6-kconfigwidgets-devel
|
||||||
BuildRequires: libkcoreaddons-devel
|
BuildRequires: libkf6-kcoreaddons-devel
|
||||||
BuildRequires: libkcrash-devel
|
BuildRequires: libkf6-kcrash-devel
|
||||||
BuildRequires: libkdbusaddons-devel
|
BuildRequires: libkf6-kdbusaddons-devel
|
||||||
BuildRequires: libkglobalaccel-devel
|
BuildRequires: libkf6-kglobalaccel-devel
|
||||||
BuildRequires: libki18n-devel
|
BuildRequires: libkf6-ki18n-devel
|
||||||
BuildRequires: libkidletime-devel
|
BuildRequires: libkf6-kidletime-devel
|
||||||
BuildRequires: libkio-devel
|
BuildRequires: libkf6-kio-devel
|
||||||
BuildRequires: libkirigami2-devel
|
BuildRequires: libkf6-kirigami-devel
|
||||||
BuildRequires: libkjobwidgets-devel
|
BuildRequires: libkf6-kitemmodels-devel
|
||||||
BuildRequires: libknotifications-devel
|
BuildRequires: libkf6-kjobwidgets-devel
|
||||||
BuildRequires: libknotifyconfig-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: libkscreen-devel
|
||||||
BuildRequires: libkservice-devel
|
BuildRequires: liblayer-shell-qt-devel
|
||||||
BuildRequires: libkwidgetsaddons-devel
|
BuildRequires: libplasma-activities-devel
|
||||||
BuildRequires: libkwindowsystem-devel
|
|
||||||
BuildRequires: libkxmlgui-devel
|
|
||||||
BuildRequires: libnetworkmanager-qt5-devel
|
|
||||||
BuildRequires: libnm-devel
|
|
||||||
BuildRequires: libplasma-workspace-devel
|
BuildRequires: libplasma-workspace-devel
|
||||||
BuildRequires: libsolid-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtdeclarative-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libddcutil-devel >= 2.0.0-1mamba
|
BuildRequires: libddcutil-devel >= 2.0.0-1mamba
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: rpm-macros-kde5
|
BuildRequires: kf6-rpm-macros
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
KDE Plasma 5 power management.
|
KDE Plasma power management.
|
||||||
|
|
||||||
%package -n lib%{name}
|
%package -n lib%{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -72,35 +71,35 @@ This package contains shared libraries for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#-D -T
|
#-D -T
|
||||||
%patch 0 -p1
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
%cmake_kde5 -d build \
|
%cmake_kf6 \
|
||||||
-DHAVE_DDCUTIL=On
|
-DHAVE_DDCUTIL=ON
|
||||||
|
|
||||||
%make
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}5_qt.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/xdg/autostart/powerdevil.desktop
|
%{_sysconfdir}/xdg/autostart/powerdevil.desktop
|
||||||
%{_datadir}/applications/kcm_powerdevil*.desktop
|
%{_datadir}/applications/kcm_powerdevil*.desktop
|
||||||
%{_userunitdir}/plasma-powerdevil.service
|
%{_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-services/org.kde.powerdevil.*.service
|
||||||
%{_datadir}/dbus-1/system.d/org.kde.powerdevil.*.conf
|
%{_datadir}/dbus-1/system.d/org.kde.powerdevil.*.conf
|
||||||
%{_datadir}/knotifications5/powerdevil.notifyrc
|
|
||||||
%{_datadir}/polkit-1/actions/org.kde.powerdevil.*.policy
|
%{_datadir}/polkit-1/actions/org.kde.powerdevil.*.policy
|
||||||
%{_datadir}/qlogging-categories5/powerdevil.categories
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
@ -109,18 +108,28 @@ This package contains shared libraries for %{name}.
|
|||||||
%{_libdir}/libpowerdevilconfigcommonprivate.so.*
|
%{_libdir}/libpowerdevilconfigcommonprivate.so.*
|
||||||
%{_libdir}/libpowerdevilcore.so
|
%{_libdir}/libpowerdevilcore.so
|
||||||
%{_libdir}/libpowerdevilcore.so.*
|
%{_libdir}/libpowerdevilcore.so.*
|
||||||
%{_libdir}/libpowerdevilui.so
|
%{_kf6_plugindir}/powerdevil/powerdevilupowerbackend.so
|
||||||
%{_libdir}/libpowerdevilui.so.*
|
%{_qt6_plugindir}/plasma/kcms/systemsettings/kcm_powerdevilprofilesconfig.so
|
||||||
%{_libdir}/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
|
%{_qt6_plugindir}/powerdevil/action/powerdevil_*.so
|
||||||
%{_libdir}/qt5/plugins/plasma/kcms/systemsettings_qwidgets/kcm_powerdevil*.so
|
%{_libexecdir}/kf6/kauth/backlighthelper
|
||||||
%dir %{_libdir}/qt5/plugins/powerdevil
|
%{_libexecdir}/kf6/kauth/chargethresholdhelper
|
||||||
%dir %{_libdir}/qt5/plugins/powerdevil/action
|
%{_libexecdir}/kf6/kauth/discretegpuhelper
|
||||||
%{_libdir}/qt5/plugins/powerdevil/action/powerdevil_*.so
|
%{_libexecdir}/power_profile_osd_service
|
||||||
%{_libdir}/qt5/plugins/powerdevil*.so
|
|
||||||
%{_libexecdir}/kf5/kauth/*
|
|
||||||
%{_libexecdir}/org_kde_powerdevil
|
%{_libexecdir}/org_kde_powerdevil
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.10-2mamba
|
||||||
- patched to fix crash seend with ddcutil 2.1.0
|
- patched to fix crash seend with ddcutil 2.1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user