diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index cf1588925f81..e11631979841 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -1,253 +1,254 @@ COMMENT = X11 toolkits SUBDIR += SoXt SUBDIR += Xaw3d SUBDIR += Xmt SUBDIR += amtk SUBDIR += blt SUBDIR += bwidget SUBDIR += color-widgets-qt5 SUBDIR += copperspice SUBDIR += ctk SUBDIR += fltk SUBDIR += fox16 SUBDIR += fox17 SUBDIR += fxscintilla SUBDIR += gdl SUBDIR += girara SUBDIR += gnome-pty-helper SUBDIR += gnustep-back SUBDIR += gnustep-gui SUBDIR += granite SUBDIR += granite7 SUBDIR += gstreamer1-plugins-gtk SUBDIR += gstreamer1-plugins-pango SUBDIR += gtk-layer-shell SUBDIR += gtk-sharp-beans SUBDIR += gtk-sharp20 SUBDIR += gtk-sharp30 SUBDIR += gtk20 SUBDIR += gtk30 SUBDIR += gtk4-layer-shell SUBDIR += gtk40 SUBDIR += gtkd SUBDIR += gtkdatabox SUBDIR += gtkextra SUBDIR += gtkglarea2 SUBDIR += gtkglext SUBDIR += gtkglextmm SUBDIR += gtkimageview SUBDIR += gtkmm24 SUBDIR += gtkmm30 SUBDIR += gtksourceview2 SUBDIR += gtksourceview3 SUBDIR += gtksourceview4 SUBDIR += gtksourceview5 SUBDIR += gtksourceviewmm3 SUBDIR += guile-gnome-platform SUBDIR += imgui SUBDIR += irrlicht SUBDIR += itk SUBDIR += iwidgets SUBDIR += kddockwidgets SUBDIR += kf5-attica SUBDIR += kf5-kcompletion SUBDIR += kf5-kconfigwidgets SUBDIR += kf5-kdesignerplugin SUBDIR += kf5-kguiaddons SUBDIR += kf5-kirigami2 SUBDIR += kf5-kitemviews SUBDIR += kf5-kjobwidgets SUBDIR += kf5-ktextwidgets SUBDIR += kf5-kwidgetsaddons SUBDIR += kf5-kxmlgui SUBDIR += kf6-attica SUBDIR += kf6-kcompletion SUBDIR += kf6-kconfigwidgets SUBDIR += kf6-kguiaddons SUBDIR += kf6-kirigami SUBDIR += kf6-kitemviews SUBDIR += kf6-kjobwidgets SUBDIR += kf6-ktextwidgets SUBDIR += kf6-kwidgetsaddons SUBDIR += kf6-kxmlgui SUBDIR += kirigami-addons SUBDIR += kirigami-addons-devel SUBDIR += kproperty SUBDIR += lesstif SUBDIR += libXaw SUBDIR += libXmu SUBDIR += libXt SUBDIR += libadwaita SUBDIR += libdazzle SUBDIR += libdecor SUBDIR += libgdiplus SUBDIR += libhandy SUBDIR += libhandy0 SUBDIR += libshumate SUBDIR += libunique3 SUBDIR += libwnck SUBDIR += libwnck3 SUBDIR += libxaw3dxft SUBDIR += linux-c7-gtk2 SUBDIR += linux-c7-gtk3 SUBDIR += linux-c7-openmotif SUBDIR += linux-c7-pango SUBDIR += linux-c7-qt-x11 SUBDIR += linux-c7-tk85 SUBDIR += movingmotif SUBDIR += mowitz SUBDIR += mygui SUBDIR += mygui-dummy SUBDIR += mygui-ogre SUBDIR += mygui-opengl SUBDIR += nanogui SUBDIR += neXtaw SUBDIR += ntk SUBDIR += nuklear SUBDIR += ocaml-lablgtk2 SUBDIR += ocaml-lablgtk3 SUBDIR += ocaml-labltk SUBDIR += open-motif SUBDIR += open-motif-devel SUBDIR += osm-gps-map SUBDIR += otk SUBDIR += p5-Alien-wxWidgets SUBDIR += p5-Glade2 SUBDIR += p5-Gtk2 SUBDIR += p5-Gtk2-Chmod SUBDIR += p5-Gtk2-Ex-Dialogs SUBDIR += p5-Gtk2-Ex-FormFactory SUBDIR += p5-Gtk2-Ex-PodViewer SUBDIR += p5-Gtk2-Ex-Simple-List SUBDIR += p5-Gtk2-Ex-Utils SUBDIR += p5-Gtk2-ImageView SUBDIR += p5-Gtk2-PathButtonBar SUBDIR += p5-Gtk3 SUBDIR += p5-Gtk3-ImageView SUBDIR += p5-Gtk3-SimpleList SUBDIR += p5-Pango SUBDIR += p5-Prima SUBDIR += p5-Test-Tk SUBDIR += p5-Tk SUBDIR += p5-Tk-Action SUBDIR += p5-Tk-Autoscroll SUBDIR += p5-Tk-ColourChooser SUBDIR += p5-Tk-Contrib SUBDIR += p5-Tk-CursorControl SUBDIR += p5-Tk-DKW SUBDIR += p5-Tk-Date SUBDIR += p5-Tk-DynaTabFrame SUBDIR += p5-Tk-Enscript SUBDIR += p5-Tk-FileDialog SUBDIR += p5-Tk-FontDialog SUBDIR += p5-Tk-GBARR SUBDIR += p5-Tk-Getopt SUBDIR += p5-Tk-HistEntry SUBDIR += p5-Tk-JComboBox SUBDIR += p5-Tk-ResizeButton SUBDIR += p5-Tk-Role-Dialog SUBDIR += p5-Tk-Role-HasWidgets SUBDIR += p5-Tk-Splashscreen SUBDIR += p5-Tk-Sugar SUBDIR += p5-Tk-TableMatrix SUBDIR += p5-Tk-ToolBar SUBDIR += p5-Tk-WaitBox SUBDIR += pango SUBDIR += pangolin SUBDIR += pangomm SUBDIR += pangox-compat SUBDIR += plasma5-kdeplasma-addons SUBDIR += plasma6-kdeplasma-addons SUBDIR += plib SUBDIR += py-AnyQt SUBDIR += py-Pmw SUBDIR += py-awesometkinter SUBDIR += py-easygui SUBDIR += py-fltk SUBDIR += py-guietta SUBDIR += py-python-xlib SUBDIR += py-qt5-chart SUBDIR += py-qt6-chart SUBDIR += py-qt6-datavis3d SUBDIR += py-tkinter SUBDIR += py-tktreectrl SUBDIR += py-wxPython4 SUBDIR += pythonqt + SUBDIR += qhotkey SUBDIR += qml-box2d SUBDIR += qt5-charts SUBDIR += qt5-datavis3d SUBDIR += qt5-declarative SUBDIR += qt5-declarative-test SUBDIR += qt5-gamepad SUBDIR += qt5-gui SUBDIR += qt5-quick3d SUBDIR += qt5-quickcontrols SUBDIR += qt5-quickcontrols2 SUBDIR += qt5-quicktimeline SUBDIR += qt5-uiplugin SUBDIR += qt5-virtualkeyboard SUBDIR += qt5-widgets SUBDIR += qt5pas SUBDIR += qt6-charts SUBDIR += qt6-datavis3d SUBDIR += qt6-declarative SUBDIR += qt6-graphs SUBDIR += qt6-quick3d SUBDIR += qt6-quicktimeline SUBDIR += qt6-shadertools SUBDIR += qt6-virtualkeyboard SUBDIR += qt6pas SUBDIR += qtermwidget SUBDIR += qwt5-qt5 SUBDIR += qwt6 SUBDIR += redkite SUBDIR += rep-gtk2 SUBDIR += rubygem-gdk3 SUBDIR += rubygem-gdk4 SUBDIR += rubygem-gtk2 SUBDIR += rubygem-gtk3 SUBDIR += rubygem-gtk4 SUBDIR += rubygem-gtksourceview3 SUBDIR += rubygem-gtksourceview4 SUBDIR += rubygem-pango SUBDIR += rubygem-poppler SUBDIR += rubygem-tk SUBDIR += rubygem-uh SUBDIR += rubygem-vte3 SUBDIR += rubygem-vte4 SUBDIR += scintilla SUBDIR += sdl_pango SUBDIR += shared-desktop-ontologies SUBDIR += skinlf SUBDIR += soqt SUBDIR += swt SUBDIR += tepl6 SUBDIR += termit SUBDIR += tix SUBDIR += tk-wrapper SUBDIR += tk85 SUBDIR += tk86 SUBDIR += tk87 SUBDIR += tkdnd SUBDIR += tkshape SUBDIR += tktable SUBDIR += tktray SUBDIR += tktreectrl SUBDIR += unique SUBDIR += viewklass SUBDIR += vte SUBDIR += vte3 SUBDIR += wlroots SUBDIR += wlroots015 SUBDIR += wlroots016 SUBDIR += wmapp SUBDIR += wxgtk30 SUBDIR += wxgtk32 SUBDIR += xbae SUBDIR += xforms SUBDIR += xmhtml SUBDIR += xwallpaper SUBDIR += ztoolkit .include 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