lumina.lumina: 1.4.0-p1 -> 1.5.0

This commit is contained in:
José Romildo Malaquias 2019-05-24 10:04:44 -03:00
parent 272fa9d41c
commit 1a8005393d
1 changed files with 20 additions and 15 deletions

View File

@ -1,17 +1,28 @@
{ stdenv, fetchFromGitHub, fluxbox, xscreensaver, desktop-file-utils, { stdenv,
numlockx, xorg, qtbase, qtsvg, qtmultimedia, qtx11extras, qmake, fetchFromGitHub,
qttools, poppler, wrapGAppsHook desktop-file-utils,
fluxbox,
numlockx,
qmake,
qtbase,
qtmultimedia,
qtsvg,
qttools,
qtx11extras,
xorg,
xscreensaver,
wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "lumina-${version}"; pname = "lumina";
version = "1.4.0-p1"; version = "1.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "trueos"; owner = "lumina-desktop";
repo = "lumina"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0jin0a2s6pjbpw7w1bz67dgqp0xlpw1a7nh8zv0qwdf954zczanp"; sha256 = "0rj2gzifr98db7i82cg3hg7l5yfik810pjpawg6n54qbzq987z25";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -22,6 +33,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
xorg.libxcb xorg.libxcb
xorg.libXcursor
xorg.libXdamage xorg.libXdamage
xorg.xcbutilwm xorg.xcbutilwm
xorg.xcbutilimage xorg.xcbutilimage
@ -29,7 +41,6 @@ stdenv.mkDerivation rec {
qtsvg qtsvg
qtmultimedia qtmultimedia
qtx11extras qtx11extras
poppler
fluxbox fluxbox
xscreensaver xscreensaver
desktop-file-utils desktop-file-utils
@ -48,10 +59,6 @@ stdenv.mkDerivation rec {
''; '';
postPatch = '' postPatch = ''
# Fix location of poppler-qt5.h
substituteInPlace src-qt5/desktop-utils/lumina-pdf/mainUI.h \
--replace '#include <poppler-qt5.h>' '#include <poppler/qt5/poppler-qt5.h>'
# Fix plugin dir # Fix plugin dir
substituteInPlace src-qt5/core/lumina-theme-engine/lthemeengine.pri \ substituteInPlace src-qt5/core/lumina-theme-engine/lthemeengine.pri \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" --replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
@ -67,8 +74,6 @@ stdenv.mkDerivation rec {
"LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" "LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease"
]; ];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A lightweight, portable desktop environment"; description = "A lightweight, portable desktop environment";
longDescription = '' longDescription = ''