summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-08-09 00:27:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-08-09 00:29:11 +0200
commit846aea72fd18d0db40616081ba247a7f8026eeab (patch)
tree9a007c242a14cd6a669f09b8c04348d863df3902 /net-misc
parentkde-misc/kio-fuse: add 5.0.1_p20230130 (diff)
downloadgentoo-846aea72fd18d0db40616081ba247a7f8026eeab.tar.gz
gentoo-846aea72fd18d0db40616081ba247a7f8026eeab.tar.bz2
gentoo-846aea72fd18d0db40616081ba247a7f8026eeab.zip
net-misc/smb4k: add 3.2.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/smb4k/Manifest1
-rw-r--r--net-misc/smb4k/smb4k-3.2.2.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest
index 7bfb402a623e..b0f2347afd24 100644
--- a/net-misc/smb4k/Manifest
+++ b/net-misc/smb4k/Manifest
@@ -1 +1,2 @@
DIST smb4k-3.2.1.tar.xz 4311100 BLAKE2B ebbb95faed9a1550171c49f79986daae14d31c0c4dcd9756a99295a296c49a06e5c8515643973a9567acab6a7f664bc18a8f84c0398af2275f92ee91a17745f2 SHA512 36b1d0d46fc51274a0b4ca780cb8413972e675aaabf7177c60c82c22b5d03b49eff8a233f0c9f141e7566b1148192bbdcd67c1d2bf9bd25c43fbe7b3b2ea1878
+DIST smb4k-3.2.2.tar.xz 4312636 BLAKE2B a41f1be490ab2d663b86f06ffd14b3e2bab213b3d630fb7100ff6fcae6505fe12448f8ec07f19e522e7aeef92afbaba349ddc6dc42d71c64dc8af4d56d9d7ccf SHA512 fae7f5d79eafbbddb5ae2a0b5815e59c8d2ea5a19b6e1ca2b4caf71f31637a891247873f0657b0bcefb21b13c7936c7b22ac105c06cd204fa32012eb432b9396
diff --git a/net-misc/smb4k/smb4k-3.2.2.ebuild b/net-misc/smb4k/smb4k-3.2.2.ebuild
new file mode 100644
index 000000000000..d52805fd7b61
--- /dev/null
+++ b/net-misc/smb4k/smb4k-3.2.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 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/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"
+}