parent
1361a85331
commit
23bd704530
|
@ -8,7 +8,7 @@
|
||||||
, buildDemos ? false, buildExamples ? false, useDocs ? true}:
|
, buildDemos ? false, buildExamples ? false, useDocs ? true}:
|
||||||
|
|
||||||
let
|
let
|
||||||
v = "4.7.0-rc1";
|
v = "4.7.0";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
|
url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
|
||||||
sha256 = "1bfvd42sdabb86m823yzbzgcy1sibd4ypz2wqaazd77ji768dn2r";
|
sha256 = "0mbr7sjaswkd5gibyb36mlaas049fj8vf2risi66fzfac3amclp0";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -90,12 +90,10 @@ stdenv.mkDerivation rec {
|
||||||
${if buildExamples == true then "-make examples" else "-nomake examples"}
|
${if buildExamples == true then "-make examples" else "-nomake examples"}
|
||||||
${if useDocs then "-make docs" else "-nomake docs"}'';
|
${if useDocs then "-make docs" else "-nomake docs"}'';
|
||||||
|
|
||||||
patches = [ ./phonon-4.4.0.patch ];
|
prePatch = ''
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace configure --replace /bin/pwd pwd
|
substituteInPlace configure --replace /bin/pwd pwd
|
||||||
substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
|
substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
|
||||||
sed -e 's@/usr@/FOO@' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
diff --git a/src/3rdparty/phonon/phonon/phononnamespace.h b/src/3rdparty/phonon/phonon/phononnamespace.h
|
|
||||||
index ec42d51..eb899de 100644
|
|
||||||
--- a/src/3rdparty/phonon/phonon/phononnamespace.h
|
|
||||||
+++ b/src/3rdparty/phonon/phonon/phononnamespace.h
|
|
||||||
@@ -41,12 +41,12 @@
|
|
||||||
/**
|
|
||||||
* PHONON_VERSION is (major << 16) + (minor << 8) + patch.
|
|
||||||
*/
|
|
||||||
-#define PHONON_VERSION PHONON_VERSION_CHECK(4, 3, 1)
|
|
||||||
+#define PHONON_VERSION PHONON_VERSION_CHECK(4, 4, 0)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* PHONON_VERSION_STR is "major.minor.patch". E.g. "4.2.1"
|
|
||||||
*/
|
|
||||||
-#define PHONON_VERSION_STR "4.3.1"
|
|
||||||
+#define PHONON_VERSION_STR "4.4.0"
|
|
||||||
|
|
||||||
QT_BEGIN_HEADER
|
|
||||||
QT_BEGIN_NAMESPACE
|
|
Loading…
Reference in New Issue