blob: c351424e4a20f5491a8dbba2da38b6cfccad8ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit qmake-utils
DESCRIPTION="Qt5 bindings for libaccounts-glib"
HOMEPAGE="https://01.org/gsso/"
SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE="doc test"
# killed by stack smashing detector
RESTRICT="test"
RDEPEND="
net-libs/libaccounts-glib
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() {
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
}
src_install() {
emake INSTALL_ROOT="${D}" install
}
|