diff options
| author | Karol Herbst <git@karolherbst.de> | 2014-11-20 00:10:58 +0100 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2014-12-01 23:38:29 +1100 |
| commit | c3d5bba6e5b4d4c232bc586388dd134a038e23cb (patch) | |
| tree | e0c66c271681552aa48dfff8cfe1010e825065a7 /net-libs/signon-oauth2/signon-oauth2-0.19.ebuild | |
| parent | f313317b95b7cd53c434e3b702fb18787587fee7 (diff) | |
| download | kde-c3d5bba6e5b4d4c232bc586388dd134a038e23cb.tar.gz kde-c3d5bba6e5b4d4c232bc586388dd134a038e23cb.tar.bz2 kde-c3d5bba6e5b4d4c232bc586388dd134a038e23cb.zip | |
[net-libs/signon-oauth2] added
Diffstat (limited to 'net-libs/signon-oauth2/signon-oauth2-0.19.ebuild')
| -rw-r--r-- | net-libs/signon-oauth2/signon-oauth2-0.19.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-libs/signon-oauth2/signon-oauth2-0.19.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.19.ebuild new file mode 100644 index 00000000000..f3c31b36f56 --- /dev/null +++ b/net-libs/signon-oauth2/signon-oauth2-0.19.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit qmake-utils + +SRC_URI="https://accounts-sso.googlecode.com/files/${P}.tar.bz2" +SLOT="0" +DESCRIPTION="OAuth2 plugin for Signon daemon" +HOMEPAGE="https://01.org/gsso/" + +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +IUSE="test" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qttest:5 + net-libs/signond +" +RDEPEND="${DEPEND}" + +src_prepare() { + if use !test; then + sed -i -e '/^SUBDIRS/s/tests//' signon-oauth2.pro || die "couldn't disable tests" + else + sed -i -e '/^INSTALLS.*/,+1d' tests/tests.pro || die "couldn't remove tests from install target" + fi +} + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |
