summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-06-20 21:48:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-06-20 22:02:06 +0200
commit1f17439d42fd57440ab5fc51621a290eb97da620 (patch)
tree52fb031176ecc1ee4380978f5113e03ab7d58128 /net-misc/smb4k
parentnet-im/neochat: 1.2.0 version bump (diff)
downloadgentoo-1f17439d42fd57440ab5fc51621a290eb97da620.tar.gz
gentoo-1f17439d42fd57440ab5fc51621a290eb97da620.tar.bz2
gentoo-1f17439d42fd57440ab5fc51621a290eb97da620.zip
net-misc/smb4k: 3.1.0 version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc/smb4k')
-rw-r--r--net-misc/smb4k/Manifest1
-rw-r--r--net-misc/smb4k/metadata.xml3
-rw-r--r--net-misc/smb4k/smb4k-3.1.0.ebuild78
3 files changed, 82 insertions, 0 deletions
diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest
index eca14f8a11a2..f3c58787aba9 100644
--- a/net-misc/smb4k/Manifest
+++ b/net-misc/smb4k/Manifest
@@ -1 +1,2 @@
DIST smb4k-3.0.6.tar.xz 3842424 BLAKE2B 7c42007a00b3da07bdc1629360bb8640c66ac7332fefca82698664cf197d4061d6c4419ab99ebd29e6515dace194973be2c179fa3c422820716fc5e5e1b8591f SHA512 993f669c12db30dd78f9f6cc694dfe563958407582f65ff64b6ada36cf4372ad6bb5addecc93970ce6750d031bf4ee9dfefa362e13100d2ce8d3e848a0d89382
+DIST smb4k-3.1.0.tar.xz 3177236 BLAKE2B 17d1fb32acbadd3af2447aab1c1e49c40c1a1b25204f31e366831e380e2a16f4b637f242afd5dfa41cc991e76570bdc0f8a804b1374290c44c417ed07f33f4ba SHA512 b12d054ccd4d8fdf3d975503c07b4c17321201651f68be03be6384e9c2ff127384737d0d5bdcb8d845c6edc21e20d7fd6a06cfe60af31ea6bc0373159771b5d1
diff --git a/net-misc/smb4k/metadata.xml b/net-misc/smb4k/metadata.xml
index 95bfeb8f1e1b..f2fd87085846 100644
--- a/net-misc/smb4k/metadata.xml
+++ b/net-misc/smb4k/metadata.xml
@@ -8,4 +8,7 @@
<upstream>
<remote-id type="sourceforge">smb4k</remote-id>
</upstream>
+ <use>
+ <flag name="discovery">Build with <pkg>net-libs/kdsoap-ws-discovery-client</pkg> support to discover domains and workgroups</flag>
+ </use>
</pkgmetadata>
diff --git a/net-misc/smb4k/smb4k-3.1.0.ebuild b/net-misc/smb4k/smb4k-3.1.0.ebuild
new file mode 100644
index 000000000000..e82ccc21919f
--- /dev/null
+++ b/net-misc/smb4k/smb4k-3.1.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.74.0
+QTMIN=5.15.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="mirror://sourceforge/${PN}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~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"
+}