qt47: remove, no longer used
This commit is contained in:
parent
ee9a5d864c
commit
02ae3fdedd
@ -1,114 +0,0 @@
|
||||
{ stdenv, fetchurl
|
||||
, alsaLib, pulseaudio
|
||||
, libXft, libXrender, randrproto, xextproto, libXinerama, xineramaproto, libXcursor, libXmu
|
||||
, libXv, libXext, libXfixes, inputproto, fixesproto, libXrandr, freetype, fontconfig
|
||||
, zlib, libjpeg, libpng, libmng, which, mesa, openssl, dbus, cups, pkgconfig, libtiff, glib
|
||||
, mysql, postgresql, sqlite
|
||||
, perl, coreutils, libXi
|
||||
, buildDemos ? false, buildExamples ? false, useDocs ? false
|
||||
}:
|
||||
|
||||
let
|
||||
v = "4.7.4";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qt-${v}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
|
||||
sha256 = "07i283si8rckdsg3h9a4sp213l16hgjrl7cpzclrjvx4x2y5w6cp";
|
||||
};
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
export LD_LIBRARY_PATH="`pwd`/lib:$LD_LIBRARY_PATH"
|
||||
configureFlags+="
|
||||
-docdir $out/share/doc/${name}
|
||||
-plugindir $out/lib/qt4/plugins
|
||||
-importdir $out/lib/qt4/imports
|
||||
-examplesdir $out/share/doc/${name}/examples
|
||||
-demosdir $out/share/doc/${name}/demos
|
||||
-datadir $out/share/${name}
|
||||
-translationdir $out/share/${name}/translations
|
||||
"
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
''
|
||||
-v -no-separate-debug-info -release -fast -confirm-license -opensource
|
||||
-system-zlib -system-libpng -system-libjpeg -qt-gif -system-libmng
|
||||
-opengl -xrender -xrandr -xinerama -xcursor
|
||||
-plugin-sql-mysql -system-sqlite
|
||||
-qdbus -cups -glib -xfixes -dbus-linked -openssl-linked
|
||||
-fontconfig -I${freetype}/include/freetype2
|
||||
-exceptions -xmlpatterns
|
||||
-multimedia -audio-backend -no-phonon
|
||||
-webkit -javascript-jit
|
||||
-make libs -make tools -make translations
|
||||
${if buildDemos == true then "-make demos" else "-nomake demos"}
|
||||
${if buildExamples == true then "-make examples" else "-nomake examples"}
|
||||
${if useDocs then "-make docs" else "-nomake docs"}
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alsaLib
|
||||
sqlite
|
||||
libXft
|
||||
libXrender
|
||||
libXrandr
|
||||
libXi
|
||||
randrproto
|
||||
xextproto
|
||||
libXinerama
|
||||
xineramaproto
|
||||
libXcursor
|
||||
zlib
|
||||
libjpeg
|
||||
libmng
|
||||
mysql
|
||||
postgresql
|
||||
libpng
|
||||
which
|
||||
mesa
|
||||
libXmu
|
||||
libXv
|
||||
openssl
|
||||
dbus.libs
|
||||
cups
|
||||
pkgconfig
|
||||
libXext
|
||||
freetype
|
||||
fontconfig
|
||||
inputproto
|
||||
fixesproto
|
||||
libXfixes
|
||||
glib
|
||||
libtiff
|
||||
pulseaudio
|
||||
];
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace configure --replace /bin/pwd pwd
|
||||
substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
|
||||
sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
${if useDocs then "rm -rfv $out/share/doc/${name}/{html,src}" else ""}
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://qt.nokia.com/products;
|
||||
description = "A cross-platform application framework for C++";
|
||||
license = "GPL/LGPL";
|
||||
maintainers = with maintainers; [ urkud sander ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -4855,8 +4855,6 @@ let
|
||||
|
||||
qt4 = pkgs.kde4.qt4;
|
||||
|
||||
qt47 = callPackage ../development/libraries/qt-4.x/4.7 { };
|
||||
|
||||
qt48 = callPackage ../development/libraries/qt-4.x/4.8 {
|
||||
# GNOME dependencies are not used unless gtkStyle == true
|
||||
inherit (pkgs.gnome) libgnomeui GConf gnome_vfs;
|
||||
|
@ -1501,7 +1501,6 @@ in
|
||||
qshowdiff = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
qsynth = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
qt3 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
qt47 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
qt_gstreamer = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
qtpfsgui = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
qtractor = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
|
Loading…
Reference in New Issue
Block a user