fix syntax in *.pri file

epel9
Than Ngo 13 years ago
parent a2754e449c
commit aa842645a9

@ -0,0 +1,12 @@
diff -up phonon-4.6.0/qt_phonon.pri.me phonon-4.6.0/qt_phonon.pri
--- phonon-4.6.0/qt_phonon.pri.me 2012-03-28 18:22:06.623520519 +0200
+++ phonon-4.6.0/qt_phonon.pri 2012-03-28 18:22:15.886519552 +0200
@@ -3,6 +3,6 @@
# the next build of Qt. So pretend we're not there in this case.
# This file is loaded by qt_config.prf, before .qmake.cache has been loaded.
# Consequently, we have to do some stunts to get values out of the cache.
-if(!exists($$_QMAKE_CACHE_)| \
- !contains($$list($$fromfile($$_QMAKE_CACHE_, CONFIG)), QTDIR_build)): \
+!exists($$_QMAKE_CACHE_)| \
+ !contains($$list($$fromfile($$_QMAKE_CACHE_, CONFIG)), QTDIR_build): \
QT_CONFIG += phonon

@ -9,7 +9,7 @@
Summary: Multimedia framework api Summary: Multimedia framework api
Name: phonon Name: phonon
Version: 4.6.0 Version: 4.6.0
Release: 2%{?dist} Release: 3%{?dist}
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://phonon.kde.org/ URL: http://phonon.kde.org/
@ -26,6 +26,7 @@ Patch1: phonon-4.4.4-no_rpath.patch
# phonon_backend ... could not be loaded # phonon_backend ... could not be loaded
# http://bugzilla.redhat.com/760039 # http://bugzilla.redhat.com/760039
Patch50: phonon-4.5.57-plugindir.patch Patch50: phonon-4.5.57-plugindir.patch
Patch51: phonon-4.6.0-syntax.patch
## Upstream patches ## Upstream patches
@ -94,7 +95,7 @@ Includes experimental and unstable apis.
%patch1 -p1 -b .no_rpath %patch1 -p1 -b .no_rpath
%patch50 -p1 -b .plugindir %patch50 -p1 -b .plugindir
%patch51 -p1 -b .syntax
%build %build
mkdir -p %{_target_platform} mkdir -p %{_target_platform}
@ -180,6 +181,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Wed Mar 28 2012 Than Ngo <than@redhat.com> - 4.6.0-3
- fix syntax in *.pri file
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.0-2 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

Loading…
Cancel
Save