diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-23 02:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-23 02:44:06 +0100 |
commit | f019a919bf109460ee009a5f9210b99d0467db97 (patch) | |
tree | 5e62ee11b837b7b408bb93bf2f01eb74f7b8a73f /kde-apps/dolphin-plugins-mercurial | |
parent | 6a9905e269a1104c93dceb41e2627a8568642946 (diff) |
gentoo auto-resync : 23:08:2022 - 02:44:06
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-22.08.0.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-mercurial/Manifest b/kde-apps/dolphin-plugins-mercurial/Manifest index 7dab6835f33a..0befebd2a425 100644 --- a/kde-apps/dolphin-plugins-mercurial/Manifest +++ b/kde-apps/dolphin-plugins-mercurial/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-mercurial-22.04.3.ebuild 1645 BLAKE2B 39e12479c6611b00f8682f436ffc2c9b694d7cc754a01e955bf09c8d8fa110d12326e4d789ee8c95640a9eb50d0a36f6c0389b9cbf622e58328cb28ceb1242cd SHA512 218c50b1bd07c144e75d5819a75b4355e4fd21194e18f93e26a2aa5c98dd1085d3001f572b0c3b42e63a29ebf9ec6ed4a9d20242e6de46fd06a3f87178c25cad +EBUILD dolphin-plugins-mercurial-22.08.0.ebuild 1648 BLAKE2B 5e66b3a555adaa2bf90f45c0325146746cd0d40ede475103809e3b4b3e5bd765d2ee8b9345e4feda16465bc3c2527583f0ca49dd1afa5d2fe4a8e1bc3f03f8d1 SHA512 a0cb18c6a6eaf6d1c172fbc5add5c742f5c4e22d773058a36980fa57f4940d1364bde911f9f9e8116ca79580e98f209dea6084568e3c3ac55d0dc6547d8db8c5 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.08.0.ebuild b/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.08.0.ebuild new file mode 100644 index 000000000000..4ab8eae76091 --- /dev/null +++ b/kde-apps/dolphin-plugins-mercurial/dolphin-plugins-mercurial-22.08.0.ebuild @@ -0,0 +1,69 @@ +# 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="hg" +PVCUT=$(ver_cut 1-3) +KFMIN=5.96.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 + 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_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 +} |