Add oxygen-gtk3 and rename oxygen_gtk to oxygen-gtk2.

oxygen_gtk is still kept for backwards compatibility.
This commit is contained in:
Rüdiger Sonderfeld 2014-08-22 01:13:14 +02:00
parent acdb739b8d
commit 02e0e0dc50
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl
, cmake, dbus_glib, glib, gtk3, gdk_pixbuf, pkgconfig, xorg }:
stdenv.mkDerivation rec {
version = "1.4.0";
name = "oxygen-gtk3-${version}";
src = fetchurl {
url = "mirror://kde/stable/oxygen-gtk3/${version}/src/${name}.tar.bz2";
sha256 = "d119bcc94ffc04b67e7d238fc922b37f2904447085a06758451b8c0b0302ab80";
};
buildInputs = [ cmake dbus_glib glib gtk3 gdk_pixbuf
pkgconfig xorg.libXau xorg.libXdmcp xorg.libpthreadstubs
xorg.libxcb xorg.pixman ];
meta = with stdenv.lib; {
description = "Port of the default KDE widget theme (Oxygen), to gtk 3";
homepage = https://projects.kde.org/projects/playground/artwork/oxygen-gtk;
license = licenses.lgpl2;
platforms = platforms.linux;
};
}

View File

@ -10825,7 +10825,11 @@ let
geoclue = geoclue2;
};
oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk { };
oxygen-gtk2 = callPackage ../misc/themes/gtk2/oxygen-gtk { };
oxygen-gtk3 = callPackage ../misc/themes/gtk3/oxygen-gtk3 { };
oxygen_gtk = oxygen-gtk2; # backwards compatibility
gtk_engines = callPackage ../misc/themes/gtk2/gtk-engines { };