aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/tokodon/Manifest1
-rw-r--r--net-im/tokodon/tokodon-24.08.3.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/net-im/tokodon/Manifest b/net-im/tokodon/Manifest
new file mode 100644
index 0000000000..218db7f7d7
--- /dev/null
+++ b/net-im/tokodon/Manifest
@@ -0,0 +1 @@
+DIST tokodon-24.08.3.tar.xz 581996 BLAKE2B 5f155b7445239eb4854fc37f66c1550ca9eef0ea94815aa37fc3aa22c0e175a8a2aebcd009e3e32b8e17596b06d0e9e22f7e081282cffb2ce2a8e0f7bf5282e0 SHA512 9a798aa957a87f0fae984da59d859d92888e937fbe54eb1ea474a5ff363df4cfbbb1026891a159c100257e9793d59e267247e3380cdb8c44d78fa32edffd235f
diff --git a/net-im/tokodon/tokodon-24.08.3.ebuild b/net-im/tokodon/tokodon-24.08.3.ebuild
new file mode 100644
index 0000000000..1b4964e000
--- /dev/null
+++ b/net-im/tokodon/tokodon-24.08.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Mastodon client for Plasma and Plasma Mobile"
+HOMEPAGE="https://apps.kde.org/tokodon/"
+
+LICENSE="CC-BY-SA-4.0 GPL-2+ GPL-3+ || ( LGPL-2.1+ LGPL-3+ ) MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+mpv webengine"
+
+# TODO: Add kunifiedpush support once packaged (cd01eb31d1ec298d4c1e10d25a0781d799161bfc)
+DEPEND="
+ >=dev-libs/kirigami-addons-1.1.0:6
+ >=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
+ >=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=dev-qt/qtwebsockets-${QTMIN}:6
+ >=kde-frameworks/breeze-icons-${KFMIN}:*
+ >=kde-frameworks/kcolorscheme-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kirigami-${KFMIN}:6
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+ >=kde-frameworks/purpose-${KFMIN}:6
+ >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
+ mpv? ( media-libs/mpvqt )
+ !mpv? ( >=dev-qt/qtmultimedia-${QTMIN}:6[qml] )
+ webengine? ( >=dev-qt/qtwebview-${QTMIN}:6 )
+"
+RDEPEND="${DEPEND}
+ >=kde-frameworks/kitemmodels-${KFMIN}:6
+ >=kde-frameworks/sonnet-${KFMIN}:6[qml]
+"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QTMULTIMEDIA=$(usex !mpv)
+ $(cmake_use_find_package webengine Qt6WebView) # "only makes sense on mobile"
+ )
+
+ ecm_src_configure
+}