Annotation of /trunk/pyqt4/patches/pyqt4-4.11.3-kde-phonon.patch
Parent Directory | Revision Log
Revision 2521 -
(hide annotations)
(download)
Tue Nov 11 08:42:58 2014 UTC (9 years, 10 months ago) by niro
File size: 897 byte(s)
Tue Nov 11 08:42:58 2014 UTC (9 years, 10 months ago) by niro
File size: 897 byte(s)
-added kde phonon patch
1 | niro | 2521 | From e8931ed7f49eb55d6259328a5a78f3fc18472d48 Mon Sep 17 00:00:00 2001 |
2 | From: Davide Pesavento <pesa@gentoo.org> | ||
3 | Date: Tue, 14 Oct 2014 04:30:29 +0200 | ||
4 | Subject: [PATCH] Support building against KDE's phonon variant. | ||
5 | |||
6 | --- | ||
7 | configure-ng.py | 2 ++ | ||
8 | 1 file changed, 2 insertions(+) | ||
9 | |||
10 | diff --git a/configure-ng.py b/configure-ng.py | ||
11 | index a80cb57..fd2c56c 100644 | ||
12 | --- a/configure-ng.py | ||
13 | +++ b/configure-ng.py | ||
14 | @@ -2256,6 +2256,8 @@ def generate_sip_module_code(target_config, verbose, no_timestamp, parts, tracin | ||
15 | if mname == 'QtCore': | ||
16 | includepath = target_config.vend_inc_dir | ||
17 | libs = '-L%s -lvendorid' % target_config.vend_lib_dir | ||
18 | + if mname == 'phonon': | ||
19 | + includepath = os.path.join(sys.prefix, 'include', 'phonon') | ||
20 | |||
21 | generate_module_makefile(target_config, verbose, mname, | ||
22 | includepath=includepath, libs=libs, qpy_sources=qpy_sources, | ||
23 | -- | ||
24 | 2.1.2 | ||
25 |