diff options
Diffstat (limited to 'kde-apps/dolphin-plugins-mercurial')
-rw-r--r-- | kde-apps/dolphin-plugins-mercurial/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-23.08.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-mercurial/Manifest b/kde-apps/dolphin-plugins-mercurial/Manifest index 73b3affa5382..34ae6b599f23 100644 --- a/kde-apps/dolphin-plugins-mercurial/Manifest +++ b/kde-apps/dolphin-plugins-mercurial/Manifest @@ -1,3 +1,5 @@ DIST dolphin-plugins-23.04.3.tar.xz 272912 BLAKE2B f0eb8bbab16d66f1e964131b436af7d3ae8febc26cf4fe394489a978c701ef2f5689bea7daf9eed8d7ef2f1f2bdba000a487cf7f0704ad30bd25e2d403ce5fae SHA512 8f487ba0bcbe561915064247ddb2327c3b7c8fa6ffc5c511d9c9ef37bd4f28a624533ce7a2da2a86b10b65f37915ca10840517872b40c2fd014cead6da5972c8 +DIST dolphin-plugins-23.08.0.tar.xz 273412 BLAKE2B edd20bb433b5288cc5687009cfd65d978b98de6b81dbc9b8aeb598a84411f67557e72be5212844852ce4cd7ecdd9d092e003603dfe8e6b6a5a2a30d94fbb3f58 SHA512 4abf6e41c6a4755117446ac744779ca7acdf1f1380cffa5be9931fc1463073b20c3c0b26a20de86befb49541f04523aedb8114189d68413bb75317d98ee54615 EBUILD dolphin-plugins-mercurial-23.04.3.ebuild 1597 BLAKE2B 51621e6dc7ac4802b3b98ad49c688505a6c064321ce7b2318b2753f7de769516acc88804156321fd48429b93ba42084db99564df99d70779584b14b75de3407e SHA512 4b7210738a828c40a3f04b2cc70c3dd5edb7e0831df01f6f13a8718e21dc98e5680b8c159988677e324aa7611d7fb0cfd6a8cf1986a0c7872d8df9ea664d9dc0 +EBUILD dolphin-plugins-mercurial-23.08.0.ebuild 1600 BLAKE2B 7943c386d632cddee7d487dd036c15fc4bc5d8b511804d451e935e793a909ed4ea3f32a170b3344470a27519f1af902504012b33c2103606d6ddffab2a323d32 SHA512 e9348b4ce09228d87408aacdbd0cee9b863c714bb587f9ae1c4ca1acb8748438bc4c14616c14b27d478755251849a4cf6d15b36fa7b70414337ba1234bb4a5b1 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-23.08.0.ebuild b/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-23.08.0.ebuild new file mode 100644 index 000000000000..0617d002ddc8 --- /dev/null +++ b/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-23.08.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 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="hg" +PVCUT=$(ver_cut 1-3) +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org + +DESCRIPTION="Dolphin plugin for Mercurial 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/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 +" +RDEPEND="${DEPEND} + dev-vcs/mercurial +" + +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_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 +} |