optimus-manager-qt
MEDIUM
maintainer nardholio
71 votes
scanned 2026-10-05 23:40:58.404909
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Shatur <genaloner@gmail.com>
2
3
# Use KDE API features (recommended for Plasma users)
4
_with_plasma=false
5
6
pkgname=optimus-manager-qt
7
pkgver=1.6.9
8
pkgrel=3
9
pkgdesc='A Qt interface for Optimus Manager that allows to configure and switch GPUs on Optimus laptops using the tray menu'
10
arch=(x86_64)
11
url=https://github.com/Shatur/optimus-manager-qt
12
license=(GPL3)
13
depends=(qt5-base qt5-svg qt5-x11extras optimus-manager)
14
makedepends=(qt5-tools extra-cmake-modules)
15
source=($pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/$pkgname-$pkgver-source.tar.gz)
16
sha256sums=(0786bdd6ac81943a8fa4432f8406028488eaaf81c33d9e754907bf40a492f901)
17
18
if [[ $_with_plasma == true ]]
19
then
20
depends+=(knotifications5 kiconthemes5)
21
fi
22
23
build() {
24
mkdir -p $pkgname-$pkgver/build
25
cd $pkgname-$pkgver/build
26
27
if [[ $_with_plasma == true ]]
28
then
29
cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" -D WITH_PLASMA=ON ..
30
else
31
cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" ..
32
fi
33
34
cmake --build .
35
}
36
37
package() {
38
cd $pkgname-$pkgver/build
39
40
cmake --install .
41
rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
42
}
43
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-05 23:40:58 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |