From: Johannes Huber Date: Thu, 27 Aug 2015 12:09:51 +0000 (+0200) Subject: net-libs/signon-oauth2: New package X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e7be806735e476597f1efad3e6a0776d05b863d;p=gentoo.git net-libs/signon-oauth2: New package Required for KDEs Telepathy client based on KF5. Import from kde overlay. Initial ebuild by Karol Herbst . Package-Manager: portage-2.2.20.1 --- diff --git a/net-libs/signon-oauth2/Manifest b/net-libs/signon-oauth2/Manifest new file mode 100644 index 000000000000..51b7f4fc5a32 --- /dev/null +++ b/net-libs/signon-oauth2/Manifest @@ -0,0 +1 @@ +DIST signon-oauth2-0.21.tar.bz2 37819 SHA256 d09b74d9b298c1f2d5229b15d2aa1761a7e8fe0fb26d16626dd28faba3e314a3 SHA512 b0f97353e87c08420c3132f3357522b526a7c48df807ab833e05297ebfc86e0e8f25d4d3aa94e8ebc4aa1d9bc77856d63c43e5b5e9f3e63628f7710b9a056fd0 WHIRLPOOL 9ed35ca0f1a457665f6991d5d8d550e07f0cc0db428b5c8dd4f1a7f0056989fe9961ab657e54de531c3c7f185c987c6531c008c012d3de38f15780fdfdfb0651 diff --git a/net-libs/signon-oauth2/metadata.xml b/net-libs/signon-oauth2/metadata.xml new file mode 100644 index 000000000000..a23f444b67d6 --- /dev/null +++ b/net-libs/signon-oauth2/metadata.xml @@ -0,0 +1,5 @@ + + + + kde + diff --git a/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild new file mode 100644 index 000000000000..2c5b49bc870f --- /dev/null +++ b/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils + +DESCRIPTION="OAuth2 plugin for Signon daemon" +HOMEPAGE="https://01.org/gsso/" +SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + net-libs/signond +" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 ) +" + +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 +}