diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-17 16:52:35 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-17 16:58:20 +0200 |
commit | 8cd177b72b68f969d1d6367415e1be683a8b4588 (patch) | |
tree | 09407b6f6d33714f5a8ff930bed5bf1176e5dc8d /net-im/tokodon | |
parent | net-im/neochat: add kde-invent upstream metadata (diff) | |
download | kde-8cd177b72b68f969d1d6367415e1be683a8b4588.tar.gz kde-8cd177b72b68f969d1d6367415e1be683a8b4588.tar.bz2 kde-8cd177b72b68f969d1d6367415e1be683a8b4588.zip |
net-im/tokodon: Update dependencies, add IUSE mpv,webengine
Upstream commits:
432d743ca92c1c6ab15c33bb41d346d35c5b50d9
4b0bf816af9b03b4f95587bd73f603cfe1662946
21f14929eb7037ef591d84c4502af6255600d595
ab82bad2425f912870da5dd83da155d799b8a17c
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-im/tokodon')
-rw-r--r-- | net-im/tokodon/metadata.xml | 6 | ||||
-rw-r--r-- | net-im/tokodon/tokodon-24.04.90.ebuild | 17 | ||||
-rw-r--r-- | net-im/tokodon/tokodon-24.05.49.9999.ebuild | 17 | ||||
-rw-r--r-- | net-im/tokodon/tokodon-9999.ebuild | 17 |
4 files changed, 47 insertions, 10 deletions
diff --git a/net-im/tokodon/metadata.xml b/net-im/tokodon/metadata.xml index 02ce3e9d31..0f8aab73a8 100644 --- a/net-im/tokodon/metadata.xml +++ b/net-im/tokodon/metadata.xml @@ -6,7 +6,11 @@ <name>Gentoo KDE Project</name> </maintainer> <upstream> - <remote-id type="kde-invent">network/tokodon</remote-id> <bugs-to>https://bugs.kde.org/</bugs-to> + <remote-id type="kde-invent">network/tokodon</remote-id> </upstream> + <use> + <flag name="mpv">Use <pkg>media-libs/mpvqt</pkg> instead of <pkg>dev-qt/qtmultimedia</pkg> for video playback (default)</flag> + <flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for built-in authentication page (default is external browser)</flag> + </use> </pkgmetadata> diff --git a/net-im/tokodon/tokodon-24.04.90.ebuild b/net-im/tokodon/tokodon-24.04.90.ebuild index c734b9c19e..e4702950a6 100644 --- a/net-im/tokodon/tokodon-24.04.90.ebuild +++ b/net-im/tokodon/tokodon-24.04.90.ebuild @@ -14,16 +14,16 @@ 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" +IUSE="+mpv webengine" # TODO: Add kunifiedpush support once packaged (cd01eb31d1ec298d4c1e10d25a0781d799161bfc) DEPEND=" - dev-libs/kirigami-addons:6 + >=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 - >=dev-qt/qtwebview-${QTMIN}:6 >=kde-frameworks/breeze-icons-${KFMIN}:* >=kde-frameworks/kcolorscheme-${KFMIN}:6 >=kde-frameworks/kconfig-${KFMIN}:6 @@ -37,10 +37,21 @@ DEPEND=" >=kde-frameworks/kwindowsystem-${KFMIN}:6 >=kde-frameworks/purpose-${KFMIN}:6 >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6 - media-libs/mpvqt + mpv? ( media-libs/mpvqt ) + !mpv? ( >=dev-qt/qtsvg-${QTMIN}:6 ) + 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 +} diff --git a/net-im/tokodon/tokodon-24.05.49.9999.ebuild b/net-im/tokodon/tokodon-24.05.49.9999.ebuild index f4fa3a4c53..b49f8839f4 100644 --- a/net-im/tokodon/tokodon-24.05.49.9999.ebuild +++ b/net-im/tokodon/tokodon-24.05.49.9999.ebuild @@ -14,16 +14,16 @@ 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="" +IUSE="+mpv webengine" # TODO: Add kunifiedpush support once packaged (cd01eb31d1ec298d4c1e10d25a0781d799161bfc) DEPEND=" - dev-libs/kirigami-addons:6 + >=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 - >=dev-qt/qtwebview-${QTMIN}:6 >=kde-frameworks/breeze-icons-${KFMIN}:* >=kde-frameworks/kcolorscheme-${KFMIN}:6 >=kde-frameworks/kconfig-${KFMIN}:6 @@ -37,10 +37,21 @@ DEPEND=" >=kde-frameworks/kwindowsystem-${KFMIN}:6 >=kde-frameworks/purpose-${KFMIN}:6 >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6 - media-libs/mpvqt + mpv? ( media-libs/mpvqt ) + !mpv? ( >=dev-qt/qtsvg-${QTMIN}:6 ) + 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 +} diff --git a/net-im/tokodon/tokodon-9999.ebuild b/net-im/tokodon/tokodon-9999.ebuild index f4fa3a4c53..b49f8839f4 100644 --- a/net-im/tokodon/tokodon-9999.ebuild +++ b/net-im/tokodon/tokodon-9999.ebuild @@ -14,16 +14,16 @@ 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="" +IUSE="+mpv webengine" # TODO: Add kunifiedpush support once packaged (cd01eb31d1ec298d4c1e10d25a0781d799161bfc) DEPEND=" - dev-libs/kirigami-addons:6 + >=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 - >=dev-qt/qtwebview-${QTMIN}:6 >=kde-frameworks/breeze-icons-${KFMIN}:* >=kde-frameworks/kcolorscheme-${KFMIN}:6 >=kde-frameworks/kconfig-${KFMIN}:6 @@ -37,10 +37,21 @@ DEPEND=" >=kde-frameworks/kwindowsystem-${KFMIN}:6 >=kde-frameworks/purpose-${KFMIN}:6 >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6 - media-libs/mpvqt + mpv? ( media-libs/mpvqt ) + !mpv? ( >=dev-qt/qtsvg-${QTMIN}:6 ) + 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 +} |