diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-11 22:40:43 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-11 22:57:42 +0100 |
commit | 7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2 (patch) | |
tree | aeb13d3495a4a8cb21cfa2e6aad5e549d288e515 /net-libs/signon-oauth2/signon-oauth2-0.25.ebuild | |
parent | www-plugins/chrome-binary-plugins: automated update (86.0.4240.198) (diff) | |
download | gentoo-7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2.tar.gz gentoo-7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2.tar.bz2 gentoo-7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2.zip |
net-libs/signon-oauth2: 0.25 version bump
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs/signon-oauth2/signon-oauth2-0.25.ebuild')
-rw-r--r-- | net-libs/signon-oauth2/signon-oauth2-0.25.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild new file mode 100644 index 000000000000..76e60e083a28 --- /dev/null +++ b/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=signon-plugin-oauth2 +MY_PV=VERSION_${PV} +MY_P=${MY_PN}-${MY_PV} +inherit qmake-utils + +DESCRIPTION="OAuth2 plugin for Signon daemon" +HOMEPAGE="https://gitlab.com/accounts-sso/signon-plugin-oauth2" +SRC_URI="https://gitlab.com/accounts-sso/${MY_PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl] + net-libs/signond +" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 ) +" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + # downstream patches + "${FILESDIR}/${PN}-0.24-dont-install-tests.patch" + "${FILESDIR}/${P}-pkgconfig-libdir.patch" + "${FILESDIR}/${P}-cxxflags.patch" +) + +src_prepare() { + default + sed -i "s|@LIBDIR@|$(get_libdir)|g" src/signon-oauth2plugin.pc || die +} + +src_configure() { + local myqmakeargs=( + LIBDIR=/usr/$(get_libdir) + ) + use test || myqmakeargs+=( CONFIG+=nomake_tests ) + + eqmake5 "${myqmakeargs[@]}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |