public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/signond/
Date: Sun, 23 Dec 2018 01:25:52 +0000 (UTC)	[thread overview]
Message-ID: <1545528327.8ba7594d3e73e3cde03b97b877ba350e41c83f6c.asturm@gentoo> (raw)

commit:     8ba7594d3e73e3cde03b97b877ba350e41c83f6c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 23 01:05:18 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 23 01:25:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba7594d

net-libs/signond: Override LIBDIR to avoid buildsystem assumption

Bug: https://bugs.gentoo.org/668562
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/signond/signond-8.59-r1.ebuild | 65 +++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/net-libs/signond/signond-8.59-r1.ebuild b/net-libs/signond/signond-8.59-r1.ebuild
new file mode 100644
index 00000000000..8a154b36b17
--- /dev/null
+++ b/net-libs/signond/signond-8.59-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils vcs-snapshot
+
+DESCRIPTION="Signon daemon for libaccounts-glib"
+HOMEPAGE="https://01.org/gsso/"
+SRC_URI="https://gitlab.com/accounts-sso/signond/repository/archive.tar.gz?ref=VERSION_8.59 -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE="doc test"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsql:5
+	net-libs/libproxy
+"
+DEPEND="${COMMON_DEPEND}
+	doc? ( app-doc/doxygen )
+	test? ( dev-qt/qttest:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+	!<net-libs/libproxy-0.4.12[kde]
+"
+# <libproxy-0.4.12[kde] results in segfaults due to symbol collisions with qt4
+
+src_prepare() {
+	default
+
+	# remove unused dependency
+	sed -e "/xml \\\/d" -i src/signond/signond.pro || die
+
+	# ensure qt5 version of binary is used
+	sed -e "s|qdbusxml2cpp|$(qt5_get_bindir)/&|" -i src/signond/signond.pro || die
+
+	# install docs to correct location
+	sed -e "s|share/doc/\$\${PROJECT_NAME}|share/doc/${PF}|" -i doc/doc.pri || die
+
+	# don't install example plugin
+	sed -e "/example/d" -i src/plugins/plugins.pro || die
+
+	# make tests optional
+	use test || sed -i -e '/^SUBDIRS/s/tests//' signon.pro || die "couldn't disable tests"
+
+	# make docs optional
+	use doc || sed -e "/include(\s*doc\/doc.pri\s*)/d" -i \
+		signon.pro -i lib/SignOn/SignOn.pro lib/plugins/plugins.pro || die
+}
+
+src_configure() {
+	eqmake5 LIBDIR=/usr/$(get_libdir)
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+}


             reply	other threads:[~2018-12-23  1:25 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23  1:25 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09  8:33 [gentoo-commits] repo/gentoo:master commit in: net-libs/signond/ Andreas Sturmlechner
2025-01-03 20:31 Andreas Sturmlechner
2025-01-03 20:31 Andreas Sturmlechner
2024-10-05  7:07 Michał Górny
2024-10-04 21:04 Andreas Sturmlechner
2024-06-28 12:59 Sam James
2024-06-28  0:59 Sam James
2024-06-28  0:16 Sam James
2024-04-25 20:43 Andreas Sturmlechner
2024-01-12 14:03 Sam James
2023-03-23 19:52 Andreas Sturmlechner
2022-10-16 11:42 Andreas Sturmlechner
2022-10-06  9:14 Andreas Sturmlechner
2022-09-21 21:36 Andreas Sturmlechner
2022-05-09  8:37 Jakov Smolić
2022-05-09  7:33 Jakov Smolić
2022-05-09  7:33 Jakov Smolić
2022-03-20 13:47 Andreas Sturmlechner
2022-03-16 16:40 Andreas Sturmlechner
2021-08-01 18:27 Sam James
2020-06-30  9:27 Andreas Sturmlechner
2020-06-30  6:32 Agostino Sarubbo
2020-06-29 13:40 Agostino Sarubbo
2020-06-28 21:55 Andreas Sturmlechner
2020-06-08 16:34 Mart Raudsepp
2019-12-11 16:52 Andreas Sturmlechner
2019-12-11 16:14 Aaron Bauman
2019-12-10  9:17 Agostino Sarubbo
2019-12-09 14:38 Agostino Sarubbo
2019-12-08 23:01 Andreas Sturmlechner
2019-12-08 22:35 Andreas Sturmlechner
2019-08-04 10:19 Michael Palimaka
2019-01-09 11:52 Andreas Sturmlechner
2017-12-25  2:23 Michael Palimaka
2017-12-25  2:23 Michael Palimaka
2017-10-28 20:52 Andreas Sturmlechner
2016-07-25 21:00 Michael Palimaka
2016-06-23 13:40 Michael Palimaka
2016-05-24 11:39 Mikle Kolyada
2016-03-22 14:41 Michael Palimaka
2015-12-21 14:17 Michael Palimaka
2015-12-20 18:31 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1545528327.8ba7594d3e73e3cde03b97b877ba350e41c83f6c.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox