1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 KMNAME="dolphin-plugins"
11 DESCRIPTION="Dolphin plugin for Mercurial integration"
16 $(add_frameworks_dep kcompletion)
17 $(add_frameworks_dep kconfig)
18 $(add_frameworks_dep kcoreaddons)
19 $(add_frameworks_dep ki18n)
20 $(add_frameworks_dep kio)
21 $(add_frameworks_dep kservice)
22 $(add_frameworks_dep ktexteditor)
23 $(add_frameworks_dep ktextwidgets)
24 $(add_frameworks_dep kwidgetsaddons)
25 $(add_kdeapps_dep dolphin)
27 $(add_qt_dep qtwidgets)
30 !kde-apps/dolphin-plugins:5
36 # kxmlgui, qtnetwork only required by dropbox
37 punt_bogus_dep Qt5 Network
38 punt_bogus_dep KF5 XmlGui
39 # delete non-${PN} translations
40 if [[ ${KDE_BUILD_TYPE} = release ]]; then
41 find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
47 -DBUILD_${MY_PLUGIN_NAME}=ON