From 70434d4d27727aab7a17f73f084a3e84fdfe357d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Dec 2017 20:44:27 +0000 Subject: sys-kernel/linux-redcore-lts : drop old --- .../pcmanfm-qt-share/files/ShareReadOnly.desktop | 8 +++++++ .../pcmanfm-qt-share/files/ShareReadWrite.desktop | 8 +++++++ .../pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop create mode 100644 x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop create mode 100644 x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild (limited to 'x11-misc/pcmanfm-qt-share') diff --git a/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop b/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop new file mode 100644 index 00000000..e3ef10ac --- /dev/null +++ b/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Action +Name=Samba Network Share (readonly) +Profiles=profile-zero; + +[X-Action-Profile profile-zero] +Exec=/usr/bin/net usershare add %w %f "" Everyone:R guest_ok=y +Name=Default profile diff --git a/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop b/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop new file mode 100644 index 00000000..44a3d165 --- /dev/null +++ b/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Action +Name=Samba Network Share (readwrite) +Profiles=profile-zero; + +[X-Action-Profile profile-zero] +Exec=/usr/bin/net usershare add %w %f "" Everyone:F guest_ok=y && chmod = 777 %f +Name=Default profile diff --git a/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild b/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild new file mode 100644 index 00000000..c7c24c35 --- /dev/null +++ b/x11-misc/pcmanfm-qt-share/pcmanfm-qt-share-1710.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="PCManFM-QT custom action to share folder using Samba" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="net-fs/samba" +RDEPEND="${DEPEND}" + +S="${FILESDIR}" + +src_install() { + dodir "/usr/share/file-manager/actions" || die + insinto "/usr/share/file-manager/actions" || die + doins -r "${S}/"* || die +} -- cgit v1.2.3