mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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_
|
||||
@@ -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*
|
||||
}
|
||||
Reference in New Issue
Block a user