DIST kencfs-plasma-2.0.1a.tar.gz 216580 BLAKE2B 7c8e77e3019d48d37437f2031c5c522b30c89a927ca3a51571e42decaa004a5cfb3c5b84d50ee1c775599943a23cc58a7b994e94e0e316a7539d793004d05035 SHA512 a9093680bb141c18e2d4ed8a966f7176c40c10fa0ee6e5cee25ae26ef3f94e6ffc7e3f0a7b55321640e4ba6e484d75755f901b53688dbfc5c22a1c0b1e01cfac
+DIST kencfs-plasma-2.0.2a.tar.gz 224022 BLAKE2B 281f1db349085ccc69db7e3795eb82a591d83beffb1036de7689939c2e9d07bad6c0677da72a45ef0df5d399bdc768d3ce1157112fa63403fb65bfed84a366ed SHA512 859dfd493b01343960210025ca3dde8bb18a141b48f68e941c0a832c88210eff775d10a6b3eb45d6f1a89ecbc812fe6785077e54e648b1a9ff66e73ea1cebfe0
--- /dev/null
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/_alpha/a}"
+inherit qmake-utils
+
+DESCRIPTION="GUI frontend for encfs"
+HOMEPAGE="https://www.linux-apps.com/p/1170068/"
+SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ kde-frameworks/kconfig:5
+ kde-frameworks/knotifications:5
+ kde-frameworks/kwallet:5
+"
+RDEPEND="${DEPEND}
+ sys-fs/encfs
+"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.0.1_alpha-include.patch"
+ "${FILESDIR}/${PN}-2.0.1_alpha-qt-5.11.patch"
+)
+
+src_prepare() {
+ default
+
+ sed -i ${PN}.pro -e "/^INSTALLS/s/ doc//" || die
+
+ # fix desktop validation
+ sed -i ${PN}.desktop -e "s|kencfs-plasma/kencfs-icon|/usr/share/icons/&.png|" || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}