nixpkgs/pkgs/desktops/lxqt/default.nix

45 lines
1.8 KiB
Nix
Raw Normal View History

2016-10-03 23:37:31 +02:00
{ pkgs, newScope, fetchFromGitHub }:
let
callPackage = newScope self;
self = rec {
# For compiling information, see:
# - https://github.com/lxde/lxqt/wiki/Building-from-source
standardPatch = ''
for file in $(find . -name CMakeLists.txt); do
substituteInPlace $file \
--replace "DESTINATION \''${LXQT_ETC_XDG_DIR}" "DESTINATION etc/xdg" \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
--replace "DESTINATION \"\''${LXQT_SHARE_DIR}" "DESTINATION \"share/lxqt" \
--replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphhics" \
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"lib/qt5/plugins" \
--replace "\''${LXQT_TRANSLATIONS_DIR}" share/lxqt/translations
echo ============================
echo $file
grep --color=always DESTINATION $file || true
grep --color=always share/lxqt/translations $file || true
grep --color=always platformthemes $file || true
done
echo --------------------------------------------------------
'';
2016-10-03 23:37:31 +02:00
2016-10-03 23:43:06 +02:00
### BASE
libqtxdg = callPackage ./base/libqtxdg { };
2016-10-03 23:45:16 +02:00
libsysstat = callPackage ./base/libsysstat { };
2016-10-03 23:46:35 +02:00
liblxqt = callPackage ./base/liblxqt { };
2016-10-03 23:43:06 +02:00
2016-10-03 23:49:44 +02:00
### CORE 1
libfm-qt = callPackage ./core/libfm-qt { };
2016-10-03 23:51:17 +02:00
lxqt-about = callPackage ./core/lxqt-about { };
2016-10-03 23:52:08 +02:00
lxqt-admin = callPackage ./core/lxqt-admin { };
2016-10-03 23:53:03 +02:00
lxqt-common = callPackage ./core/lxqt-common { };
2016-10-03 23:53:48 +02:00
lxqt-config = callPackage ./core/lxqt-config { };
2016-10-03 23:54:34 +02:00
lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { };
2016-10-03 23:55:22 +02:00
lxqt-notificationd = callPackage ./core/lxqt-notificationd { };
2016-10-03 23:56:22 +02:00
lxqt-openssh-askpass = callPackage ./core/lxqt-openssh-askpass { };
2016-10-03 23:49:44 +02:00
2016-10-03 23:37:31 +02:00
in self