pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import x11/copyq



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Wed Mar 25 08:39:44 2026 +0100
Changeset:	ef4449e423d2d3ccb6458da6f5339b8d06934082

Modified Files:
	Makefile
Added Files:
	copyq/DESCR
	copyq/Makefile
	copyq/PLIST
	copyq/distinfo
	copyq/patches/patch-CMakeLists.txt

Log Message:
Import x11/copyq

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ef4449e423d2d3ccb6458da6f5339b8d06934082

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                           |  1 +
 copyq/DESCR                        |  2 ++
 copyq/Makefile                     | 29 ++++++++++++++++
 copyq/PLIST                        | 71 ++++++++++++++++++++++++++++++++++++++
 copyq/distinfo                     |  6 ++++
 copyq/patches/patch-CMakeLists.txt | 14 ++++++++
 6 files changed, 123 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index cee590c2e4..feec46fafd 100644
--- a/Makefile
+++ b/Makefile
@@ -602,6 +602,7 @@ SUBDIR+=	convertall
 SUBDIR+=	convos
 SUBDIR+=	cool-retro-term
 SUBDIR+=	cops
+SUBDIR+=	copyq
 SUBDIR+=	copytape
 SUBDIR+=	coreclr-git
 SUBDIR+=	corefx-git
diff --git a/copyq/DESCR b/copyq/DESCR
new file mode 100644
index 0000000000..d289f99bb0
--- /dev/null
+++ b/copyq/DESCR
@@ -0,0 +1,2 @@
+CopyQ is an advanced clipboard manager with powerful editing
+and scripting features.
diff --git a/copyq/Makefile b/copyq/Makefile
new file mode 100644
index 0000000000..67ad8ba1a3
--- /dev/null
+++ b/copyq/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.16 2026/02/06 10:06:12 wiz Exp $
+
+DISTNAME=	copyq-13.0.0
+PKGREVISION=	3
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=hluk/}
+GH_PROJECT=	CopyQ
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kikadf.01%gmail.com@localhost
+HOMEPAGE=	https://hluk.github.io/CopyQ
+COMMENT=	Qt based clipboard manager
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=		c c++
+WRKSRC=			${WRKDIR}/${GH_PROJECT}-${PKGVERSION_NOREV}
+CMAKE_CONFIGURE_ARGS+=	-DWITH_QT6=ON
+USE_TOOLS+=		pkg-config
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/extra-cmake-modules/buildlink3.mk"
+.include "../../devel/kf6-knotifications/buildlink3.mk"
+.include "../../devel/qt6-qtwayland/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../misc/kf6-kstatusnotifieritem/buildlink3.mk"
+.include "../../x11/kf6-kguiaddons/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/copyq/PLIST b/copyq/PLIST
new file mode 100644
index 0000000000..ebc4f23b5c
--- /dev/null
+++ b/copyq/PLIST
@@ -0,0 +1,71 @@
+@comment $NetBSD: PLIST,v 1.5 2025/10/25 11:46:39 kikadf Exp $
+bin/copyq
+lib/copyq/plugins/libitemencrypted.so
+lib/copyq/plugins/libitemfakevim.so
+lib/copyq/plugins/libitemimage.so
+lib/copyq/plugins/libitemnotes.so
+lib/copyq/plugins/libitempinned.so
+lib/copyq/plugins/libitemsync.so
+lib/copyq/plugins/libitemtags.so
+lib/copyq/plugins/libitemtext.so
+man/man1/copyq.1
+share/applications/com.github.hluk.copyq.desktop
+share/bash-completion/completions/copyq
+share/copyq/themes/black.ini
+share/copyq/themes/dark.ini
+share/copyq/themes/forest.ini
+share/copyq/themes/items.css
+share/copyq/themes/light.ini
+share/copyq/themes/main_window.css
+share/copyq/themes/main_window_simple.css
+share/copyq/themes/menu.css
+share/copyq/themes/notification.css
+share/copyq/themes/paper.ini
+share/copyq/themes/simple.ini
+share/copyq/themes/solarized-dark.ini
+share/copyq/themes/solarized-light.ini
+share/copyq/themes/tooltip.css
+share/copyq/themes/wine.ini
+share/copyq/translations/copyq_ar.qm
+share/copyq/translations/copyq_ca.qm
+share/copyq/translations/copyq_cs.qm
+share/copyq/translations/copyq_da.qm
+share/copyq/translations/copyq_de.qm
+share/copyq/translations/copyq_el.qm
+share/copyq/translations/copyq_es.qm
+share/copyq/translations/copyq_fa.qm
+share/copyq/translations/copyq_fi.qm
+share/copyq/translations/copyq_fr.qm
+share/copyq/translations/copyq_ga.qm
+share/copyq/translations/copyq_he.qm
+share/copyq/translations/copyq_hr.qm
+share/copyq/translations/copyq_hu.qm
+share/copyq/translations/copyq_id.qm
+share/copyq/translations/copyq_it.qm
+share/copyq/translations/copyq_ja.qm
+share/copyq/translations/copyq_kab.qm
+share/copyq/translations/copyq_ko.qm
+share/copyq/translations/copyq_lt.qm
+share/copyq/translations/copyq_nb.qm
+share/copyq/translations/copyq_nl.qm
+share/copyq/translations/copyq_pl.qm
+share/copyq/translations/copyq_pt_BR.qm
+share/copyq/translations/copyq_pt_PT.qm
+share/copyq/translations/copyq_ru.qm
+share/copyq/translations/copyq_sk.qm
+share/copyq/translations/copyq_sv.qm
+share/copyq/translations/copyq_tr.qm
+share/copyq/translations/copyq_uk.qm
+share/copyq/translations/copyq_vi.qm
+share/copyq/translations/copyq_zh_CN.qm
+share/copyq/translations/copyq_zh_TW.qm
+share/icons/hicolor/128x128/apps/copyq.png
+share/icons/hicolor/16x16/apps/copyq.png
+share/icons/hicolor/22x22/apps/copyq.png
+share/icons/hicolor/24x24/apps/copyq.png
+share/icons/hicolor/32x32/apps/copyq.png
+share/icons/hicolor/48x48/apps/copyq.png
+share/icons/hicolor/64x64/apps/copyq.png
+share/icons/hicolor/scalable/apps/copyq.svg
+share/icons/hicolor/scalable/apps/copyq_mask.svg
+share/metainfo/com.github.hluk.copyq.appdata.xml
diff --git a/copyq/distinfo b/copyq/distinfo
new file mode 100644
index 0000000000..ba42b0960a
--- /dev/null
+++ b/copyq/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.7 2025/11/24 07:57:11 wiz Exp $
+
+BLAKE2s (copyq-13.0.0.tar.gz) = 1c7434c36cae2b0d52f307f108a5018615a5f56caad7a74e3e8726116b43815a
+SHA512 (copyq-13.0.0.tar.gz) = 0962ed9e1a53782e36b4c5156e4a89a3057ce1ff54016c27a1c353272c0493a01b7d4403ab92c09ba39f0a13963057fcb7408cd3e30f8f7d17472c4148e400e6
+Size (copyq-13.0.0.tar.gz) = 3533218 bytes
+SHA1 (patch-CMakeLists.txt) = 1a114ef64c117215420e919543ef8b73372b12ba
diff --git a/copyq/patches/patch-CMakeLists.txt b/copyq/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..e7047b5075
--- /dev/null
+++ b/copyq/patches/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2025/11/24 07:57:11 wiz Exp $
+
+Fix build with qt6 6.10.
+
+--- CMakeLists.txt.orig	2025-10-22 07:58:33.000000000 +0000
++++ CMakeLists.txt
+@@ -46,6 +46,7 @@ set(CMAKE_AUTOMOC ON)
+ OPTION(WITH_QT6 "Enable Qt 6" ON)
+ if (WITH_QT6)
+     set(QT_DEFAULT_MAJOR_VERSION 6)
++    find_package(Qt6 COMPONENTS GuiPrivate REQUIRED)
+     find_package(Qt6Widgets 6.1.0 REQUIRED)
+     set(copyq_qt Qt6)
+     add_definitions( -DQT_DEPRECATED_WARNINGS_SINCE=0x051500 )


Home | Main Index | Thread Index | Old Index