net-libs/signon-ui: New package
authorJohannes Huber <johu@gentoo.org>
Thu, 27 Aug 2015 12:53:45 +0000 (14:53 +0200)
committerJohannes Huber <johu@gentoo.org>
Thu, 27 Aug 2015 12:53:45 +0000 (14:53 +0200)
Needed for KDEs Telepathy client based on KF5. Initial ebuild by Karol Herbst
<git@karolherbst.de>. Improvements by Michael Palimaka <kensington@gentoo.org>.

Package-Manager: portage-2.2.20.1

net-libs/signon-ui/Manifest [new file with mode: 0644]
net-libs/signon-ui/metadata.xml [new file with mode: 0644]
net-libs/signon-ui/signon-ui-0.15.ebuild [new file with mode: 0644]

diff --git a/net-libs/signon-ui/Manifest b/net-libs/signon-ui/Manifest
new file mode 100644 (file)
index 0000000..66e965c
--- /dev/null
@@ -0,0 +1 @@
+DIST signon-ui-0.15.tar.bz2 60278 SHA256 a14f0a82af129e33476e9d6839fa2d5e40c46a6e8bb71d7deb6255d995764af3 SHA512 02167d48cec3efbd1b0f39f65732742416b46e638a888a74df02bbfeb6deaefdd81549c8cee1a80ecdc8a9f9d0363a6935e8f105bec40bb798af5cc19a74bf03 WHIRLPOOL a4dbc850ff732998dc4aa3d63312e0bd5ca4865a3c3510f323fd6b3935983f82b8943a0d6f3a758d894d104f23c559ee7b15c8ae0ddf2a4966550aff7bb4ee0f
diff --git a/net-libs/signon-ui/metadata.xml b/net-libs/signon-ui/metadata.xml
new file mode 100644 (file)
index 0000000..a23f444
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>kde</herd>
+</pkgmetadata>
diff --git a/net-libs/signon-ui/signon-ui-0.15.ebuild b/net-libs/signon-ui/signon-ui-0.15.ebuild
new file mode 100644 (file)
index 0000000..314c7de
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit qmake-utils
+
+DESCRIPTION="Signon UI"
+HOMEPAGE="https://launchpad.net/signon-ui"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RESTRICT="test"
+
+# libproxy[kde] results into segfaults
+RDEPEND="
+       dev-libs/glib:2
+       dev-qt/qtcore:5
+       dev-qt/qtdbus:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtwebkit:5
+       dev-qt/qtwidgets:5
+       net-libs/accounts-qt
+       net-libs/signond
+       net-libs/libproxy[-kde]
+       x11-libs/libnotify
+"
+DEPEND="${RDEPEND}
+       test? ( dev-qt/qttest:5 )
+"
+
+src_prepare() {
+       use test || sed -i -e '/^SUBDIRS.*/,+1d' tests/tests.pro || die "couldn't disable tests"
+}
+
+src_configure() {
+       eqmake5
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+}