summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2015-08-27 13:31:29 +0200
committerJohannes Huber <johu@gentoo.org>2015-08-27 13:33:40 +0200
commit2a1706d1fbe5d8f38bd97ed865b7c795034dbece (patch)
treea845906684fd495bedc0e6225c94fa9df7911fb6 /net-libs
parentkde-apps/dolphin: Version bump 15.08.0 (diff)
downloadgentoo-2a1706d1fbe5d8f38bd97ed865b7c795034dbece.tar.gz
gentoo-2a1706d1fbe5d8f38bd97ed865b7c795034dbece.tar.bz2
gentoo-2a1706d1fbe5d8f38bd97ed865b7c795034dbece.zip
net-libs/signond: New package
Needed for KDEs Telepathy client based on KF5. Import from kde overlay. Initial ebuild by Karol Herbst <git@karolherbst.de>. Improvements by several people. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/signond/Manifest1
-rw-r--r--net-libs/signond/files/signond-8.57-qt55.patch24
-rw-r--r--net-libs/signond/metadata.xml5
-rw-r--r--net-libs/signond/signond-8.57.ebuild54
4 files changed, 84 insertions, 0 deletions
diff --git a/net-libs/signond/Manifest b/net-libs/signond/Manifest
new file mode 100644
index 000000000000..e9e947a305bd
--- /dev/null
+++ b/net-libs/signond/Manifest
@@ -0,0 +1 @@
+DIST signon-8.57.tar.bz2 197988 SHA256 239a2c6bb39c338402d9ae29287fbc439f422f82e7e6d060be23104173620bee SHA512 98bdee0b15fbc0ade1158df95f727ba56ae2966117d8ce7074b4f355dc3be0db27ab52340654da8ab4324e6d8d160c65802e1bed295ac3ad02ddc720581bbdb3 WHIRLPOOL e7bc4f31e2d59ce361b45c77f0eb838e601bf55e24e53413fec3ec91feaec7fad85581b1dba80cb9350584a10822202af748e74f46bc06dc96b2aeff52bf105b
diff --git a/net-libs/signond/files/signond-8.57-qt55.patch b/net-libs/signond/files/signond-8.57-qt55.patch
new file mode 100644
index 000000000000..580c2c4b3f2d
--- /dev/null
+++ b/net-libs/signond/files/signond-8.57-qt55.patch
@@ -0,0 +1,24 @@
+From 68fc7ac7511cb6c55a507442c0736d8bbcb213cf Mon Sep 17 00:00:00 2001
+From: Alberto Mardegan <mardy@users.sourceforge.net>
+Date: Thu, 23 Apr 2015 14:34:19 +0300
+Subject: [PATCH] Fix build with Qt 5.5
+
+---
+ lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp | 1 +
+ 1 file changed, 1 insertion(+), 0 deletions(-)
+
+diff --git a/lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp b/lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp
+index bb00e7d..188324a 100644
+--- a/lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp
++++ b/lib/plugins/signon-plugins-common/SignOn/blobiohandler.cpp
+@@ -25,6 +25,7 @@
+
+ #include <QDBusArgument>
+ #include <QBuffer>
++#include <QDataStream>
+ #include <QDebug>
+
+ #include "SignOn/signonplugincommon.h"
+--
+libgit2 0.22.2
+
diff --git a/net-libs/signond/metadata.xml b/net-libs/signond/metadata.xml
new file mode 100644
index 000000000000..a23f444b67d6
--- /dev/null
+++ b/net-libs/signond/metadata.xml
@@ -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/signond/signond-8.57.ebuild b/net-libs/signond/signond-8.57.ebuild
new file mode 100644
index 000000000000..8e1e54c0d61b
--- /dev/null
+++ b/net-libs/signond/signond-8.57.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="signon"
+MY_P="${MY_PN}-${PV}"
+inherit qmake-utils
+
+DESCRIPTION="Signon daemon for libaccounts-glib"
+HOMEPAGE="https://01.org/gsso/"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RESTRICT="test"
+
+# libproxy[kde] results to segfaults
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ net-libs/libproxy[-kde]
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ test? ( dev-qt/qttest:5 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-qt55.patch"
+
+ sed -e "s|qdbusxml2cpp|$(qt5_get_bindir)/&|" -i src/signond/signond.pro || die
+ sed -e "s|share/doc/\$\${PROJECT_NAME}|share/doc/${PF}|" -i doc/doc.pri || die
+ use test || sed -i -e '/^SUBDIRS/s/tests//' signon.pro || die "couldn't disable tests"
+ use doc || sed -e "/include(\s*doc\/doc.pri\s*)/d" -i \
+ ${MY_PN}.pro -i lib/SignOn/SignOn.pro lib/plugins/plugins.pro || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}