Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/aqemu/files/, app-emulation/aqemu/
Date: Wed, 27 Jul 2016 20:23:21
Message-Id: 1469650985.c85e4fe0bd7ef6a882eec0b698c09d74f83186e1.kensington@gentoo
1 commit: c85e4fe0bd7ef6a882eec0b698c09d74f83186e1
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 20:22:51 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 20:23:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c85e4fe0
7
8 app-emulation/aqemu: add patch to ensure the correct rcc binary is called
9
10 Gentoo-bug: 589332
11
12 Package-Manager: portage-2.3.0
13
14 app-emulation/aqemu/aqemu-0.9.2.ebuild | 1 +
15 app-emulation/aqemu/files/aqemu-0.9.2-qtbindir.patch | 15 +++++++++++++++
16 2 files changed, 16 insertions(+)
17
18 diff --git a/app-emulation/aqemu/aqemu-0.9.2.ebuild b/app-emulation/aqemu/aqemu-0.9.2.ebuild
19 index cbe0aa5..bdf8926 100644
20 --- a/app-emulation/aqemu/aqemu-0.9.2.ebuild
21 +++ b/app-emulation/aqemu/aqemu-0.9.2.ebuild
22 @@ -25,6 +25,7 @@ RDEPEND="app-emulation/qemu
23 dev-qt/qtprintsupport:5"
24
25 DOCS="AUTHORS CHANGELOG README TODO"
26 +PATCHES=( "${FILESDIR}/${PN}-0.9.2-qtbindir.patch" )
27
28 src_configure() {
29 local mycmakeargs=(
30
31 diff --git a/app-emulation/aqemu/files/aqemu-0.9.2-qtbindir.patch b/app-emulation/aqemu/files/aqemu-0.9.2-qtbindir.patch
32 new file mode 100644
33 index 0000000..5c55480
34 --- /dev/null
35 +++ b/app-emulation/aqemu/files/aqemu-0.9.2-qtbindir.patch
36 @@ -0,0 +1,15 @@
37 +Ensure the Qt 5 version of rcc is used instead of whatever is in $PATH.
38 +
39 +Gentoo-bug: 589332
40 +
41 +--- a/CMakeLists.txt
42 ++++ b/CMakeLists.txt
43 +@@ -285,7 +285,7 @@
44 +
45 + SET( _out ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.rcc )
46 +
47 +- ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND rcc ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} )
48 ++ ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND ${Qt5Core_RCC_EXECUTABLE} ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} )
49 +
50 + SET( ${_sources} ${${_sources}} ${_out} )
51 + ENDFOREACH( curFile )