Install this version:
emerge -a =sys-auth/quickshell-polkit-agent-1.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-auth/quickshell-polkit-agent-1.0.0
Or alternatively:
emerge --autounmask-write -a =sys-auth/quickshell-polkit-agent-1.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0.0 | 8 | ~amd64 | 0 |
# Copyright 2025 Benny Powers
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Polkit authentication agent with quickshell integration"
HOMEPAGE="https://github.com/bennypowers/quickshell-polkit-agent"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/bennypowers/quickshell-polkit-agent/"
KEYWORDS=""
else
SRC_URI="https://github.com/bennypowers/quickshell-polkit-agent/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${PV}"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
RESTRICT="mirror"
DEPEND="
dev-qt/qtcore:6
dev-qt/qtnetwork:6
sys-auth/polkit-qt[qt6]
"
RDEPEND="${DEPEND}
net-misc/socat
"
BDEPEND="
dev-util/cmake
dev-qt/qttools:6[linguist]
"
src_prepare() {
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
)
cmake_src_configure
}
src_install() {
cmake_src_install
# Install quickshell component
insinto /usr/share/quickshell/components
doins "${S}/quickshell/PolkitAgent.qml"
# Install examples
dodoc -r examples/
}
dev-qt/qtcore:6 dev-qt/qtnetwork:6 sys-auth/polkit-qt[qt6]
dev-qt/qtcore:6 dev-qt/qtnetwork:6 sys-auth/polkit-qt[qt6] net-misc/socat
dev-util/cmake dev-qt/qttools:6[linguist]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | quickshell-polkit-agent-1.0.0.tar.gz | 40639 bytes | https://github.com/bennypowers/quickshell-polkit-agent/archive/refs/tags/v1.0.0.tar.gz |