summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/accounts-qt')
-rw-r--r--net-libs/accounts-qt/accounts-qt-1.15.ebuild34
1 files changed, 22 insertions, 12 deletions
diff --git a/net-libs/accounts-qt/accounts-qt-1.15.ebuild b/net-libs/accounts-qt/accounts-qt-1.15.ebuild
index 042c2bffddf3..9b7e7c225ad9 100644
--- a/net-libs/accounts-qt/accounts-qt-1.15.ebuild
+++ b/net-libs/accounts-qt/accounts-qt-1.15.ebuild
@@ -1,43 +1,53 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit qmake-utils vcs-snapshot
+inherit qmake-utils
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"
+SRC_URI="https://gitlab.com/accounts-sso/lib${PN}/repository/VERSION_${PV}/archive.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 x86"
IUSE="doc test"
-# dbus problems
-RESTRICT="test"
-
+BDEPEND="
+ doc? ( app-doc/doxygen )
+"
RDEPEND="
- >=net-libs/libaccounts-glib-1.23:=
dev-libs/glib:2
dev-qt/qtcore:5
dev-qt/qtxml:5
+ >=net-libs/libaccounts-glib-1.23:=
"
DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
test? ( dev-qt/qttest:5 )
"
+# dbus problems
+RESTRICT="test"
+
+S="${WORKDIR}/lib${PN}-VERSION_${PV}-5b272ae218ccdf1f67f4eed92e2cdbe21c56ceb8"
+
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"
+ sed -e "s|share/doc/\$\${PROJECT_NAME}|share/doc/${PF}|" \
+ -i doc/doc.pri || die
+ if ! use doc; then
+ sed -e "/include( doc\/doc.pri )/d" -i ${PN}.pro || die
+ fi
+ if ! use test; then
+ sed -e '/^SUBDIRS/s/tests//' \
+ -i accounts-qt.pro || die "couldn't disable tests"
+ fi
}
src_configure() {
- eqmake5 LIBDIR="${EPREFIX%/}/usr/$(get_libdir)"
+ eqmake5 LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}
src_install() {