summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-05-03 12:22:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-03 13:30:22 +0200
commit6b68874a03cc1cfabfdb02ecacf6737d5551377b (patch)
treebc0f43bc941467be9a887de86e37779aa4de4d4f /net-misc/smb4k
parentnet-libs/libquotient: add 0.7.2 (diff)
downloadgentoo-6b68874a03cc1cfabfdb02ecacf6737d5551377b.tar.gz
gentoo-6b68874a03cc1cfabfdb02ecacf6737d5551377b.tar.bz2
gentoo-6b68874a03cc1cfabfdb02ecacf6737d5551377b.zip
net-misc/smb4k: add 3.2.1
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/smb4k-3.2.1.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest
index e9f8634234da..49bf22d08f46 100644
--- a/net-misc/smb4k/Manifest
+++ b/net-misc/smb4k/Manifest
@@ -1 +1,2 @@
DIST smb4k-3.1.7.tar.xz 3235528 BLAKE2B 3632c531e016d15c1afec15a65e2abffa3f16698404041e019ced97b97ae748d56f2bc400bc8589c709e40bb4ea133370e7713a44ffe9a1ebab2b8096713ddae SHA512 3215ef8b97af11b8ee88a82bab4c6e1821a735ae846c2935a05a94b145e0dd4114fa3fc5ae34c84ea2494a31efee0ed8418acb027eedf1c81920a9e9d579f50a
+DIST smb4k-3.2.1.tar.xz 4311100 BLAKE2B ebbb95faed9a1550171c49f79986daae14d31c0c4dcd9756a99295a296c49a06e5c8515643973a9567acab6a7f664bc18a8f84c0398af2275f92ee91a17745f2 SHA512 36b1d0d46fc51274a0b4ca780cb8413972e675aaabf7177c60c82c22b5d03b49eff8a233f0c9f141e7566b1148192bbdcd67c1d2bf9bd25c43fbe7b3b2ea1878
diff --git a/net-misc/smb4k/smb4k-3.2.1.ebuild b/net-misc/smb4k/smb4k-3.2.1.ebuild
new file mode 100644
index 000000000000..d52805fd7b61
--- /dev/null
+++ b/net-misc/smb4k/smb4k-3.2.1.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"
+}