diff --git a/dev-libs/qcodeedit/files/qcodeedit-2.2.3-fix-parallel-build.patch b/dev-libs/qcodeedit/files/qcodeedit-2.2.3-fix-parallel-build.patch new file mode 100644 index 0000000000000..4c1a5feb02fe7 --- /dev/null +++ b/dev-libs/qcodeedit/files/qcodeedit-2.2.3-fix-parallel-build.patch @@ -0,0 +1,15 @@ +Add missing edges to dependency graph in order to +allow for parallel building. + +--- qcodeedit-2.2.3/qcodeedit.pro ++++ qcodeedit-2.2.3/qcodeedit.pro +@@ -4,6 +4,9 @@ + + SUBDIRS += lib example designer-plugin + ++example.depends = lib ++designer-plugin.depends = lib ++ + CONFIG(debug, debug|release) { + # placeholder + QCODE_EDIT_EXTRA_DEFINES += _DEBUG_BUILD_ diff --git a/dev-libs/qcodeedit/qcodeedit-2.2.3-r1.ebuild b/dev-libs/qcodeedit/qcodeedit-2.2.3-r2.ebuild similarity index 76% rename from dev-libs/qcodeedit/qcodeedit-2.2.3-r1.ebuild rename to dev-libs/qcodeedit/qcodeedit-2.2.3-r2.ebuild index 111e54710de59..402461b4e8ed6 100644 --- a/dev-libs/qcodeedit/qcodeedit-2.2.3-r1.ebuild +++ b/dev-libs/qcodeedit/qcodeedit-2.2.3-r2.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -inherit qt4-r2 +inherit qmake-utils DESCRIPTION="Qt-Framework for code editing" HOMEPAGE="http://edyuk.sourceforge.net/" @@ -24,9 +24,15 @@ RDEPEND=" DEPEND="${RDEPEND} " -MAKEOPTS+=" -j1" +PATCHES=( + "${FILESDIR}/${P}-fix-parallel-build.patch" +) + +src_configure() { + eqmake4 ${PN}.pro +} src_install() { - qt4-r2_src_install + emake INSTALL_ROOT="${D}" install dolib.so libqcodeedit.so* }