qtstyleplugin-kvantum: init at 0.10.4
This commit is contained in:
parent
26cf940da8
commit
a230464697
3 changed files with 71 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, fetchFromGitHub, qmake4Hook , qt4, libX11, libXext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtstyleplugin-kvantum-qt4-${version}";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tsujan";
|
||||
repo = "Kvantum";
|
||||
rev = "0527bb03f2252269fd382e11181a34ca72c96b4b";
|
||||
sha256 = "0ky44s1fgqxraywagx1mv07yz76ppgiz3prq447db78wkwqg2d8p";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
buildInputs = [ qt4 libX11 libXext ];
|
||||
|
||||
postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";
|
||||
|
||||
buildPhase = ''
|
||||
qmake kvantum.pro
|
||||
make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $TMP/kvantum
|
||||
make INSTALL_ROOT="$TMP/kvantum" install
|
||||
mv $TMP/kvantum/usr/ $out
|
||||
mv $TMP/kvantum/${qt4}/lib $out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SVG-based Qt4 theme engine";
|
||||
homepage = "https://github.com/tsujan/Kvantum";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
30
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
Normal file
30
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, libX11, libXext, qttools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtstyleplugin-kvantum-${version}";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tsujan";
|
||||
repo = "Kvantum";
|
||||
rev = "0527bb03f2252269fd382e11181a34ca72c96b4b";
|
||||
sha256 = "0ky44s1fgqxraywagx1mv07yz76ppgiz3prq447db78wkwqg2d8p";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
buildInputs = [ qtbase qtsvg qtx11extras libX11 libXext ];
|
||||
|
||||
postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";
|
||||
|
||||
postInstall= ''
|
||||
mkdir -p $out/$qtPluginPrefix/styles
|
||||
mv $NIX_QT5_TMP/$qtPluginPrefix/styles/libkvantum.so $out/$qtPluginPrefix/styles/libkvantum.so
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
|
||||
homepage = "https://github.com/tsujan/Kvantum";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -8069,6 +8069,8 @@ with pkgs;
|
|||
|
||||
qt-gstreamer1 = callPackage ../development/libraries/gstreamer/qt-gstreamer { boost = boost155;};
|
||||
|
||||
qtstyleplugin-kvantum-qt4 = callPackage ../development/libraries/qtstyleplugin-kvantum-qt4 { };
|
||||
|
||||
gnet = callPackage ../development/libraries/gnet { };
|
||||
|
||||
gnu-config = callPackage ../development/libraries/gnu-config { };
|
||||
|
@ -9986,6 +9988,8 @@ with pkgs;
|
|||
|
||||
qtstyleplugins = callPackage ../development/libraries/qtstyleplugins { };
|
||||
|
||||
qtstyleplugin-kvantum = libsForQt5.callPackage ../development/libraries/qtstyleplugin-kvantum { };
|
||||
|
||||
quazip = callPackage ../development/libraries/quazip { };
|
||||
|
||||
qwt = callPackage ../development/libraries/qwt/6.nix { };
|
||||
|
|
Loading…
Reference in a new issue