commit:     eb759f20bd951ff2ee45b93fd327f9a858ae6cda
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 23:19:55 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 23:29:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb759f20

net-misc/smb4k: add 3.1.6

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-misc/smb4k/Manifest           |  1 +
 net-misc/smb4k/smb4k-3.1.6.ebuild | 78 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest
index 2d0079701d96..32eb05216629 100644
--- a/net-misc/smb4k/Manifest
+++ b/net-misc/smb4k/Manifest
@@ -1,2 +1,3 @@
 DIST smb4k-3.1.4.tar.xz 3204320 BLAKE2B 
b9d5192210f5a0a66a91d7aeeaff1e9b4dc1eb7e7fe80c2b54afed965262c0fb56e4e966bf1c8adad884cadedb899d9a1384f3a2c13f70c25b129d926930f926
 SHA512 
b3ac439cd221e9725b7da63a968995d4a327cd5bc6be3efbd98a43cdcc9ca7c116a30fb1a37454d728a4d7c4f713abde6f6979dd9452ab00e9ba5f00077bf23c
 DIST smb4k-3.1.5.tar.xz 3204676 BLAKE2B 
ce780bfb0f23707df51393d9bb82dc70dc2e26615061fee41f6a31c0b2fdadf48bed21068cf8d11ff672851efb10f92954cc2a5ef806b559d08486a6bf7d2320
 SHA512 
46756b3287c297d7ec34db26c2d4e64cb05bcf33788d6564de2ac801c40bb59500e3598b052b1ba7bff4e311c64fee1cf44b4cdaf8d2d077bf8fce0afab9c175
+DIST smb4k-3.1.6.tar.xz 3204788 BLAKE2B 
493c88c2c2d59a7660ad03a084050984518eadc4cbe47b180c8c8e0870264f5c6472d868fa0a66d701c1ba9fe4afb56e5af5e1cb59f112df3ac0470900099399
 SHA512 
622e328a497aa2f156be13c3025b43018a8683aa87dcc72463a3687a58fa566a6fa637d4cf41668e75b0f44b2fa608e9e8290f69d04aeb136b7bb5bb9ab70e11

diff --git a/net-misc/smb4k/smb4k-3.1.6.ebuild 
b/net-misc/smb4k/smb4k-3.1.6.ebuild
new file mode 100644
index 000000000000..5b3c7f425d6f
--- /dev/null
+++ b/net-misc/smb4k/smb4k-3.1.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.82.0
+QTMIN=5.15.5
+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="mirror://sourceforge/${PN}/${P}.tar.xz"
+       KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="+discovery plasma"
+
+DEPEND="
+       >=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/kdnssd-${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]
+       discovery? (
+               net-libs/kdsoap:=
+               net-libs/kdsoap-ws-discovery-client
+       )
+"
+RDEPEND="${DEPEND}
+       plasma? (
+               >=dev-qt/qtquickcontrols2-${QTMIN}:5
+               >=kde-frameworks/plasma-${KFMIN}:5
+       )
+"
+
+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"
+}

Reply via email to