pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nheko: add Nheko version 0.12.1
Module Name: pkgsrc-wip
Committed By: Stepan Ipatov <st.ipatov%gmail.com@localhost>
Pushed By: st.ipatov
Date: Thu Nov 20 08:29:51 2025 +0000
Changeset: 390aecb1514df5d7841ab4356d1cff4b4d6c8f87
Added Files:
nheko/COMMIT_MSG
nheko/DESCR
nheko/Makefile
nheko/PLIST
nheko/TODO
nheko/distinfo
nheko/patches/patch-CMakeLists.txt
Log Message:
nheko: add Nheko version 0.12.1
Nheko is a lightweight, Qt-based Matrix client that provides a clean, fast, and user-friendly interface for secure messaging.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=390aecb1514df5d7841ab4356d1cff4b4d6c8f87
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nheko/COMMIT_MSG | 3 +++
nheko/DESCR | 3 +++
nheko/Makefile | 46 ++++++++++++++++++++++++++++++++++++++
nheko/PLIST | 14 ++++++++++++
nheko/TODO | 4 ++++
nheko/distinfo | 6 +++++
nheko/patches/patch-CMakeLists.txt | 27 ++++++++++++++++++++++
7 files changed, 103 insertions(+)
diffs:
diff --git a/nheko/COMMIT_MSG b/nheko/COMMIT_MSG
new file mode 100644
index 0000000000..e9281a91c7
--- /dev/null
+++ b/nheko/COMMIT_MSG
@@ -0,0 +1,3 @@
+net/nheko: Add Nheko version 0.12.1
+
+Nheko is a lightweight, Qt-based Matrix client that provides a clean, fast, and user-friendly interface for secure messaging.
diff --git a/nheko/DESCR b/nheko/DESCR
new file mode 100644
index 0000000000..8388a0a834
--- /dev/null
+++ b/nheko/DESCR
@@ -0,0 +1,3 @@
+Nheko is a fast, lightweight Matrix client designed for simplicity and
+usability. It offers a clean, modern interface for secure messaging, voice and
+video calls, and group chats.
diff --git a/nheko/Makefile b/nheko/Makefile
new file mode 100644
index 0000000000..ebbd704bd8
--- /dev/null
+++ b/nheko/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+DISTNAME= nheko-0.12.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Nheko-Reborn/}
+GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Nheko-Reborn/nheko/
+COMMENT= Native desktop app for Matrix chat protocol
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+USE_CXX_FEATURES+= c++20
+USE_LANGUAGES= c c++
+USE_TOOLS= cmake pkg-config
+
+CMAKE_CONFIGURE_ARGS+= -DVOIP=OFF
+CMAKE_CONFIGURE_ARGS+= -DSCREENSHARE_X11=OFF
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+.include "../../devel/cmake/build.mk"
+
+.include "../../databases/lmdb/buildlink3.mk"
+USE_BUILTIN.libevent= no
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/qt6-qttools/buildlink3.mk"
+.include "../../devel/re2/buildlink3.mk"
+.include "../../devel/spdlog/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/qt6-qtdeclarative/buildlink3.mk"
+.include "../../multimedia/qt6-qtmultimedia/buildlink3.mk"
+.include "../../security/olm/buildlink3.mk"
+.include "../../security/qt6-qtkeychain/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/cmark/buildlink3.mk"
+.include "../../textproc/nlohmann-json/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../wip/coeurl/buildlink3.mk"
+.include "../../wip/kdsingleapplication/buildlink3.mk"
+.include "../../wip/lmdbxx/buildlink3.mk"
+.include "../../wip/mtxclient/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nheko/PLIST b/nheko/PLIST
new file mode 100644
index 0000000000..7a84a51bff
--- /dev/null
+++ b/nheko/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+bin/nheko
+man/man1/nheko.1
+share/applications/nheko.desktop
+share/icons/hicolor/128x128/apps/nheko.png
+share/icons/hicolor/16x16/apps/nheko.png
+share/icons/hicolor/256x256/apps/nheko.png
+share/icons/hicolor/32x32/apps/nheko.png
+share/icons/hicolor/48x48/apps/nheko.png
+share/icons/hicolor/512x512/apps/nheko.png
+share/icons/hicolor/64x64/apps/nheko.png
+share/icons/hicolor/scalable/apps/nheko.svg
+share/metainfo/nheko.appdata.xml
+share/zsh/site-functions/_nheko
diff --git a/nheko/TODO b/nheko/TODO
new file mode 100644
index 0000000000..9b1a66c3ae
--- /dev/null
+++ b/nheko/TODO
@@ -0,0 +1,4 @@
+Known issues:
+
+- VoIP support is temporarily disabled because pkgsrc lacks several essential GStreamer plugins.
+- Closing the application on NetBSD results in a segmentation fault crash.
diff --git a/nheko/distinfo b/nheko/distinfo
new file mode 100644
index 0000000000..a4d47a064b
--- /dev/null
+++ b/nheko/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (nheko-0.12.1.tar.gz) = 44e6493b327be02d847c732815bf209eb56c9d07d07c8aa09dedf560d6951950
+SHA512 (nheko-0.12.1.tar.gz) = 05177b3439713e4b3badcc0231c9fa37b5df7e7310db5af972ecc8e7b6e99d47005f7aa36de4b760429adcd0b9ae46897ffaf657da19e31a10d50d674d227f40
+Size (nheko-0.12.1.tar.gz) = 2143800 bytes
+SHA1 (patch-CMakeLists.txt) = 1d58dc9f814fef8b7fd589f41fb4a9812ef73777
diff --git a/nheko/patches/patch-CMakeLists.txt b/nheko/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..7da3f21578
--- /dev/null
+++ b/nheko/patches/patch-CMakeLists.txt
@@ -0,0 +1,27 @@
+$NetBSD$
+
+fix for newer Qt versions
+
+--- CMakeLists.txt.orig 2025-08-10 12:58:11.000000000 +0000
++++ CMakeLists.txt
+@@ -246,7 +246,7 @@ endif()
+ #
+ # Discover Qt dependencies.
+ #
+-find_package(Qt6 6.5 COMPONENTS Core Widgets Gui LinguistTools Svg Multimedia Qml QuickControls2 REQUIRED)
++find_package(Qt6 6.5 COMPONENTS Core Widgets Gui LinguistTools Svg Multimedia Qml QmlPrivate GuiPrivate QuickControls2 REQUIRED)
+ find_package(Qt6DBus)
+
+ if(USE_BUNDLED_QTKEYCHAIN)
+@@ -295,7 +295,10 @@ if(NOT MSVC)
+ -fsized-deallocation \
+ -fdiagnostics-color=always \
+ -Wunreachable-code \
+- -Wno-attributes"
++ -Wno-attributes \
++ -Wno-deprecated-declarations \
++ -Wno-unused-parameter \
++ -Wno-unused-result"
+ )
+ if(NOT CMAKE_COMPILER_IS_GNUCXX)
+ # -Wshadow is buggy and broken in GCC, so do not enable it.
Home |
Main Index |
Thread Index |
Old Index