-
Notifications
You must be signed in to change notification settings - Fork 1
/
bbswitch-gui.spec
115 lines (84 loc) · 3.52 KB
/
bbswitch-gui.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Name: bbswitch-gui
Version: 0.1.13
Release: 1%{?dist}
Summary: GUI for monitoring and toggling NVIDIA GPU power on Optimus laptops
License: GPLv3+
URL: https://github.com/polter-rnd/bbswitch-gui
Source0: https://github.com/polter-rnd/bbswitch-gui/archive/%{version}/bbswitch-gui-%{version}.tar.gz
BuildArch: noarch
BuildRequires: meson
BuildRequires: python3-devel
BuildRequires: python3-gobject
BuildRequires: python3-py3nvml
Requires: bbswitchd
Requires: gtk3
Requires: libappindicator-gtk3
Requires: python3-gobject
Requires: python3-py3nvml
Requires: psmisc
Requires: hwdata
%description
Provides a user-friendly interface for managing power state
and monitoring utilization of dedicated graphics adapter.
Useful for pre-Turing GPU generations without dynamic power management features,
allows to fully benefit from NVIDIA PRIME Render Offload technology
without need to keep graphics adapter turned on all the time.
%prep
%autosetup -p1 -n bbswitch-gui-%{version}
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%{_bindir}/bbswitch-gui
%{python3_sitelib}/bbswitch_gui/*
%{_datadir}/applications/io.github.polter-rnd.bbswitch-gui.desktop
%{_datadir}/icons/hicolor/scalable/status/*-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/bbswitch-gui.svg
%changelog
* Mon May 1 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.13-1
- Fix sometimes inconsistent tray menu
- Minor enhancements
* Sun Apr 23 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.12-1
- More precise error handling
- Better optimized UI rendering
* Thu Apr 20 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.11-1
- Withdraw error notification on successful state switch
* Sun Apr 2 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.10-1
- Always request GPU info before trying to turn off
* Sat Apr 1 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.9-1
- Make tray icons compatible with KDE color schemes
- Fix typo in appindicator tooltip
- Withdaw all notifications on quit
- Minor fixes and enhancements
* Fri Mar 31 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.8-1
- Set default icon for tray indicator
- Add scrollbars to processes table
* Sun Mar 19 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.7-1
- Fix process monitor for Debian-based distros
- Minor fixes and enhancements
* Sat Mar 18 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.6-1
- Add support for AppIndicator
- Minimize application to tray instead of closing
- Bring back subtitle with vendor name
- Minor code enhancements
* Sat Mar 18 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.5-1
- Hotfix: added missing icon
* Sat Mar 18 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.4-1
- Update UI, refine icons
- Fix detecting module load error
* Tue Mar 14 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.3-1
- Minor fixes, stability enhancements
* Sun Mar 12 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.2-2
- Remove unused %python_enable_dependency_generator macro
* Sat Mar 11 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.2-1
- Add warning about incompatibility with nouveau driver
- Fix false positive "Loading kernel modules" message
* Thu Jan 26 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.1-1
- Increase default window size
- Fix compatibility with legacy pynvml attributes
- Toggle GPU on button release instead of press
* Wed Jan 18 2023 Pavel Artsishevsky <polter.rnd@gmail.com> - 0.1.0-1
- Initial release