lumina.lumina: 1.6.0 -> 1.6.1
This commit is contained in:
parent
9d9895d812
commit
a2882ab4c2
1 changed files with 12 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fluxbox
|
, fluxbox
|
||||||
, libarchive
|
, libarchive
|
||||||
|
, linux-pam
|
||||||
, numlockx
|
, numlockx
|
||||||
, qmake
|
, qmake
|
||||||
, qtbase
|
, qtbase
|
||||||
|
@ -17,13 +18,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "lumina";
|
pname = "lumina";
|
||||||
version = "1.6.0";
|
version = "1.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lumina-desktop";
|
owner = "lumina-desktop";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0bvs12c9pkc6fnkfcr7rrxc8jfbzbslch4nlfjrzwi203fcv4avw";
|
sha256 = "0wc8frhw1yv07n05r33c4zilq5lgn5gw07a9n37g6nyn5sgrbp4f";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -35,6 +36,7 @@ mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fluxbox # window manager for Lumina DE
|
fluxbox # window manager for Lumina DE
|
||||||
libarchive # make `bsdtar` available for lumina-archiver
|
libarchive # make `bsdtar` available for lumina-archiver
|
||||||
|
linux-pam
|
||||||
numlockx # required for changing state of numlock at login
|
numlockx # required for changing state of numlock at login
|
||||||
qtbase
|
qtbase
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
|
@ -49,7 +51,6 @@ mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./avoid-absolute-path-on-sessdir.patch
|
|
||||||
./LuminaOS-NixOS.cpp.patch
|
./LuminaOS-NixOS.cpp.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -60,6 +61,14 @@ mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
# Avoid absolute path on sessdir
|
||||||
|
substituteInPlace src-qt5/OS-detect.pri \
|
||||||
|
--replace L_SESSDIR=/usr/share/xsessions '#L_SESSDIR=/usr/share/xsessions'
|
||||||
|
|
||||||
|
# Do not set special permission
|
||||||
|
substituteInPlace src-qt5/core/lumina-checkpass/lumina-checkpass.pro \
|
||||||
|
--replace "chmod 4555" "chmod 555"
|
||||||
|
|
||||||
# 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"
|
||||||
|
|
Loading…
Reference in a new issue