summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
index 72f28345d6ce..0dd40511f75d 100644
--- a/net-im/tokodon/Manifest
+++ b/net-im/tokodon/Manifest
@@ -1,2 +1,3 @@
DIST tokodon-24.08.1.tar.xz 567916 BLAKE2B 9ae3038e270e430d3ba16eaa78bbd6b18f22f6a020568106a6127218e94ec0b0ccf0fe638715bdb0262c14ade7d21dc4508bd0daf4e8e6207fdf845e3ba58ce9 SHA512 808b6639b8b26729421c65afd5c5ee3629bb14f1fd00266a4cd6690070ce9b2b957aaca9139e8b7b9aa165e80031a9a6d0765193921358b6b7451bdeaa8aced0
DIST tokodon-24.08.2.tar.xz 576616 BLAKE2B ded6a4105f0134186940ad7cab32d6b6b7103a1eef8012c12e89251b41d49ebd7d59d3ac4c285297976869868a76acd50d589e59c3b18d7bdaac6651af455e79 SHA512 9f41ec9c704334048c657e6fbd9dd4f2c7630f37237731eb03a0fd69b3c3a43d06689cb7831de61bf8b4e632451893e673b34a8a0a121cc146672461de694ae2
+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 000000000000..1b4964e000d5
--- /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
+}