| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/kencfs/kencfs-1.2.ebuild,v 1.2 2012/06/21 09:35:07 kensington Exp $
|
| 4 |
|
| 5 |
EAPI=5
|
| 6 |
LANGS="it"
|
| 7 |
|
| 8 |
inherit qt4-r2
|
| 9 |
|
| 10 |
DESCRIPTION="GUI frontend for encfs"
|
| 11 |
HOMEPAGE="http://kde-apps.org/content/show.php?content=134003"
|
| 12 |
SRC_URI="http://kde-apps.org/CONTENT/content-files/134003-${P}.tar.gz"
|
| 13 |
|
| 14 |
LICENSE="LGPL-2.1"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="~amd64 ~x86"
|
| 17 |
IUSE=""
|
| 18 |
|
| 19 |
DEPEND="kde-base/kdelibs
|
| 20 |
x11-libs/qt-core:4
|
| 21 |
x11-libs/qt-gui:4
|
| 22 |
"
|
| 23 |
RDEPEND="${DEPEND}
|
| 24 |
sys-fs/encfs
|
| 25 |
"
|
| 26 |
|
| 27 |
PATCHES=(
|
| 28 |
"${FILESDIR}/${PN}-1.1-underlinking.patch"
|
| 29 |
"${FILESDIR}/${P}-desktop.patch"
|
| 30 |
"${FILESDIR}/${P}-encfs5.patch"
|
| 31 |
"${FILESDIR}/${P}-gcc-4.7.patch"
|
| 32 |
)
|
| 33 |
|
| 34 |
src_prepare() {
|
| 35 |
qt4-r2_src_prepare
|
| 36 |
|
| 37 |
sed -i ${PN}.pro -e "/^doc.path =/s/${PN}-1.1/${PF}/" \
|
| 38 |
|| die "sed docdir failed"
|
| 39 |
|
| 40 |
if ! use linguas_it ; then
|
| 41 |
sed -i ${PN}.pro -e "s/*.qm//" \
|
| 42 |
|| die "sed TRANSLATIONS failed"
|
| 43 |
fi
|
| 44 |
}
|