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:
parent
677f91a6d1
commit
271c960f67
@ -209,4 +209,13 @@ rec {
|
||||
inherit kdelibs kdepimlibs kdebase_workspace;
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
11
pkgs/desktops/kde-4.2/extragear/gtk-qt-engine/builder.sh
Normal file
11
pkgs/desktops/kde-4.2/extragear/gtk-qt-engine/builder.sh
Normal 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
|
11
pkgs/desktops/kde-4.2/extragear/gtk-qt-engine/default.nix
Normal file
11
pkgs/desktops/kde-4.2/extragear/gtk-qt-engine/default.nix
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user