summaryrefslogtreecommitdiffstats
path: root/packages/x11-apps
diff options
context:
space:
mode:
Diffstat (limited to 'packages/x11-apps')
-rw-r--r--packages/x11-apps/flameshot/flameshot-14.0.0.exheres-065
-rw-r--r--packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch22
-rw-r--r--packages/x11-apps/qt6ct/qt6ct-0.9.exheres-040
-rw-r--r--packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-045
4 files changed, 172 insertions, 0 deletions
diff --git a/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0 b/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0
new file mode 100644
index 0000000..480ffff
--- /dev/null
+++ b/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0
@@ -0,0 +1,65 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require cmake
+
+SUMMARY="Powerful yet simple to use screenshot software"
+HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
+
+DOWNLOADS="
+ https://github.com/flameshot-org/flameshot/archive/refs/tags/v${PV}.tar.gz
+ -> ${PNV}.tar.gz
+"
+
+LICENCES="
+ Apache-2.0
+ FAL-1.3
+ GPL-3+
+"
+SLOT="0"
+PLATFORMS="~amd64"
+
+MYOPTIONS="
+ imgur [[
+ description = [ Enable Imgur uploader ]
+ ]]
+
+ wayland [[
+ description = [ Enable Wayland clipboard support ]
+ ]]
+"
+
+DEPENDENCIES="
+ build:
+ x11-libs/qttools:6[linguist]
+
+ build+run:
+ dev-libs/kdsingleapplication
+ gui-libs/qt-color-widgets
+ sys-apps/dbus
+ x11-libs/qtbase:6[gui]
+ x11-libs/qtsvg:6
+
+ wayland? (
+ kde-frameworks/kguiaddons:6[wayland]
+ )
+"
+
+src_configure() {
+ CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
+ -DDISABLE_UPDATE_CHECKER=ON
+ -DENABLE_CACHE=0
+ -DENABLE_IMGUR="$(option imgur ON OFF)"
+ -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
+ -DUSE_BUNDLED_KDSINGLEAPPLICATION=OFF
+ -DUSE_KDSINGLEAPPLICATION=ON
+ -DUSE_WAYLAND_CLIPBOARD="$(option wayland ON OFF)"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+}
diff --git a/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch b/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch
new file mode 100644
index 0000000..69e52d0
--- /dev/null
+++ b/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch
@@ -0,0 +1,22 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -24,7 +24,7 @@
+
+ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DUSE_WIDGETS)
+
+-find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Widgets OPTIONAL_COMPONENTS LinguistTools)
++find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Widgets GuiPrivate WidgetsPrivate OPTIONAL_COMPONENTS LinguistTools)
+
+ get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
+
+--- a/src/qt6ct-qtplugin/qt6ctplatformtheme.h
++++ b/src/qt6ct-qtplugin/qt6ctplatformtheme.h
+@@ -30,7 +30,7 @@
+ #define QT6CTPLATFORMTHEME_H
+
+ #include <qpa/qplatformtheme.h>
+-#include <private/qgenericunixthemes_p.h>
++#include <private/qgenericunixtheme_p.h>
+ #include <QObject>
+ #include <QFont>
+ #include <QPalette>
diff --git a/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0 b/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0
new file mode 100644
index 0000000..2dbea7d
--- /dev/null
+++ b/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0
@@ -0,0 +1,40 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require cmake
+
+SUMMARY="Qt6 configuration tool for desktops without Qt integration"
+HOMEPAGE="https://www.opencode.net/trialuser/qt6ct/"
+DOWNLOADS="https://www.opencode.net/api/v4/projects/5459/packages/generic/qt6ct/${PV}/${PNV}.tar.xz"
+
+LICENCES="BSD-2"
+SLOT="0"
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+ build:
+ x11-libs/qttools:6[linguist]
+
+ build+run:
+ x11-libs/qtbase:6[gui]
+
+ run:
+ x11-libs/qtsvg:6
+"
+
+DEFAULT_SRC_PREPARE_PATCHES=(
+ "${FILES}/${PNV}-qt-6.10.patch"
+)
+
+src_install() {
+ cmake_src_install
+
+ hereenvd 98${PN} <<EOF
+QT_QPA_PLATFORMTHEME=qt5ct
+EOF
+}
+
+pkg_postinst() {
+ einfo "QT_QPA_PLATFORMTHEME=qt5ct enables qt6ct after re-login."
+ einfo "Avoid qt6ct on desktops with their own Qt integration, such as Plasma."
+}
diff --git a/packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0 b/packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0
new file mode 100644
index 0000000..e4c5ecf
--- /dev/null
+++ b/packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0
@@ -0,0 +1,45 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+SUMMARY="Command-line X11 automation and libxdo library"
+HOMEPAGE="https://github.com/jordansissel/xdotool"
+DOWNLOADS="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz -> ${PNV}.tar.gz"
+
+LICENCES="BSD-3"
+SLOT="0"
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+ build:
+ dev-util/pkgconf
+ dev-lang/perl
+
+ build+run:
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libXtst
+ x11-libs/libxkbcommon
+"
+
+MAKE_PARAMS=(
+ PREFIX=/usr
+ INSTALLBIN=/usr/$(exhost --target)/bin
+ INSTALLLIB=/usr/$(exhost --target)/lib
+ INSTALLPC=/usr/$(exhost --target)/lib/pkgconfig
+ INSTALLINCLUDE=/usr/$(exhost --target)/include
+ INSTALLMAN=/usr/share/man
+)
+
+src_prepare() {
+ default
+ edo sed -i "s@pkg-config --@/usr/$(exhost --target)/bin/$(exhost --tool-prefix)pkg-config --@g" Makefile
+}
+
+src_compile() {
+ emake "${MAKE_PARAMS[@]}"
+}
+
+src_install() {
+ emake "${MAKE_PARAMS[@]}" DESTDIR="${IMAGE}" LDCONFIG=: install
+ dodoc COPYRIGHT
+}