1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

x11-toolkots/qhotkey: New port: Global shortcut/hotkey for Desktop Qt-Applications

This commit is contained in:
Yuri Victorovich 2024-01-19 03:53:46 -08:00
parent e168b3f170
commit d274475924
5 changed files with 59 additions and 0 deletions

View File

@ -174,6 +174,7 @@
SUBDIR += py-tktreectrl
SUBDIR += py-wxPython4
SUBDIR += pythonqt
SUBDIR += qhotkey
SUBDIR += qml-box2d
SUBDIR += qt5-charts
SUBDIR += qt5-datavis3d

View File

@ -0,0 +1,41 @@
PORTNAME= qhotkey
DISTVERSION= 1.5.0-7
DISTVERSIONSUFFIX= -gcd72a01
CATEGORIES= x11-toolkits
MAINTAINER= yuri@FreeBSD.org
COMMENT= Global shortcut/hotkey for Desktop Qt-Applications
WWW= https://github.com/Skycoder42/QHotkey
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
FLAVORS= qt5 qt6
FLAVOR?= ${FLAVORS:[1]}
qt5_PKGNAMESUFFIX= -qt5
qt6_PKGNAMESUFFIX= -qt6
USES= cmake gl xorg
USE_GL= gl opengl
USE_XORG= ice sm x11 xext
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Skycoder42
GH_PROJECT= QHotkey
CMAKE_ON= BUILD_SHARED_LIBS
.if ${FLAVOR} == qt5
USES+= qt:5
USE_QT= core gui x11extras qmake:build buildtools:build
CMAKE_ARGS= -DQT_DEFAULT_MAJOR_VERSION=5
.endif
.if ${FLAVOR} == qt6
USES+= qt:6
USE_QT= base
CMAKE_ARGS= -DQT_DEFAULT_MAJOR_VERSION=6
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1705662256
SHA256 (Skycoder42-QHotkey-1.5.0-7-gcd72a01_GH0.tar.gz) = 04d1632a8f8878f1bb19ca4aec1c9f0e0868b5cac9743682dcc7c767f45bf26c
SIZE (Skycoder42-QHotkey-1.5.0-7-gcd72a01_GH0.tar.gz) = 53445

View File

@ -0,0 +1,6 @@
QHotkey is a global shortcut/hotkey for Desktop Qt-Applications.
The QHotkey is a class that can be used to create hotkeys/global shortcuts,
aka shortcuts that work everywhere, independent of the application state.
This means your application can be active, inactive, minimized or not visible
at all and still receive the shortcuts.

View File

@ -0,0 +1,8 @@
include/QHotkey
include/qhotkey.h
lib/cmake/QHotkey/QHotkeyConfig-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/QHotkey/QHotkeyConfig.cmake
lib/cmake/QHotkey/QHotkeyConfigVersion.cmake
lib/libqhotkey.so
lib/libqhotkey.so.1
lib/libqhotkey.so.1.5.0