lol

Merge pull request #32013 from romildo/upd.lumina

lumina: 1.3.0 -> 1.4.0-p1

authored by

Jörg Thalheim and committed by
GitHub
ef893323 cc1d7a35

+20 -5
+20 -5
pkgs/desktops/lumina/default.nix
··· 1 - { stdenv, fetchFromGitHub, fluxbox, xscreensaver, desktop_file_utils, numlockx, 2 - xorg, qtbase, qtsvg, qtmultimedia, qtx11extras, qmake, qttools 3 }: 4 5 stdenv.mkDerivation rec { 6 name = "lumina-${version}"; 7 - version = "1.3.0"; 8 9 src = fetchFromGitHub { 10 owner = "trueos"; 11 repo = "lumina"; 12 rev = "v${version}"; 13 - sha256 = "13kwlhv2qscrn52xvx0n1sqbl96fkcb5r1ixa0wazflx8dfl9ndn"; 14 }; 15 16 nativeBuildInputs = [ 17 qmake 18 qttools 19 ]; 20 21 buildInputs = [ ··· 26 qtsvg 27 qtmultimedia 28 qtx11extras 29 fluxbox 30 xscreensaver 31 desktop_file_utils ··· 44 ''; 45 46 postPatch = '' 47 # Fix location of fluxbox styles 48 substituteInPlace src-qt5/core-utils/lumina-config/pages/page_fluxbox_settings.cpp \ 49 --replace 'LOS::AppPrefix()+"share/fluxbox' "\"${fluxbox}/share/fluxbox" 50 ''; 51 52 - qmakeFlags = [ "LINUX_DISTRO=NixOS" "CONFIG+=WITH_I18N" ]; 53 54 enableParallelBuilding = true; 55
··· 1 + { stdenv, fetchFromGitHub, fluxbox, xscreensaver, desktop_file_utils, 2 + numlockx, xorg, qtbase, qtsvg, qtmultimedia, qtx11extras, qmake, 3 + qttools, poppler_qt5, wrapGAppsHook 4 }: 5 6 stdenv.mkDerivation rec { 7 name = "lumina-${version}"; 8 + version = "1.4.0-p1"; 9 10 src = fetchFromGitHub { 11 owner = "trueos"; 12 repo = "lumina"; 13 rev = "v${version}"; 14 + sha256 = "0jin0a2s6pjbpw7w1bz67dgqp0xlpw1a7nh8zv0qwdf954zczanp"; 15 }; 16 17 nativeBuildInputs = [ 18 qmake 19 qttools 20 + wrapGAppsHook 21 ]; 22 23 buildInputs = [ ··· 28 qtsvg 29 qtmultimedia 30 qtx11extras 31 + poppler_qt5 32 fluxbox 33 xscreensaver 34 desktop_file_utils ··· 47 ''; 48 49 postPatch = '' 50 + # Fix location of poppler-qt5.h 51 + substituteInPlace src-qt5/desktop-utils/lumina-pdf/mainUI.h \ 52 + --replace '#include <poppler-qt5.h>' '#include <poppler/qt5/poppler-qt5.h>' 53 + 54 + # Fix plugin dir 55 + substituteInPlace src-qt5/core/lumina-theme-engine/lthemeengine.pri \ 56 + --replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" 57 + 58 # Fix location of fluxbox styles 59 substituteInPlace src-qt5/core-utils/lumina-config/pages/page_fluxbox_settings.cpp \ 60 --replace 'LOS::AppPrefix()+"share/fluxbox' "\"${fluxbox}/share/fluxbox" 61 ''; 62 63 + qmakeFlags = [ 64 + "LINUX_DISTRO=NixOS" 65 + "CONFIG+=WITH_I18N" 66 + "LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" 67 + ]; 68 69 enableParallelBuilding = true; 70