You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
991 B
55 lines
991 B
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
7 years ago
|
|
||
|
MY_P="${P/_alpha/a}"
|
||
|
inherit qmake-utils
|
||
|
|
||
|
DESCRIPTION="GUI frontend for encfs"
|
||
|
HOMEPAGE="https://www.linux-apps.com/p/1170068/"
|
||
5 years ago
|
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${MY_P}.tar.gz"
|
||
7 years ago
|
|
||
|
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}
|
||
|
|
||
6 years ago
|
PATCHES=(
|
||
5 years ago
|
"${FILESDIR}/${PN}-2.0.1_alpha-include.patch"
|
||
|
"${FILESDIR}/${PN}-2.0.1_alpha-qt-5.11.patch"
|
||
6 years ago
|
)
|
||
7 years ago
|
|
||
7 years ago
|
src_prepare() {
|
||
|
default
|
||
|
|
||
5 years ago
|
sed -i ${PN}.pro -e "/^INSTALLS/s/ doc//" || die
|
||
7 years ago
|
|
||
|
# 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
|
||
5 years ago
|
einstalldocs
|
||
7 years ago
|
}
|