diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-31 21:16:53 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-31 22:46:08 +0200 |
commit | 0f07273076f5886d2219cf4007fadb8c0f04dd27 (patch) | |
tree | ce06911a76b37bec7667e33037ec44038e078b08 /net-libs | |
parent | dev-util/meson: 0.51.2 bump (diff) | |
download | gentoo-0f07273076f5886d2219cf4007fadb8c0f04dd27.tar.gz gentoo-0f07273076f5886d2219cf4007fadb8c0f04dd27.tar.bz2 gentoo-0f07273076f5886d2219cf4007fadb8c0f04dd27.zip |
net-libs/accounts-qt: EAPI-7 bump
Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/accounts-qt/accounts-qt-1.15.ebuild | 34 |
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() { |