summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/smb4k/Manifest1
-rw-r--r--net-misc/smb4k/smb4k-2.1.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest
index ee8dd81851e9..520d7290d5cc 100644
--- a/net-misc/smb4k/Manifest
+++ b/net-misc/smb4k/Manifest
@@ -1 +1,2 @@
DIST smb4k-2.0.2.tar.xz 3588608 BLAKE2B b5598486cd144a28c868d0c3271035bf7117e7db09c302f77bb06f541653d2c78a4ea75eaa39274d8bc8a481b28f8cda59e80a38bbb67018d686d35f6cae6d48 SHA512 de210b059757525c6e5b6db733c70f43f62ba14cdc447848c84325d3b838d2ac6d8aa591ef67881decb39801b9519ef05fc805e94bc02b93c629457194e1a974
+DIST smb4k-2.1.0.tar.xz 3714936 BLAKE2B c105909034acbdb3c8593bb06d787a6602290dadc87982ff45703e574bf978ea8a93d88cd91d062a87683559cda020d4971a7784687a74901e97c0c4a6d66d90 SHA512 632d916d6a9cf08c883d4a17747cf036d8d6e285ee149c487cc305d036977e86a7ef4d3ba4630b3b8f29ca9123d894418348e687b0c009653297d77059fb535c
diff --git a/net-misc/smb4k/smb4k-2.1.0.ebuild b/net-misc/smb4k/smb4k-2.1.0.ebuild
new file mode 100644
index 000000000000..74eb7914f02f
--- /dev/null
+++ b/net-misc/smb4k/smb4k-2.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Advanced network neighborhood browser"
+HOMEPAGE="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"
+IUSE="plasma"
+
+DEPEND="
+ $(add_frameworks_dep kauth)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep solid)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qttest)
+ $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}
+ net-fs/samba[cups]
+ plasma? ( $(add_frameworks_dep plasma) )
+"
+
+src_configure(){
+ local mycmakeargs=(
+ -DINSTALL_PLASMOID=$(usex plasma)
+ )
+ kde5_src_configure
+}