diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-13 02:49:54 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-12 11:22:51 +0100 |
commit | c2b436389502dd2ebdf01aa55de6ae8423e6e516 (patch) | |
tree | cab556468614e458d123407d12bb92675579df4e /net-misc/smb4k | |
parent | dev-util/massif-visualizer: Update HOMEPAGE (diff) | |
download | gentoo-c2b436389502dd2ebdf01aa55de6ae8423e6e516.tar.gz gentoo-c2b436389502dd2ebdf01aa55de6ae8423e6e516.tar.bz2 gentoo-c2b436389502dd2ebdf01aa55de6ae8423e6e516.zip |
net-misc/smb4k: Port to ecm.eclass and kde.org.eclass
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc/smb4k')
-rw-r--r-- | net-misc/smb4k/smb4k-3.0.2.ebuild | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/net-misc/smb4k/smb4k-3.0.2.ebuild b/net-misc/smb4k/smb4k-3.0.2.ebuild index 3d15898cf828..e0e0813da5aa 100644 --- a/net-misc/smb4k/smb4k-3.0.2.ebuild +++ b/net-misc/smb4k/smb4k-3.0.2.ebuild @@ -3,11 +3,14 @@ EAPI=7 -KDE_HANDBOOK="forceoptional" -inherit kde5 +ECM_HANDBOOK="forceoptional" +KFMIN=5.60.0 +QTMIN=5.12.3 +inherit ecm kde.org DESCRIPTION="Advanced network neighborhood browser" -HOMEPAGE="https://sourceforge.net/p/smb4k/home/Home/" +HOMEPAGE="https://kde.org/applications/utilities/org.kde.smb4k +https://sourceforge.net/p/smb4k/home/Home/" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" @@ -15,38 +18,39 @@ if [[ ${KDE_BUILD_TYPE} = release ]]; then fi LICENSE="GPL-2" +SLOT="5" IUSE="plasma" DEPEND=" - $(add_frameworks_dep kauth) - $(add_frameworks_dep kcompletion) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep kdbusaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kio) - $(add_frameworks_dep kjobwidgets) - $(add_frameworks_dep knotifications) - $(add_frameworks_dep kwallet) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kwindowsystem) - $(add_frameworks_dep kxmlgui) - $(add_frameworks_dep solid) - $(add_qt_dep qtdeclarative) - $(add_qt_dep qtgui) - $(add_qt_dep qtnetwork) - $(add_qt_dep qtprintsupport) - $(add_qt_dep qttest) - $(add_qt_dep qtwidgets) + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qttest-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 net-fs/samba[cups] " RDEPEND="${DEPEND} plasma? ( - $(add_frameworks_dep plasma) - $(add_qt_dep qtquickcontrols2) + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5 ) " @@ -54,11 +58,11 @@ src_configure(){ local mycmakeargs=( -DINSTALL_PLASMOID=$(usex plasma) ) - kde5_src_configure + ecm_src_configure } pkg_postinst() { - kde5_pkg_postinst + ecm_pkg_postinst elog "Users of Samba 4.7 and above please note that for the time being," elog "the following setting has to be added to or changed in the [global]" elog "section of the smb.conf file:" |