You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-apps/libkeduvocdocument/libkeduvocdocument-18.08.3....

31 lines
596 B

# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KDE_TEST="true"
inherit kde5
DESCRIPTION="Library for reading/writing KVTML"
KEYWORDS="amd64 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
fi
}