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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2739115812D for ; Fri, 03 Jan 2025 20:31:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DC4AE07B2; Fri, 03 Jan 2025 20:31:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23B9CE07B2 for ; Fri, 03 Jan 2025 20:31:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25F2733BE12 for ; Fri, 03 Jan 2025 20:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 838591948 for ; Fri, 03 Jan 2025 20:31:02 +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: <1735936235.671f41dcb0c3c7fa172852f2d67fe2a576ff2a62.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/accounts-qt/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/accounts-qt/accounts-qt-1.17-r2.ebuild X-VCS-Directories: net-libs/accounts-qt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 671f41dcb0c3c7fa172852f2d67fe2a576ff2a62 X-VCS-Branch: master Date: Fri, 03 Jan 2025 20:31:02 +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: 8d1de697-2b0f-41f5-8ee1-079941c35b8e X-Archives-Hash: cfb0cba757d779a97640c2d4f28326a2 commit: 671f41dcb0c3c7fa172852f2d67fe2a576ff2a62 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Sep 10 20:18:32 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jan 3 20:30:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671f41dc net-libs/accounts-qt: Drop USE qt5 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/accounts-qt/accounts-qt-1.17-r2.ebuild | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/net-libs/accounts-qt/accounts-qt-1.17-r2.ebuild b/net-libs/accounts-qt/accounts-qt-1.17-r2.ebuild new file mode 100644 index 000000000000..417918c1e7eb --- /dev/null +++ b/net-libs/accounts-qt/accounts-qt-1.17-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +if [[ ${PV} = *9999* ]] ; then + EGIT_REPO_URI="https://gitlab.com/accounts-sso/lib${PN}.git/" + inherit git-r3 +else + SRC_URI="https://gitlab.com/accounts-sso/lib${PN}/-/archive/VERSION_${PV}/lib${PN}-VERSION_${PV}.tar.bz2 -> ${P}.tar.bz2" + S="${WORKDIR}/lib${PN}-VERSION_${PV}" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Qt bindings for libaccounts-glib" +HOMEPAGE="https://accounts-sso.gitlab.io" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test" + +# dbus problems +RESTRICT="test" + +RDEPEND=" + dev-libs/glib:2 + dev-qt/qtbase:6[xml] + >=net-libs/libaccounts-glib-1.23:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen[dot] + dev-qt/qttools:6[assistant] + ) +" + +PATCHES=( "${FILESDIR}/${PN}-1.16-libdir.patch" ) + +src_prepare() { + default + + sed -e "s|share/doc/\$\${PROJECT_NAME}|share/doc/${PF}|" \ + -i doc/doc.pri || die + sed -e "/QHG_LOCATION/s|qhelpgenerator|$(qt6_get_libdir)/qt6/libexec/&|" \ + -i doc/doxy.conf || die + if ! use doc; then + sed -e "/include( doc\/doc.pri )/d" -i ${PN}.pro || die + fi + if ! use test; then + sed -e '/^SUBDIRS/s/tests//' \ + -i accounts-qt.pro || die "couldn't disable tests" + fi +} + +src_configure() { + eqmake6 PREFIX="${EPREFIX}"/usr LIBDIR=$(get_libdir) +} + +src_install() { + emake INSTALL_ROOT="${D}" install +}