From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6CD5138359 for ; Wed, 11 Nov 2020 21:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA651E0BA3; Wed, 11 Nov 2020 21:58:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C682CE0B9B for ; Wed, 11 Nov 2020 21:58:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADED6340E1B for ; Wed, 11 Nov 2020 21:58:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FB063C3 for ; Wed, 11 Nov 2020 21:58:00 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1605131862.7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/signon-oauth2/files/, net-libs/signon-oauth2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/signon-oauth2/Manifest net-libs/signon-oauth2/files/signon-oauth2-0.25-cxxflags.patch net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch net-libs/signon-oauth2/signon-oauth2-0.25.ebuild X-VCS-Directories: net-libs/signon-oauth2/ net-libs/signon-oauth2/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2 X-VCS-Branch: master Date: Wed, 11 Nov 2020 21:58:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3b365110-84db-44a2-a49d-aa362eaad9fd X-Archives-Hash: 5e13c518c541ee0c7671c4697ee73590 commit: 7b0af34e07c3a190a23c37611c73a2ecf9f1b0c2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Nov 11 21:40:43 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Nov 11 21:57:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0af34e net-libs/signon-oauth2: 0.25 version bump Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/signon-oauth2/Manifest | 1 + .../files/signon-oauth2-0.25-cxxflags.patch | 29 ++++++++++++ .../signon-oauth2-0.25-pkgconfig-libdir.patch | 14 ++++++ net-libs/signon-oauth2/signon-oauth2-0.25.ebuild | 55 ++++++++++++++++++++++ 4 files changed, 99 insertions(+) diff --git a/net-libs/signon-oauth2/Manifest b/net-libs/signon-oauth2/Manifest index 050b4e9172a..2950b1955cc 100644 --- a/net-libs/signon-oauth2/Manifest +++ b/net-libs/signon-oauth2/Manifest @@ -1 +1,2 @@ DIST signon-oauth2-0.24.tar.gz 39011 BLAKE2B 41b672d1f489321b2f93f245530da1e51867eb4f0d1675ba72240f59f5ab7d6d2a079899e1a6dbc63c82bc53e1fab467c6696f5171c98ab00243d5ec9ddd92f4 SHA512 8a1e5be7f34419ded7841cb4de62e03ab56556f39ae40e3e11b549d45c6c51edc6888d1aab254c0ba6746d6306bb8b92dd24e473387542d6a987208c20acf6d9 +DIST signon-oauth2-0.25.tar.gz 41090 BLAKE2B d14cde073cf834427e337f94345b719ad1af38a285587f987f6ed42f96e8aecfcf63720e42b7f86f2018565c198e1f31b7b75da74c86db3e8a15680da70d3f9e SHA512 721cd514ee0a1175e3b1bbaa78dc1a87fd382327bcbee8356de040f04455f7cc80ed173e3f33a6acf4c0d679847063a25282e9d5c9a9be99f730bec41be96451 diff --git a/net-libs/signon-oauth2/files/signon-oauth2-0.25-cxxflags.patch b/net-libs/signon-oauth2/files/signon-oauth2-0.25-cxxflags.patch new file mode 100644 index 00000000000..ea64d2c8b64 --- /dev/null +++ b/net-libs/signon-oauth2/files/signon-oauth2-0.25-cxxflags.patch @@ -0,0 +1,29 @@ +From 94e7cdbe1b15455e932a2272fdf2284fecfb9204 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Wed, 11 Nov 2020 22:35:06 +0100 +Subject: [PATCH] Disable -Werror, -fno-rtti + +Signed-off-by: Andreas Sturmlechner +--- + common-project-config.pri | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/common-project-config.pri b/common-project-config.pri +index e149d90..9c7801a 100644 +--- a/common-project-config.pri ++++ b/common-project-config.pri +@@ -17,10 +17,7 @@ UI_DIR = ui + UI_HEADERS_DIR = ui/include + UI_SOURCES_DIR = ui/src + +-QMAKE_CXXFLAGS += -fno-exceptions \ +- -fno-rtti +-# we don't like warnings... +-unix:QMAKE_CXXFLAGS += -Werror ++QMAKE_CXXFLAGS += -fno-exceptions + + TOP_SRC_DIR = $$PWD + +-- +2.29.2 + diff --git a/net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch b/net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch new file mode 100644 index 00000000000..fd61e4c2aed --- /dev/null +++ b/net-libs/signon-oauth2/files/signon-oauth2-0.25-pkgconfig-libdir.patch @@ -0,0 +1,14 @@ +--- a/src/signon-oauth2plugin.pc 2016-06-02 11:44:21.000000000 +0200 ++++ b/src/signon-oauth2plugin.pc 2017-11-03 10:57:35.659278702 +0100 +@@ -1,9 +1,9 @@ + prefix=/usr + exec_prefix=${prefix} +-libdir=${prefix}/lib/ ++libdir=${prefix}/@LIBDIR@/ + includedir=${prefix}/include + Name: signon-oauth2plugin + Description: Signon OAuth 2.0 plugin + Version: 0.0.1 + Requires: signon-plugins +-Libs.private: -L/usr/lib -lQtCore ++Libs.private: -L/usr/@LIBDIR@ -lQtCore 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 00000000000..76e60e083a2 --- /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 +}