diff options
Diffstat (limited to 'net-libs/signon-oauth2')
-rw-r--r-- | net-libs/signon-oauth2/Manifest | 3 | ||||
-rw-r--r-- | net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r1.ebuild (renamed from net-libs/signon-oauth2/signon-oauth2-0.25_p20210102.ebuild) | 2 | ||||
-rw-r--r-- | net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r2.ebuild | 72 |
3 files changed, 75 insertions, 2 deletions
diff --git a/net-libs/signon-oauth2/Manifest b/net-libs/signon-oauth2/Manifest index 16f12f7efa99..1c4fcfec8b96 100644 --- a/net-libs/signon-oauth2/Manifest +++ b/net-libs/signon-oauth2/Manifest @@ -12,5 +12,6 @@ AUX signon-oauth2-0.24-dont-install-tests.patch 352 BLAKE2B 6dfa625f68f017894741 AUX signon-oauth2-0.25-drop-fno-rtti.patch 699 BLAKE2B 9913bb6405ecba28b2661c6c72245f71f0d4070110729a492a7dc01aa6de248d2a2fd06fb497ff213aeaf9f0f9ef63022993558a85409abb01efcf0d6698c7fa SHA512 08f2fa31707655af966cc99296e3497ab922d84a81348ab7d16557232ca6a967d452798ff510fda9724b59b8fbda3c7107ecfc4b8f064ab974889b3675108a8b AUX signon-oauth2-0.25-pkgconfig-libdir.patch 455 BLAKE2B 787c03ead028ff9e7980deb7eb4e2439864a1307e60dfa34b3e7c18d9f2b753016aa79208651624f10cebdfd89b672eb03097a8c7482389e7bb128bb16189e58 SHA512 b0589d51b4d5c7c51754752c7159e501620d782916fcea8aeb7d3eb8b33121372517be4babce48c90e5abd2e1fde9d3663deb66a8d2065e8cdbfedbf938b7a6d DIST signon-oauth2-0.25_p20210102.tar.bz2 34873 BLAKE2B 4e53f6d19cf0e9c8513afef44ab640dcd3ed811a9830acff65abd997691926388015b35e6f010c6a0bc25cc257e22a4b8e359ec690bbc35182cd1cf87c716b85 SHA512 5b371e6230c9ed4352ff151626dfaf40d2ecb41e389ee3a753fc41be3937191d416b864d555fd85cecbfe1615233a063db881adae3ea29aefb652a36d46633b5 -EBUILD signon-oauth2-0.25_p20210102.ebuild 2395 BLAKE2B dceda357dd1c1c5b0e889ba17b427fd8b727152107898e95bfa77b991ac84f94166d90943561c9a700f2d9b8a637bd54304e4f5d9c5135ad1a7cc74319d4c2b9 SHA512 3fa1c8bc26dd5dff805c870fb2307d7fbe584a4a035ee51c4f66e77253db0779bd6ee8258c98ad438c7e4612fd14621077f7d300795d3a6f870ced91da50bf62 +EBUILD signon-oauth2-0.25_p20210102-r1.ebuild 2398 BLAKE2B 7eac97ef3af6e3701f35d85fea9ea3333553ec7f6ce9911f3b3d2928a64510b3d2bfdad9907c38d6599d02a95cb30d65946c9aa889fcbf40f905da4474d5f0d4 SHA512 ebf9953916badebd4cd201c57665593e8767e7c5f427aa0586cf8066a31215e3e2b543656552eb0cb9e1757c34d0bc87a32aad2aa609a33c0f5212ad2330a87b +EBUILD signon-oauth2-0.25_p20210102-r2.ebuild 2123 BLAKE2B 479365d9fdde0da7e499013eadfaff13fe3b866edf2678057863184afce505cf28d3a66110d91f3f7d942ed3fcfc9908a9f0f31464c61d100041175c262dea19 SHA512 743f9a74b4ed253f01bf4f4c44af7d48d0792ecc1bc0ad953b38fc0f4045f42578af2efcaae9d68cfc68841b37d4b4e099740e36d0f1db686c62146de2671a4c MISC metadata.xml 348 BLAKE2B 223f85a8556cf010e028dcfe0fffc9d524d38f591aa07af45cb992f9095651113deeb18bb5a2a90b363b4dc62307a19e410c9ccc51b6d87de1b98a1e457ab8b7 SHA512 00f32e7e48f5bd2cad3286636d35f6d328a100eb555fed58b2ce49447a14a0fcc20a087f3fb0227e56669bd5873551532b4e3d36772fd5fae7f4d11dc0c84f68 diff --git a/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r1.ebuild index 060cd8e719a1..064c9dfa4fd9 100644 --- a/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102.ebuild +++ b/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r1.ebuild @@ -40,7 +40,7 @@ RDEPEND=" dev-qt/qtnetwork:5[ssl] ) qt6? ( dev-qt/qtbase:6[network,ssl] ) - >=net-libs/signond-8.61-r100[qt5=,qt6=] + >=net-libs/signond-8.61-r100[qt5=,qt6(+)=] " DEPEND=" ${RDEPEND} diff --git a/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r2.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r2.ebuild new file mode 100644 index 000000000000..1f6af000813d --- /dev/null +++ b/net-libs/signon-oauth2/signon-oauth2-0.25_p20210102-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=signon-plugin-oauth2 +MY_PV=VERSION_${PV} +MY_P=${MY_PN}-${MY_PV} +inherit qmake-utils + +if [[ ${PV} = *9999* ]] ; then + EGIT_REPO_URI="https://gitlab.com/nicolasfella/${MY_PN}.git/" + EGIT_BRANCH="qt6" + inherit git-r3 +else + COMMIT=d759439066f0a34e5ad352ebab0b3bb2790d429e + if [[ -n ${COMMIT} ]] ; then + SRC_URI="https://gitlab.com/accounts-sso/${MY_PN}/-/archive/${COMMIT}/${MY_PN}-${COMMIT}.tar.bz2 -> ${P}.tar.bz2" + S="${WORKDIR}/${MY_PN}-${COMMIT}" + else + SRC_URI="https://gitlab.com/accounts-sso/${MY_PN}/-/archive/${MY_PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2" + S="${WORKDIR}/${MY_P}" + fi + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="OAuth2 plugin for Signon daemon" +HOMEPAGE="https://gitlab.com/accounts-sso/signon-plugin-oauth2" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtbase:6[network,ssl] + >=net-libs/signond-8.61-r100[qt6(+)] +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/0001-Port-QSignalSpys-to-PMF-syntax.patch + "${FILESDIR}"/0002-Port-to-new-connection-syntax.patch + "${FILESDIR}"/0003-Port-away-from-deprecated-error-signal.patch + "${FILESDIR}"/0004-Port-away-from-deprecated-qrand.patch + "${FILESDIR}"/0005-Fix-string-concatenation-in-Qt6.patch + "${FILESDIR}"/0006-Port-away-from-deprecated-QRegExp.patch + "${FILESDIR}"/0007-Build-with-C-17.patch + "${FILESDIR}"/0008-Use-correct-signon-in-example.patch + "${FILESDIR}"/0009-Port-away-from-deprecated-QString-SplitBehavior.patch + "${FILESDIR}"/0010-Port-away-from-deprecated-QList-toSet.patch + # downstream patches + "${FILESDIR}/${PN}-0.24-dont-install-tests.patch" + "${FILESDIR}/${PN}-0.25-pkgconfig-libdir.patch" + "${FILESDIR}/${PN}-0.25-drop-fno-rtti.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 ) + + eqmake6 "${myqmakeargs[@]}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |