diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 13:53:46 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 14:42:38 +0200 |
commit | 7b6a2a553ee7e2aaa539882c20419f049b7b795e (patch) | |
tree | c503269534e9b9923e5757a86c82874e52426238 /kde-apps/dolphin-plugins-git | |
parent | kde-apps/cervisia: 22.08.1 version bump (diff) | |
download | gentoo-7b6a2a553ee7e2aaa539882c20419f049b7b795e.tar.gz gentoo-7b6a2a553ee7e2aaa539882c20419f049b7b795e.tar.bz2 gentoo-7b6a2a553ee7e2aaa539882c20419f049b7b795e.zip |
kde-apps/dolphin-plugins-git: 22.08.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/dolphin-plugins-git')
-rw-r--r-- | kde-apps/dolphin-plugins-git/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/dolphin-plugins-git/dolphin-plugins-git-22.08.1.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-git/Manifest b/kde-apps/dolphin-plugins-git/Manifest index 2cd240b278d7..1e4f2e3cfe56 100644 --- a/kde-apps/dolphin-plugins-git/Manifest +++ b/kde-apps/dolphin-plugins-git/Manifest @@ -1,2 +1,3 @@ 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 +DIST dolphin-plugins-22.08.1.tar.xz 257836 BLAKE2B 3ad0ebe22478b5540dbe4128df718cb428259e2c28d5586a2625c15f63fa9a1e8ca35d45397a9446e8a7bed66ecbc65f13137174a565792ba217158a2c71cd0f SHA512 9eee9e33640dfba94530bd538a0915cdf49257dd68934835056f2e9b0906e7e5884a83bb5095fd6b66e7fb86d5ae5cc77d319439a491cd424fc4fd01fb9097c5 diff --git a/kde-apps/dolphin-plugins-git/dolphin-plugins-git-22.08.1.ebuild b/kde-apps/dolphin-plugins-git/dolphin-plugins-git-22.08.1.ebuild new file mode 100644 index 000000000000..0673b1b5a811 --- /dev/null +++ b/kde-apps/dolphin-plugins-git/dolphin-plugins-git-22.08.1.ebuild @@ -0,0 +1,66 @@ +# 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="git" +PVCUT=$(ver_cut 1-3) +KFMIN=5.96.0 +QTMIN=5.15.5 +inherit ecm gear.kde.org + +DESCRIPTION="Dolphin plugin for Git integration" +HOMEPAGE="https://apps.kde.org/dolphin_plugins/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~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/ktextwidgets-${KFMIN}:5 +" +RDEPEND="${DEPEND} + dev-vcs/git +" + +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_hg=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 +} |