@@ -0,0 +1,64 @@
1+{ pkgs, newScope, fetchFromGitHub }:
2+
3+let
4+ callPackage = newScope self;
5+
6+ self = rec {
7+
8+ # For compiling information, see:
9+ # - https://github.com/lxde/lxqt/wiki/Building-from-source
10+
11+ standardPatch = ''
12+ for file in $(find . -name CMakeLists.txt); do
13+ substituteInPlace $file \
14+ --replace "DESTINATION \''${LXQT_ETC_XDG_DIR}" "DESTINATION etc/xdg" \
15+ --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
16+ --replace "DESTINATION \"\''${LXQT_SHARE_DIR}" "DESTINATION \"share/lxqt" \
17+ --replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphics" \
18+ --replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"lib/qt5/plugins" \
19+ --replace "\''${LXQT_TRANSLATIONS_DIR}" share/lxqt/translations
20+ echo ============================
21+ echo $file
22+ grep --color=always DESTINATION $file || true
23+ grep --color=always share/lxqt/translations $file || true
24+ grep --color=always platform $file || true
25+ done
26+ echo --------------------------------------------------------
27+ '';
28+
29+ ### BASE
30+ libqtxdg = callPackage ./base/libqtxdg { };
31+ libsysstat = callPackage ./base/libsysstat { };
32+ liblxqt = callPackage ./base/liblxqt { };
33+
34+ ### CORE 1
35+ libfm-qt = callPackage ./core/libfm-qt { };
36+ lxqt-about = callPackage ./core/lxqt-about { };
37+ lxqt-admin = callPackage ./core/lxqt-admin { };
38+ lxqt-common = callPackage ./core/lxqt-common { };
39+ lxqt-config = callPackage ./core/lxqt-config { };
40+ lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { };
41+ lxqt-l10n = callPackage ./core/lxqt-l10n { };
42+ lxqt-notificationd = callPackage ./core/lxqt-notificationd { };
43+ lxqt-openssh-askpass = callPackage ./core/lxqt-openssh-askpass { };
44+ lxqt-policykit = callPackage ./core/lxqt-policykit { };
45+ lxqt-powermanagement = callPackage ./core/lxqt-powermanagement { };
46+ lxqt-qtplugin = callPackage ./core/lxqt-qtplugin { };
47+ lxqt-session = callPackage ./core/lxqt-session { };
48+ lxqt-sudo = callPackage ./core/lxqt-sudo { };
49+ pavucontrol-qt = callPackage ./core/pavucontrol-qt { };
50+ qtermwidget = callPackage ./core/qtermwidget { };
51+
52+ ### CORE 2
53+ lxqt-panel = callPackage ./core/lxqt-panel { };
54+ lxqt-runner = callPackage ./core/lxqt-runner { };
55+ pcmanfm-qt = callPackage ./core/pcmanfm-qt { };
56+
57+ ### OPTIONAL
58+ qterminal = callPackage ./optional/qterminal { };
59+ compton-conf = callPackage ./optional/compton-conf { };
60+ obconf-qt = callPackage ./optional/obconf-qt { };
61+
62+ };
63+
64+in self