summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-09-09 23:08:05 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-09-09 23:08:36 +1000
commit7359a68ca738aa7e27b8da634b72d42fc175bed7 (patch)
tree6efb0314545c7c6902003a64e58dc9186a25dcbb /net-libs/accounts-qt
parentnet-libs/libaccounts-glib: version bump 1.23 (diff)
downloadgentoo-7359a68ca738aa7e27b8da634b72d42fc175bed7.tar.gz
gentoo-7359a68ca738aa7e27b8da634b72d42fc175bed7.tar.bz2
gentoo-7359a68ca738aa7e27b8da634b72d42fc175bed7.zip
net-libs/accounts-qt: version bump 1.15
Closes: https://bugs.gentoo.org/587506 Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'net-libs/accounts-qt')
-rw-r--r--net-libs/accounts-qt/Manifest1
-rw-r--r--net-libs/accounts-qt/accounts-qt-1.15.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/accounts-qt/Manifest b/net-libs/accounts-qt/Manifest
index bae56286904b..620160e3a565 100644
--- a/net-libs/accounts-qt/Manifest
+++ b/net-libs/accounts-qt/Manifest
@@ -1 +1,2 @@
DIST accounts-qt-1.13.tar.bz2 544655 SHA256 9033891b7f122f578d0ccf22b0e31fc478e644e97f24e7ad8fb54ef0a5da30f0 SHA512 e39da214bd4aa72ac745fa2b7735de41985f9d854b6278d0c69c4dccb24ff411d20052454854dce423a2e6cb40bb1fd4b1f82328dcf6acd10cb290881e5c8c54 WHIRLPOOL 7bcd8d15fb902cde2d35ed855ecbc26658aaa9ddfd20271af65f5586bbef83dfb3697d69536231cd28efc35ba0c773da364290c7b7faf618b15d33be68fc560d
+DIST accounts-qt-1.15.tar.gz 64190 SHA256 cfa826076e04a7d075baac12e73f4e890a3401ac30c7f80ed9e257a5c6bfbfef SHA512 36c80a237bc2d427ce3acb62ac3b2e7878ac7e02b00f17022af326b52edbc7ad3d0cf428fb4e1e2bcc1d0d410054102926f549dc18bea137a9d9ea19a2d268d3 WHIRLPOOL 128ad7cff985cabd60dc869c02749aaf0597c5463806edf314e13a4f67ee5cc26b6b4e50e375c0c147ace6f393b422a1bb9c2120b38b6894400cf221723e200b
diff --git a/net-libs/accounts-qt/accounts-qt-1.15.ebuild b/net-libs/accounts-qt/accounts-qt-1.15.ebuild
new file mode 100644
index 000000000000..9372bd2b0986
--- /dev/null
+++ b/net-libs/accounts-qt/accounts-qt-1.15.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils vcs-snapshot
+
+DESCRIPTION="Qt5 bindings for libaccounts-glib"
+HOMEPAGE="https://01.org/gsso/"
+SRC_URI="https://gitlab.com/accounts-sso/libaccounts-qt/repository/VERSION_1.15/archive.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc test"
+
+# dbus problems
+RESTRICT="test"
+
+RDEPEND="
+ >=net-libs/libaccounts-glib-1.23
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ test? ( dev-qt/qttest:5 )
+"
+
+src_prepare() {
+ default
+
+ sed -e "s|share/doc/\$\${PROJECT_NAME}|share/doc/${PF}|" -i doc/doc.pri || die
+ use doc || sed -e "/include( doc\/doc.pri )/d" -i ${PN}.pro || die
+ use test || sed -i -e '/^SUBDIRS/s/tests//' accounts-qt.pro || die "couldn't disable tests"
+}
+
+src_configure() {
+ eqmake5 LIBDIR="${EROOT%/}/usr/$(get_libdir)"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}