diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-12 17:23:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-12 17:23:15 +0100 |
commit | 6e0dec7ba4f6c5793a3d0b85952efa7ec57afa65 (patch) | |
tree | dcf170f6adae0db9a35f68683c81d68edfc54158 /kde-apps/kcontacts/kcontacts-17.08.2.ebuild | |
parent | ab58e299fd6dae92ea274fe7d0ad685d888a51b7 (diff) |
gentoo resync : 12.10.2017
Diffstat (limited to 'kde-apps/kcontacts/kcontacts-17.08.2.ebuild')
-rw-r--r-- | kde-apps/kcontacts/kcontacts-17.08.2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kde-apps/kcontacts/kcontacts-17.08.2.ebuild b/kde-apps/kcontacts/kcontacts-17.08.2.ebuild new file mode 100644 index 000000000000..b0fcdf5759c6 --- /dev/null +++ b/kde-apps/kcontacts/kcontacts-17.08.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Address book API based on KDE Frameworks" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) +" +RDEPEND="${DEPEND} + !kde-apps/kdepim-l10n +" + +src_prepare() { + kde5_src_prepare + + # FIXME: Fails test because access to /dev/dri/card0 is denied + sed -i \ + -e "/ecm_add_tests/ s/picturetest\.cpp //" \ + autotests/CMakeLists.txt || die +} + +src_test() { + mkdir -p "${HOME}/.local/share/kf5/kcontacts" || die + cp "${S}/src/countrytransl.map" "${HOME}/.local/share/kf5/kcontacts/" || die + kde5_src_test +} |