diff options
Diffstat (limited to 'kde-apps/dolphin-plugins-subversion')
-rw-r--r-- | kde-apps/dolphin-plugins-subversion/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.08.0.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-subversion/Manifest b/kde-apps/dolphin-plugins-subversion/Manifest index ec862143d313..73a2f9635bfa 100644 --- a/kde-apps/dolphin-plugins-subversion/Manifest +++ b/kde-apps/dolphin-plugins-subversion/Manifest @@ -1,3 +1,5 @@ DIST dolphin-plugins-22.04.3.tar.xz 257356 BLAKE2B e3d084e628920a08c9e1173c754002f6b0ecfad07bd4d89a64f5b29a7e93362a814ead6aeff80412b01e7198adce78c36f36428560a1ea9e555027113f7d8e6f SHA512 1b96511fbf8ec93b03a5f204c2e4cff232ca0d09e4d1599c89d4d514deb3fb889dfd3050a5cabe4e35b6e65a5283ad09635a13931c8484eebc98a22ba9057b42 +DIST dolphin-plugins-22.08.0.tar.xz 257872 BLAKE2B 9108b5ac5051b822d8fedac83dab967bd2a344f7d8d3ca8da9a544e40a186ae65a2f6470efce1fe091111392b7a998a8912842c0c31caf64a3e23b7e629ba184 SHA512 047997fa948d4a335495723946855964f6a652f9acf3ffd6f08f78dbfcb8c96a127861164f04f15de963e00295af226041ced7cdb25bd982a6a9f87c7c600855 EBUILD dolphin-plugins-subversion-22.04.3.ebuild 1477 BLAKE2B 51f990cd2270aa5bf95a3bf0186addd582e8d436b72b0000eadf9f50099cd3460091b456656d15344e78d261f32713dfab9bc5e7703ca4a82cb53d79b6fe133b SHA512 7087b14daec48571c70dccbdcab7b5b8ef2ad190516d22d5826b003fec393e3538cf3cdf368469d6fadd719bcf93fd052021c89a047c065a11cd4682d83db8fd +EBUILD dolphin-plugins-subversion-22.08.0.ebuild 1480 BLAKE2B 34853f3c71750d7180540cb3539d8a9fbf78d75f2df233ba1fef8f40081ebd7b0a858d8a85487fdf6efc931996719edea2193e23f30762864fc3df6b10e63092 SHA512 40f14a322b72e614d7e02803cb62da32f07e88995e45df41e84f1d884738a4eee72eabdc3860a715f9edd0352c317c707e1266e5dd1ca1bfeb762363a16a9bca MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.08.0.ebuild b/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.08.0.ebuild new file mode 100644 index 000000000000..4d7b0456fb96 --- /dev/null +++ b/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.08.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 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="svn" +PVCUT=$(ver_cut 1-3) +KFMIN=5.96.0 +QTMIN=5.15.5 +inherit ecm gear.kde.org + +DESCRIPTION="Dolphin plugin for Subversion integration" +HOMEPAGE="https://apps.kde.org/dolphin_plugins/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-apps/dolphin-${PVCUT}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 +" +RDEPEND="${DEPEND} + dev-vcs/subversion + >=kde-apps/kompare-${PVCUT}:5 +" + +src_prepare() { + ecm_src_prepare + # solid, qtdbus only required by mountiso + ecm_punt_qt_module DBus + ecm_punt_kf_module Solid + # kxmlgui, qtnetwork only required by dropbox + ecm_punt_qt_module Network + ecm_punt_kf_module XmlGui + # delete non-${PN} translations + if [[ ${KDE_BUILD_TYPE} = release ]]; then + find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_${MY_PLUGIN_NAME}=ON + -DBUILD_bazaar=OFF + -DBUILD_dropbox=OFF + -DBUILD_git=OFF + -DBUILD_hg=OFF + -DBUILD_mountiso=OFF + ) + ecm_src_configure +} + +src_install() { + ecm_src_install + rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die +} |