Added GTK-Qt engine package for KDE 4.2 to make GTK+ applications look better in KDE

svn path=/nixpkgs/trunk/; revision=15596
This commit is contained in:
Sander van der Burg 2009-05-13 20:10:48 +00:00
parent 677f91a6d1
commit 271c960f67
3 changed files with 31 additions and 0 deletions

View File

@ -209,4 +209,13 @@ rec {
inherit kdelibs kdepimlibs kdebase_workspace; inherit kdelibs kdepimlibs kdebase_workspace;
inherit automoc4 phonon qca2; inherit automoc4 phonon qca2;
}; };
gtk_qt_engine = import ./extragear/gtk-qt-engine {
inherit (pkgs) stdenv fetchurl cmake qt4 perl gettext;
inherit (pkgs.xlibs) libX11;
inherit (pkgs.gtkLibs) gtk;
inherit (pkgs.gnome) libbonoboui;
inherit kdelibs;
inherit automoc4 phonon;
};
} }

View File

@ -0,0 +1,11 @@
source $stdenv/setup
cmakeFlags="-DINSTALL_PATH_GTK_ENGINES=$out/lib/gtk-2.0/2.10.0/engines -DINSTALL_PATH_GTK_THEMES=$out/share/themes -DINSTALL_PATH_KCONTROL_MODULES=$out/lib";
myPatchPhase()
{
sed -i -e "s|\${KDE4_INCLUDE_DIR}|\${KDE4_INCLUDE_DIR} ../build/kcm_gtk|" kcm_gtk/CMakeLists.txt
sed -i -e "s|\*.po|../../\*.po|" po/CMakeLists.txt
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, cmake, qt4, perl, libX11, gtk, libbonoboui, gettext, kdelibs, automoc4, phonon}:
stdenv.mkDerivation {
name = "gtk-qt-engine-1.1";
src = fetchurl {
url = http://gtk-qt-engine.googlecode.com/files/gtk-qt-engine-1.1.tar.bz2;
sha256 = "4310f8f179c5ab70cea614a07b0c3e84234d05388dded85596200fa754c290a6";
};
buildInputs = [ cmake qt4 perl libX11 gtk libbonoboui gettext kdelibs automoc4 phonon ];
builder = ./builder.sh;
}