diff options
author | 2017-02-18 14:59:30 +1100 | |
---|---|---|
committer | 2017-02-18 14:59:38 +1100 | |
commit | 15287e56093d5cfb85487a8b65113a07f1d7fea4 (patch) | |
tree | 5db3614fde89501e48f2c9c7676527b2d4df0a43 /dev-libs | |
parent | kde-plasma: Remove KDE Plasma 5.9.2 (diff) | |
download | kde-15287e56093d5cfb85487a8b65113a07f1d7fea4.tar.gz kde-15287e56093d5cfb85487a8b65113a07f1d7fea4.tar.bz2 kde-15287e56093d5cfb85487a8b65113a07f1d7fea4.zip |
dev-libs/appstream: fix two issues
revision bump fixing two issues
* Fixes a build failure LINGUAS=""
* Adds a missing dependency
Gentoo-bug: 606624
Gentoo-bug: 609358
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/appstream/appstream-9999.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/dev-libs/appstream/appstream-9999.ebuild b/dev-libs/appstream/appstream-9999.ebuild index c2cf4a6505..5e83584ee6 100644 --- a/dev-libs/appstream/appstream-9999.ebuild +++ b/dev-libs/appstream/appstream-9999.ebuild @@ -4,11 +4,10 @@ EAPI=6 -KDE_AUTODEPS="false" -KDE_TEST="forceoptional-recursive" -inherit kde5 xdg-utils +inherit cmake-utils xdg-utils -if [[ ${KDE_BUILD_TYPE} = live ]]; then +if [[ ${PV} = 9999 ]]; then + inherit git-r3 EGIT_REPO_URI="https://github.com/ximion/${PN}" else inherit versionator @@ -25,10 +24,11 @@ HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/" LICENSE="LGPL-2.1+ GPL-2+" # check APPSTREAM_LIB_API_LEVEL SLOT="0/4" -IUSE="apt doc qt5" +IUSE="apt doc qt5 test" RDEPEND=" dev-libs/glib:2 + dev-libs/gobject-introspection dev-libs/libxml2:2 dev-libs/libyaml dev-libs/snowball-stemmer @@ -43,6 +43,16 @@ DEPEND="${RDEPEND} ) " +src_prepare() { + cmake-utils_src_prepare + + if ! use test; then + pushd qt > /dev/null || die + cmake_comment_add_subdirectory tests + popd > /dev/null || die + fi +} + src_configure() { xdg_environment_reset @@ -58,5 +68,5 @@ src_configure() { -DQT=$(usex qt5) ) - kde5_src_configure + cmake-utils_src_configure } |