diff options
Diffstat (limited to 'kde-apps')
| -rw-r--r-- | kde-apps/dolphin-plugins-dropbox/Manifest | 1 | ||||
| -rw-r--r-- | kde-apps/dolphin-plugins-dropbox/dolphin-plugins-dropbox-24.01.90.ebuild | 60 |
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 +} |
