dev-libs/qcodeedit: Port from qt4-r2.eclass to qmake-utils.eclass

* EAPI=6
* Fix parallel building caused by incomplete dependencies

Package-Manager: portage-2.2.26
This commit is contained in:
David Seifert
2016-01-17 11:22:38 +01:00
parent 9f504b6e71
commit bbef8bf764
2 changed files with 25 additions and 4 deletions

View File

@@ -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_

View File

@@ -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*
}