# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/juffed/juffed-0.10.ebuild,v 1.4 2014/09/17 21:48:33 nimiux Exp $ EAPI=5 inherit cmake-utils DESCRIPTION="QScintilla-based tabbed text editor with syntax highlighting" HOMEPAGE="http://juffed.com/" SRC_URI="mirror://sourceforge/${PN}/${P}-1054.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~x86" IUSE="debug" RDEPEND="app-i18n/enca dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtsingleapplication[X] x11-libs/qscintilla:=" DEPEND="${RDEPEND}" DOCS=( ChangeLog README ) src_prepare() { sed "/set(CMAKE_CXX_FLAGS/d" -i CMakeLists.txt || die cmake-utils_src_prepare } src_configure() { local mycmakeargs=( -DUSE_SYSTEM_QTSINGLEAPPLICATION=ON ) cmake-utils_src_configure }