Install this version:
emerge -a =net-wireless/btscreenlocker-1.8.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-wireless/btscreenlocker-1.8.1
Or alternatively:
emerge --autounmask-write -a =net-wireless/btscreenlocker-1.8.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.8.1 | 8 | ~amd64 | 0 |
# Copyright 2024-2025 Brayan M. Salazar <this.brayan@proton.me>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Daemon to lock your screen when Bluetooth trusted devices go away."
HOMEPAGE="https://github.com/brookiestein/BtScreenLocker"
SRC_URI="https://github.com/brookiestein/BtScreenLocker/archive/refs/tags/${PV}.tar.gz -> BtScreenLocker-${PV}.tar.gz"
S="${WORKDIR}/BtScreenLocker-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-qt/qtconnectivity:6[bluetooth]
dev-qt/qtbase:6[dbus,widgets]
>=net-wireless/bluez-5.76:=
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-build/cmake-3.28
dev-qt/qttools:6[linguist]
virtual/pkgconfig
"
src_prepare() {
cmake_src_prepare
# drop Qt5 support
sed -i '/Qt5/d' CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DQT_VERSION_MAJOR=6
)
cmake_src_configure
}
dev-qt/qtconnectivity:6[bluetooth] dev-qt/qtbase:6[dbus,widgets] >=net-wireless/bluez-5.76:=
dev-qt/qtconnectivity:6[bluetooth] dev-qt/qtbase:6[dbus,widgets] >=net-wireless/bluez-5.76:=
>=dev-build/cmake-3.28 dev-qt/qttools:6[linguist] virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | BtScreenLocker-1.8.1.tar.gz | 64229 bytes | https://github.com/brookiestein/BtScreenLocker/archive/refs/tags/1.8.1.tar.gz |