qtstyleplugin-kvantum-qt4: 0.20.2 -> 1.0.1
* qtstyleplugin-kvantum-qt4: 0.20.2 -> 1.0.0 (#159720) * qtstyleplugin-kvantum-qt4: 1.0.0 -> 1.0.1 and update meta.license Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
8a3df55108
commit
e562efeff6
|
@ -2,36 +2,40 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qtstyleplugin-kvantum-qt4";
|
pname = "qtstyleplugin-kvantum-qt4";
|
||||||
version = "0.20.2";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tsujan";
|
owner = "tsujan";
|
||||||
repo = "Kvantum";
|
repo = "Kvantum";
|
||||||
rev = "V${version}";
|
rev = "V${version}";
|
||||||
sha256 = "sha256-aIhLrGKb8iPl8N483+EOaCrTua96Qvl2lc2UXRiqvJA=";
|
hash = "sha256-Faex1NF5bJa0GdC+Sz4p6kHaGUtAkqZlNGi0TSc5ckw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake4Hook ];
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
buildInputs = [ qt4 libX11 libXext ];
|
buildInputs = [ qt4 libX11 libXext ];
|
||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";
|
sourceRoot = "source/Kvantum";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
qmake kvantum.pro
|
qmake kvantum.pro
|
||||||
make
|
make
|
||||||
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
mkdir $TMP/kvantum
|
mkdir $TMP/kvantum
|
||||||
make INSTALL_ROOT="$TMP/kvantum" install
|
make INSTALL_ROOT="$TMP/kvantum" install
|
||||||
mv $TMP/kvantum/usr/ $out
|
mv $TMP/kvantum/usr/ $out
|
||||||
mv $TMP/kvantum/${qt4}/lib $out
|
mv $TMP/kvantum/${qt4}/lib $out
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "SVG-based Qt4 theme engine";
|
description = "SVG-based Qt4 theme engine";
|
||||||
homepage = "https://github.com/tsujan/Kvantum";
|
homepage = "https://github.com/tsujan/Kvantum";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.bugworm ];
|
maintainers = [ maintainers.bugworm ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue