diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-07 13:39:07 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-07 14:54:32 +0200 |
commit | 3672cd7ae9188d62efcd13432bbe6afdd2435627 (patch) | |
tree | 37aa3fdcacd978a4b21cd9fc584c36f50acde15c /kde-apps/dolphin-plugins-subversion | |
parent | kde-apps/dolphin-plugins-mercurial: 22.04.2 version bump (diff) | |
download | kde-3672cd7ae9188d62efcd13432bbe6afdd2435627.tar.gz kde-3672cd7ae9188d62efcd13432bbe6afdd2435627.tar.bz2 kde-3672cd7ae9188d62efcd13432bbe6afdd2435627.zip |
kde-apps/dolphin-plugins-subversion: 22.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/dolphin-plugins-subversion')
-rw-r--r-- | kde-apps/dolphin-plugins-subversion/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.04.2.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins-subversion/Manifest b/kde-apps/dolphin-plugins-subversion/Manifest new file mode 100644 index 0000000000..0c264f29e5 --- /dev/null +++ b/kde-apps/dolphin-plugins-subversion/Manifest @@ -0,0 +1 @@ +DIST dolphin-plugins-22.04.2.tar.xz 256540 BLAKE2B 97ac9f10e6085705397faacf82dd5787e1f346f9d44e6e310899c6b8c73df103f84c42f55e3a34a844fd29f6539298da71bd96b2d82c5c2fbff56402c079a0b2 SHA512 ec9ede9729194aeeaaefe2d83b219e1b2ee1b9eb8a7b64623bc08d58952adc906469f78d785add05d176461e6104fa806771b74497b8bc3f53c3822b8dedec94 diff --git a/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.04.2.ebuild b/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.04.2.ebuild new file mode 100644 index 0000000000..b8a30fc07d --- /dev/null +++ b/kde-apps/dolphin-plugins-subversion/dolphin-plugins-subversion-22.04.2.ebuild @@ -0,0 +1,65 @@ +# 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="svn" +PVCUT=$(ver_cut 1-3) +KFMIN=5.92.0 +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Dolphin plugin for Subversion 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/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 +" +RDEPEND="${DEPEND} + dev-vcs/subversion + >=kde-apps/kompare-${PVCUT}:5 +" + +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_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 +} |