diff options
author | David Seifert <soap@gentoo.org> | 2016-01-17 11:22:38 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-01-17 11:26:46 +0100 |
commit | bbef8bf76401a697b561ac2b7e4393386282b85a (patch) | |
tree | bc8caabffa9c9dcab9be64117e09a6079e538d61 /dev-libs | |
parent | app-vim/pyclewn: add 3.5 to PYTHON_TARGETS (diff) | |
download | gentoo-bbef8bf76401a697b561ac2b7e4393386282b85a.tar.gz gentoo-bbef8bf76401a697b561ac2b7e4393386282b85a.tar.bz2 gentoo-bbef8bf76401a697b561ac2b7e4393386282b85a.zip |
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
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/qcodeedit/files/qcodeedit-2.2.3-fix-parallel-build.patch | 15 | ||||
-rw-r--r-- | dev-libs/qcodeedit/qcodeedit-2.2.3-r2.ebuild (renamed from dev-libs/qcodeedit/qcodeedit-2.2.3-r1.ebuild) | 14 |
2 files changed, 25 insertions, 4 deletions
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 000000000000..4c1a5feb02fe --- /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 index 111e54710de5..402461b4e8ed 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* } |