aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrayan M. Salazar <this.brayan@proton.me>2024-07-15 10:40:25 -0400
committerBrayan M. Salazar <this.brayan@proton.me>2024-07-15 10:40:25 -0400
commit19a368a741456979efabe0267e06f5bd2402e316 (patch)
treecddf7db925d48ea15111b3945dd196201a307857 /net-wireless/btscreenlocker
parentdev-ml/ocaml-syntax-shims: new package, add 1.0.0 (diff)
downloadguru-19a368a741456979efabe0267e06f5bd2402e316.tar.gz
guru-19a368a741456979efabe0267e06f5bd2402e316.tar.bz2
guru-19a368a741456979efabe0267e06f5bd2402e316.zip
net-wireless/btscreenlocker: new package, add 1.6.1
Signed-off-by: Brayan M. Salazar <this.brayan@proton.me>
Diffstat (limited to 'net-wireless/btscreenlocker')
-rw-r--r--net-wireless/btscreenlocker/Manifest1
-rw-r--r--net-wireless/btscreenlocker/btscreenlocker-1.6.1.ebuild40
-rw-r--r--net-wireless/btscreenlocker/metadata.xml12
3 files changed, 53 insertions, 0 deletions
diff --git a/net-wireless/btscreenlocker/Manifest b/net-wireless/btscreenlocker/Manifest
new file mode 100644
index 000000000..77906dad8
--- /dev/null
+++ b/net-wireless/btscreenlocker/Manifest
@@ -0,0 +1 @@
+DIST BtScreenLocker-1.6.1.tar.gz 60968 BLAKE2B cfacc6314a2a2c52971067f5a4fdc14ff14893be3f753a13b9d016b3bac2634d6f32c84528f91258fa5620f0397c154fbe106463e9713a1695ab5a694ce63572 SHA512 a0f2ea836800688c96fb6ae5d2cd691f2435ea193805bf27e24a017a05dc0ec80812785812131834eeddf9d89d39fc46f171affb9c3ee483b0a6d347c47343d2
diff --git a/net-wireless/btscreenlocker/btscreenlocker-1.6.1.ebuild b/net-wireless/btscreenlocker/btscreenlocker-1.6.1.ebuild
new file mode 100644
index 000000000..04b6751a9
--- /dev/null
+++ b/net-wireless/btscreenlocker/btscreenlocker-1.6.1.ebuild
@@ -0,0 +1,40 @@
+# 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/qtbluetooth:5
+dev-qt/qtdbus:5
+dev-qt/qtwidgets:5
+dev-qt/linguist-tools:5
+>=net-wireless/bluez-5.76
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+sys-apps/coreutils
+>=dev-build/cmake-3.28
+"
+
+src_configure() {
+ cmake_src_configure || die "Couldn't configure ${PN}."
+}
+
+src_compile() {
+ cmake_build || die "Couldn't compile ${PN}."
+}
+
+src_install() {
+ cmake_src_install || die "Couldn't install ${PN}."
+}
diff --git a/net-wireless/btscreenlocker/metadata.xml b/net-wireless/btscreenlocker/metadata.xml
new file mode 100644
index 000000000..46b74feea
--- /dev/null
+++ b/net-wireless/btscreenlocker/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>this.brayan@proton.me</email>
+ <name>Brayan M. Salazar</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">brookiestein/BtScreenLocker</remote-id>
+ <bugs-to>https://github.com/brookiestein/BtScreenLocker/issues</bugs-to>
+ </upstream>
+</pkgmetadata>