mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-wireless/btscreenlocker: migrate to Qt6
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
40
net-wireless/btscreenlocker/btscreenlocker-1.8.1-r1.ebuild
Normal file
40
net-wireless/btscreenlocker/btscreenlocker-1.8.1-r1.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 2024 Brayan M. Salazar <this.brayan@proton.me>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
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/linguist-tools:5
|
||||
dev-qt/qtbluetooth:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtwidgets:5
|
||||
>=net-wireless/bluez-5.76
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5"
|
||||
BDEPEND="
|
||||
>=dev-build/cmake-3.28
|
||||
virtual/pkgconfig
|
||||
"
|
||||
Reference in New Issue
Block a user