diff options
Diffstat (limited to 'kde-apps/libkeduvocdocument/libkeduvocdocument-19.04.3.ebuild')
-rw-r--r-- | kde-apps/libkeduvocdocument/libkeduvocdocument-19.04.3.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kde-apps/libkeduvocdocument/libkeduvocdocument-19.04.3.ebuild b/kde-apps/libkeduvocdocument/libkeduvocdocument-19.04.3.ebuild new file mode 100644 index 000000000000..f41a2235cb20 --- /dev/null +++ b/kde-apps/libkeduvocdocument/libkeduvocdocument-19.04.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_TEST="true" +inherit kde5 + +DESCRIPTION="Library for reading/writing KVTML" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_qt_dep qtxml) +" +RDEPEND="${DEPEND}" + +src_prepare(){ + kde5_src_prepare + + if ! use test; then + sed -e "/add_subdirectory(autotests)/ s/^/#DONT/" \ + -e "/add_subdirectory(tests)/ s/^/#DONT/" \ + -i keduvocdocument/CMakeLists.txt || die + fi +} |