/[gentoo-x86]/dev-python/PyQt4/files/PyQt4-4.11.2-phonon.patch
Gentoo

Contents of /dev-python/PyQt4/files/PyQt4-4.11.2-phonon.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Oct 14 02:49:02 2014 UTC (5 years, 5 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Fix building against media-libs/phonon (bug 525354).

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)

1 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

  ViewVC Help
Powered by ViewVC 1.1.20