diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-01-31 11:15:30 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-01-31 15:12:10 +0100 |
| commit | de37e2a80e8144faab4e8b09823c7f97eb1123ef (patch) | |
| tree | 6431c83a75f0166f344d9c848806e5c9ea2cdda1 | |
| parent | b945c2d0390b71e730814b8b94bda5345b5abe07 (diff) | |
| download | kde-de37e2a80e8144faab4e8b09823c7f97eb1123ef.tar.gz kde-de37e2a80e8144faab4e8b09823c7f97eb1123ef.tar.bz2 kde-de37e2a80e8144faab4e8b09823c7f97eb1123ef.zip | |
kde-apps/dolphin-plugins-mercurial: 22.12.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -rw-r--r-- | kde-apps/dolphin-plugins-mercurial/Manifest | 1 | ||||
| -rw-r--r-- | kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.12.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-mercurial/Manifest b/kde-apps/dolphin-plugins-mercurial/Manifest new file mode 100644 index 00000000000..5833b93a142 --- /dev/null +++ b/kde-apps/dolphin-plugins-mercurial/Manifest @@ -0,0 +1 @@ +DIST dolphin-plugins-22.12.2.tar.xz 271696 BLAKE2B b2a8fecc15ad80f4bdc8ca21517f39354576dac6e81e93a276266d6e2b4d4d09142794972c5b4d09b71019a11aad3f80dd9a07064759c05c0a13ee572980e7d6 SHA512 bc54ceaa845ec5e5493f687cd0c7b3f6a0bab264de5c03f65e219ccd9bbc4c3f348bd48cbb885bea41ed68fd8d0bfc30420f9959bde2bb04b5a37b33210b6667 diff --git a/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.12.2.ebuild b/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.12.2.ebuild new file mode 100644 index 00000000000..354de22a627 --- /dev/null +++ b/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.12.2.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.101.0 +QTMIN=5.15.5 +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 +} |
