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 691491382C5 for ; Sun, 7 Jun 2020 21:00:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0BEAE08A4; Sun, 7 Jun 2020 21:00:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 99209E08A4 for ; Sun, 7 Jun 2020 21:00:29 +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 7D78334F3D9 for ; Sun, 7 Jun 2020 21:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98E6E268 for ; Sun, 7 Jun 2020 21:00: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: <1591563590.43d4d88f4fc7511feacdbfcbdb8c9fd5dd2d73a1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/kqoauth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/kqoauth/kqoauth-0.98-r3.ebuild X-VCS-Directories: dev-libs/kqoauth/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 43d4d88f4fc7511feacdbfcbdb8c9fd5dd2d73a1 X-VCS-Branch: master Date: Sun, 7 Jun 2020 21:00: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: b3661df6-4874-4fc5-b425-34846753404f X-Archives-Hash: f6560b365bf5b64093b07d5a0dccc083 commit: 43d4d88f4fc7511feacdbfcbdb8c9fd5dd2d73a1 Author: 0xd34df00d <0xd34df00d gmail com> AuthorDate: Sat Jun 6 23:10:07 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 7 20:59:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d4d88f dev-libs/kqoauth: fix the .pc that gets installed Closes: https://bugs.gentoo.org/727362 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georg Rudoy <0xd34df00d gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16102 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/kqoauth/kqoauth-0.98-r3.ebuild | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild b/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild new file mode 100644 index 00000000000..4df7af3b220 --- /dev/null +++ b/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib qmake-utils + +DESCRIPTION="Library for Qt that implements the OAuth 1.0 authentication specification" +HOMEPAGE="https://github.com/kypeli/kQOAuth" +SRC_URI="https://github.com/kypeli/kQOAuth/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/kQOAuth-${PV}" + +src_prepare() { + default + + # prevent tests from beeing built at src_compile + sed -i -e '/SUBDIRS/s/ tests//' ${PN}.pro || die "sed on ${PN}.pro failed" + # respect libdir + sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g' -i src/src.pro || die "sed on src.pro failed" + + sed \ + -e "s/TARGET = kqoauth/TARGET = kqoauth-qt5/g" \ + -i src/src.pro || die + + # upstream .pc is aimed at Qt4 + sed \ + -e "s/-lkqoauth/-lkqoauth-qt5/g" \ + -e "/^libdir/s/lib$/$(get_libdir)/" \ + -e "s/QtCore/Qt5Core/g" \ + -e "s/QtNetwork/Qt5Network/g" \ + -i src/pcfile.sh || die +} + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +}