diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/signon-oauth2/signon-oauth2-0.21-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/signon-oauth2/signon-oauth2-0.21-r1.ebuild')
-rw-r--r-- | net-libs/signon-oauth2/signon-oauth2-0.21-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-libs/signon-oauth2/signon-oauth2-0.21-r1.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.21-r1.ebuild new file mode 100644 index 000000000000..dc913a9e2838 --- /dev/null +++ b/net-libs/signon-oauth2/signon-oauth2-0.21-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils qmake-utils + +DESCRIPTION="OAuth2 plugin for Signon daemon" +HOMEPAGE="https://01.org/gsso/" +SRC_URI="https://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[ssl] + 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 + + epatch "${FILESDIR}/${P}-unused-dependency.patch" +} + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |