net-misc/smb4k: add 4.0.0

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-02-09 17:10:06 +01:00
parent f5673fc042
commit 39c86a77bb
2 changed files with 78 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST smb4k-3.2.92.tar.xz 4638924 BLAKE2B 9271d1be02136d51c28a24c2ac2a76de5708baffe76cd97e48867bce35f8f3988f63965d4bcff0f7a03b9f8e7a05af63578dd24b094e10553317a220fda3524e SHA512 a2010667454c5c0d24757c96fadb8a7d672eef201bc399dc99d9031c9b847a878545834422b7de2f5627eabaa8e5d0235da2f41da68e9178f7ee4eb431c878e8
DIST smb4k-4.0.0.tar.xz 4852924 BLAKE2B 9539c2f02941d038a7bfb5fbc57162dedc3205f4a3249dce74eb9035133b4bc4efbd93a3eed4f1b8af862e6f4e1507630f366127110bd063e7b9016ff642ff5b SHA512 c856d3532f6c604caf1d58741928172d6ee23c725b9bc7c1e2c2071b61e478b47ff567f36b12ae970636e4ffb55915b5a6572c8e0402fd71d40415204c475d85

View File

@@ -0,0 +1,77 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_HANDBOOK="forceoptional"
KFMIN=6.3.0
QTMIN=6.6.2
inherit ecm kde.org
DESCRIPTION="Advanced network neighborhood browser"
HOMEPAGE="https://apps.kde.org/smb4k/
https://sourceforge.net/p/smb4k/home/Home/"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="https://downloads.sourceforge.net/${PN}/Development/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+discovery plasma"
DEPEND="
>=dev-libs/qtkeychain-0.14.2:=[qt6(+)]
>=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=kde-frameworks/kauth-${KFMIN}:6
>=kde-frameworks/kcompletion-${KFMIN}:6
>=kde-frameworks/kconfig-${KFMIN}:6
>=kde-frameworks/kconfigwidgets-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/kdbusaddons-${KFMIN}:6
>=kde-frameworks/kdnssd-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kiconthemes-${KFMIN}:6
>=kde-frameworks/kio-${KFMIN}:6
>=kde-frameworks/kjobwidgets-${KFMIN}:6
>=kde-frameworks/knotifications-${KFMIN}:6
>=kde-frameworks/kstatusnotifieritem-${KFMIN}:6
>=kde-frameworks/kwallet-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kwindowsystem-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
>=kde-frameworks/solid-${KFMIN}:6
net-fs/samba[cups]
discovery? (
>=net-libs/kdsoap-2.2.0:=[qt6(+)]
>=net-libs/kdsoap-ws-discovery-client-0.4.0
)
"
RDEPEND="${DEPEND}
!${CATEGORY}/${PN}:5
plasma? (
>=kde-frameworks/kirigami-${KFMIN}:6
kde-plasma/libplasma:6
)
"
src_configure() {
local mycmakeargs=(
-DSMB4K_WITH_WS_DISCOVERY=$(usex discovery)
-DSMB4K_INSTALL_PLASMOID=$(usex plasma)
)
ecm_src_configure
}
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:"
elog
elog "[global]"
elog "client max protocol = NT1"
}