summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-01-10 12:27:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-01-10 17:45:45 +0100
commite165359c2f27d39adcd98b2381d4fa02a4d63de6 (patch)
tree7a4b45fd5c7b62b48ff3d43acde675e60d5719c8
parentb3604ea12c77e9ce8b593f6e9575d9442d19eb18 (diff)
downloadkde-e165359c2f27d39adcd98b2381d4fa02a4d63de6.tar.gz
kde-e165359c2f27d39adcd98b2381d4fa02a4d63de6.tar.bz2
kde-e165359c2f27d39adcd98b2381d4fa02a4d63de6.zip
kde-apps/dolphin-plugins-dropbox: 24.01.90 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/dolphin-plugins-dropbox/Manifest1
-rw-r--r--kde-apps/dolphin-plugins-dropbox/dolphin-plugins-dropbox-24.01.90.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-dropbox/Manifest b/kde-apps/dolphin-plugins-dropbox/Manifest
new file mode 100644
index 00000000000..a799832bb84
--- /dev/null
+++ b/kde-apps/dolphin-plugins-dropbox/Manifest
@@ -0,0 +1 @@
+DIST dolphin-plugins-24.01.90.tar.xz 291068 BLAKE2B 6d09c88e511462dbb82e01e8bec9ca1741ce776060fe46992630e2b159cb0399427aa7fdf9f3d438f9e72feb7622c322fa19677435dfa0283f7253b38c4b356f SHA512 0b9251ea40758b256bf9a63c986d1522ae2317320cdc7b9f064520217692e6df70c724901aa86b4f553224a5f39b8d0f5e01afa442bd9d34b6a6fccd14ba94e4
diff --git a/kde-apps/dolphin-plugins-dropbox/dolphin-plugins-dropbox-24.01.90.ebuild b/kde-apps/dolphin-plugins-dropbox/dolphin-plugins-dropbox-24.01.90.ebuild
new file mode 100644
index 00000000000..d66dbdeb2a1
--- /dev/null
+++ b/kde-apps/dolphin-plugins-dropbox/dolphin-plugins-dropbox-24.01.90.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="false"
+KDE_ORG_NAME="dolphin-plugins"
+MY_PLUGIN_NAME="dropbox"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.248.0
+QTMIN=6.6.0
+inherit ecm gear.kde.org
+
+DESCRIPTION="Dolphin plugin for Dropbox service integration"
+HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets]
+ >=kde-apps/dolphin-${PVCUT}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+"
+RDEPEND="${DEPEND}
+ net-misc/dropbox-cli
+"
+
+src_prepare() {
+ ecm_src_prepare
+ # solid, qtdbus only required by mountiso
+ ecm_punt_qt_module DBus
+ ecm_punt_kf_module Solid
+ # delete non-${PN} translations
+ find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_${MY_PLUGIN_NAME}=ON
+ -DBUILD_bazaar=OFF
+ -DBUILD_git=OFF
+ -DBUILD_hg=OFF
+ -DBUILD_makefileactions=OFF
+ -DBUILD_mountiso=OFF
+ -DBUILD_svn=OFF
+ )
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
+}