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/dev-util/kdbg/kdbg-3.0.0-r1.ebuild

44 lines
989 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
KDE_HANDBOOK="true"
inherit kde5
DESCRIPTION="Graphical debugger interface"
HOMEPAGE="http://www.kdbg.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
"
RDEPEND="${DEPEND}
!dev-util/kdbg:4
sys-devel/gdb
"
PATCHES=( "${FILESDIR}/${P}-no-png-install.patch" )
src_prepare() {
# allow documentation to be handled by eclass
mv kdbg/doc . || die
sed -i -e '/add_subdirectory(doc)/d' kdbg/CMakeLists.txt || die
echo "add_subdirectory ( doc ) " >> CMakeLists.txt || die
kde5_src_prepare
}