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
1.0 KiB
55 lines
1.0 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
8 years ago
|
inherit cmake-utils gnome2-utils vcs-snapshot xdg
|
||
8 years ago
|
|
||
|
DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions"
|
||
|
HOMEPAGE="http://www.keepassx.org/"
|
||
|
SRC_URI="https://www.keepassx.org/releases/${PV}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="|| ( GPL-2 GPL-3 ) BSD GPL-2 LGPL-2.1 LGPL-3+ CC0-1.0 public-domain || ( LGPL-2.1 GPL-3 )"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||
8 years ago
|
IUSE="test"
|
||
|
|
||
|
DEPEND="
|
||
|
dev-libs/libgcrypt:0=
|
||
|
dev-qt/qtcore:4
|
||
|
dev-qt/qtgui:4
|
||
|
dev-qt/qttest:4
|
||
|
sys-libs/zlib
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libXtst
|
||
|
"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
DOCS=(CHANGELOG)
|
||
|
|
||
8 years ago
|
src_prepare() {
|
||
|
xdg_src_prepare
|
||
|
cmake-utils_src_prepare
|
||
|
}
|
||
|
|
||
8 years ago
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DWITH_TESTS="$(usex test)"
|
||
|
)
|
||
|
cmake-utils_src_configure
|
||
|
}
|
||
8 years ago
|
|
||
|
pkg_preinst() {
|
||
|
gnome2_icon_savelist
|
||
|
xdg_pkg_preinst
|
||
|
}
|
||
|
pkg_postinst() {
|
||
|
gnome2_icon_cache_update
|
||
|
xdg_pkg_postinst
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
gnome2_icon_cache_update
|
||
|
xdg_pkg_postrm
|
||
|
}
|