From nobody Fri Jan 19 11:54:30 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TGdMB3k0vz2twN0; Fri, 19 Jan 2024 11:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGdMB2jJWz4hRv; Fri, 19 Jan 2024 11:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705665270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JdsE9yUzZVSR5BQMEwTm4vLX5ABeOaT5RS91/gIW0y4=; b=utt+cnROzRBvG+pGeR7zQ6JWvHtZ7S1JdW11xpktufe12Exisaj2zKw48Pr8IrfByDefLM EmF3pwABRrOuN9EGp1tZAu9tyVInHbS0M618aBDU2o/ikIeSjjN7vMKMPHZXB9pfxWo9Wi 2Up4hntPiV6NNplctoCNald3uhz6r/4W+8h30xi8qvWbihLVs6PuevDDcBT1/MQrnZUg0x 7H96QcbxnYjc46N69nbnhgqT2j/fS5sB4rsP69go1BYt2m92hn2ehq2RfnW9x8BMeylHxJ +C2pzOtQPTX9eEGmwo21ZD9sOsxachcfDm3+tJAQdC6+oymG5Y2oYSnNKhSLzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705665270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JdsE9yUzZVSR5BQMEwTm4vLX5ABeOaT5RS91/gIW0y4=; b=PJqTY8G86nh9/fg/W+VQKhodobH27g6LLUlK0aLWdCZ9QP50GhDrVNhr2ySKqSJL4lu6rt fPpYi/UEnSfvO+iz6soBqQotRGM1LVS0w+B7GiLZkPXFQaJin2ncvzs8qQb2O8bpKnqwF7 QzuECWc5eJsHks/C/QOm8gNZK3WfncESaz5F0JRgg2CWEfVGFOj8LoPyJNjsZkKlkY+Mmv FogCLgRsXvz8Bvd9b7/8nMnyon7HTuA3bVKr9UR1W+Q5Xj5wJi24gg3ASjdiQJNONnqmTE cK/Nt8c+oY0TkOGlKw/wJEt2D4+HKxfS4LHQGwMNcEmt9NzukFIRXRtzCWqC8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705665270; a=rsa-sha256; cv=none; b=DA5mWMo/+/5GnXBM0V+J4eFFbMNnJsI1EK1iZxrOyYdkXBPnJHOFd56lXjpqcOxrJrpsQM lm9uDUIOdXn2h3l4TBIF2wcUbTqPPAYXoz/gS+DQyOMktqp+QjOUF4AaHx3C1U+GCH8cSW 6HPTMzneZRxw3DxL/BCwL2r/HfevGqAmYZ0CujTYodfFOGaVb72ONiMZV0qVEb+tGl5Tsx Nmf4Js4jyL6o3gnHISmvuLHNffzplHQW3/IvNWJacc9TV8nVV4W9mfxnSpYGZYMCEGNU73 1C8ksj9ftQwEv04srr5SJzzg3ETqmi+YJLVT/Hwu5P23BH7RFjcpiFWgBnqSvw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TGdMB1mDHzqmn; Fri, 19 Jan 2024 11:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40JBsULV053307; Fri, 19 Jan 2024 11:54:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40JBsUGv053303; Fri, 19 Jan 2024 11:54:30 GMT (envelope-from git) Date: Fri, 19 Jan 2024 11:54:30 GMT Message-Id: <202401191154.40JBsUGv053303@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d27447592473 - main - x11-toolkots/qhotkey: New port: Global shortcut/hotkey for Desktop Qt-Applications List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d27447592473ebfa241d15507355fef1ea1c8733 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d27447592473ebfa241d15507355fef1ea1c8733 commit d27447592473ebfa241d15507355fef1ea1c8733 Author: Yuri Victorovich AuthorDate: 2024-01-19 11:53:46 +0000 Commit: Yuri Victorovich CommitDate: 2024-01-19 11:54:26 +0000 x11-toolkots/qhotkey: New port: Global shortcut/hotkey for Desktop Qt-Applications --- x11-toolkits/Makefile | 1 + x11-toolkits/qhotkey/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ x11-toolkits/qhotkey/distinfo | 3 +++ x11-toolkits/qhotkey/pkg-descr | 6 ++++++ x11-toolkits/qhotkey/pkg-plist | 8 ++++++++ 5 files changed, 59 insertions(+) diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index cf1588925f81..e11631979841 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -174,6 +174,7 @@ SUBDIR += py-tktreectrl SUBDIR += py-wxPython4 SUBDIR += pythonqt + SUBDIR += qhotkey SUBDIR += qml-box2d SUBDIR += qt5-charts SUBDIR += qt5-datavis3d diff --git a/x11-toolkits/qhotkey/Makefile b/x11-toolkits/qhotkey/Makefile new file mode 100644 index 000000000000..00a7c523df1c --- /dev/null +++ b/x11-toolkits/qhotkey/Makefile @@ -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 diff --git a/x11-toolkits/qhotkey/distinfo b/x11-toolkits/qhotkey/distinfo new file mode 100644 index 000000000000..b39a0155a66b --- /dev/null +++ b/x11-toolkits/qhotkey/distinfo @@ -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 diff --git a/x11-toolkits/qhotkey/pkg-descr b/x11-toolkits/qhotkey/pkg-descr new file mode 100644 index 000000000000..e1def88dd0fa --- /dev/null +++ b/x11-toolkits/qhotkey/pkg-descr @@ -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. diff --git a/x11-toolkits/qhotkey/pkg-plist b/x11-toolkits/qhotkey/pkg-plist new file mode 100644 index 000000000000..23213e21d875 --- /dev/null +++ b/x11-toolkits/qhotkey/pkg-plist @@ -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