diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-03-03 13:59:04 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-03-03 13:59:45 +0100 |
commit | 3e6c96137dbfd843580ddb5a06bc13d3bd53e8e8 (patch) | |
tree | a750d54fa059bda44038ed15ccb5513efc3eff0e /app-admin/keepassxc/keepassxc-2.1.3.ebuild | |
parent | sys-auth/pam_pkcs11: cleanup (diff) | |
download | gentoo-3e6c96137dbfd843580ddb5a06bc13d3bd53e8e8.tar.gz gentoo-3e6c96137dbfd843580ddb5a06bc13d3bd53e8e8.tar.bz2 gentoo-3e6c96137dbfd843580ddb5a06bc13d3bd53e8e8.zip |
app-admin/keepassxc: Bump to version 2.1.3
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'app-admin/keepassxc/keepassxc-2.1.3.ebuild')
-rw-r--r-- | app-admin/keepassxc/keepassxc-2.1.3.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/app-admin/keepassxc/keepassxc-2.1.3.ebuild b/app-admin/keepassxc/keepassxc-2.1.3.ebuild new file mode 100644 index 000000000000..ab7c275b1b27 --- /dev/null +++ b/app-admin/keepassxc/keepassxc-2.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +SCM="" +[[ "${PV}" == 9999 ]] && SCM="git-r3" +inherit cmake-utils ${SCM} +unset SCM + +DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" +HOMEPAGE="https://github.com/keepassxreboot/keepassxc" + +if [[ "${PV}" != 9999 ]] ; then + SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +else + EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" +fi + +LICENSE="LGPL-2.1 GPL-2 GPL-3" +SLOT="0" +IUSE="autotype debug http test" + +RDEPEND=" + dev-libs/libgcrypt:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + sys-libs/zlib + autotype? ( + dev-qt/qtx11extras:5 + x11-libs/libXi + x11-libs/libXtst + ) +" +# yubikey? ( sys-auth/libyubikey ) + +DEPEND=" + ${RDEPEND} + dev-qt/linguist-tools:5 + dev-qt/qtconcurrent:5 + test? ( dev-qt/qttest:5 ) +" + +src_prepare() { + use test || \ + sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_GUI_TESTS=OFF + -DWITH_TESTS="$(usex test)" + -DWITH_XC_AUTOTYPE="$(usex autotype)" + -DWITH_XC_HTTP="$(usex http)" + #-DWITH_XC_YUBIKEY="$(usex yubikey)" + ) + cmake-utils_src_configure +} |