diff options
| -rw-r--r-- | kde-apps/dolphin-plugins-subversion/Manifest | 1 | ||||
| -rw-r--r-- | kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-24.01.95.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-subversion/Manifest b/kde-apps/dolphin-plugins-subversion/Manifest index a799832bb84..98fd2f88873 100644 --- a/kde-apps/dolphin-plugins-subversion/Manifest +++ b/kde-apps/dolphin-plugins-subversion/Manifest @@ -1 +1,2 @@ DIST dolphin-plugins-24.01.90.tar.xz 291068 BLAKE2B 6d09c88e511462dbb82e01e8bec9ca1741ce776060fe46992630e2b159cb0399427aa7fdf9f3d438f9e72feb7622c322fa19677435dfa0283f7253b38c4b356f SHA512 0b9251ea40758b256bf9a63c986d1522ae2317320cdc7b9f064520217692e6df70c724901aa86b4f553224a5f39b8d0f5e01afa442bd9d34b6a6fccd14ba94e4 +DIST dolphin-plugins-24.01.95.tar.xz 293576 BLAKE2B 6c071c7beab47c579fec69d99d512212eb4366c7328c90826b90073e21d1f32715c740d7e71d869c15490396dea20b130c1111cb4164d93491ddc43620831644 SHA512 1608e937be505513f6113f7151fa21fed5af1ef430fe972f2def1912827a4163fd84c36c604527a31b9e9abfcbc9ec6cc22ffd724f31ddee0a489b2112252d04 diff --git a/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-24.01.95.ebuild b/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-24.01.95.ebuild new file mode 100644 index 00000000000..8209c850607 --- /dev/null +++ b/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-24.01.95.ebuild @@ -0,0 +1,62 @@ +# 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="svn" +PVCUT=$(ver_cut 1-3) +KFMIN=5.249.0 +QTMIN=6.6.0 +inherit ecm gear.kde.org + +DESCRIPTION="Dolphin plugin for Subversion integration" +HOMEPAGE="https://apps.kde.org/dolphin_plugins/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,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 +" +RDEPEND="${DEPEND} + dev-vcs/subversion + >=kde-apps/kompare-${PVCUT}:* +" + +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 + 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_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 +} |
