2016-10-03 21:37:31 +00:00
|
|
|
{ pkgs, newScope, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
|
|
|
callPackage = newScope self;
|
|
|
|
|
|
|
|
self = rec {
|
|
|
|
|
|
|
|
# For compiling information, see:
|
2016-10-03 22:57:00 +00:00
|
|
|
# - https://github.com/lxde/lxqt/wiki/Building-from-source
|
|
|
|
|
2016-10-03 21:39:38 +00:00
|
|
|
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" \
|
2016-10-05 23:41:12 +00:00
|
|
|
--replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphics" \
|
2016-10-03 21:39:38 +00:00
|
|
|
--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
|
2016-10-03 22:57:00 +00:00
|
|
|
grep --color=always platform $file || true
|
2016-10-03 21:39:38 +00:00
|
|
|
done
|
|
|
|
echo --------------------------------------------------------
|
|
|
|
'';
|
2016-10-03 21:37:31 +00:00
|
|
|
|
2016-10-03 21:43:06 +00:00
|
|
|
### BASE
|
|
|
|
libqtxdg = callPackage ./base/libqtxdg { };
|
2016-10-03 21:45:16 +00:00
|
|
|
libsysstat = callPackage ./base/libsysstat { };
|
2016-10-03 21:46:35 +00:00
|
|
|
liblxqt = callPackage ./base/liblxqt { };
|
2016-10-03 21:43:06 +00:00
|
|
|
|
2016-10-03 21:49:44 +00:00
|
|
|
### CORE 1
|
|
|
|
libfm-qt = callPackage ./core/libfm-qt { };
|
2016-10-03 21:51:17 +00:00
|
|
|
lxqt-about = callPackage ./core/lxqt-about { };
|
2016-10-03 21:52:08 +00:00
|
|
|
lxqt-admin = callPackage ./core/lxqt-admin { };
|
2016-10-03 21:53:03 +00:00
|
|
|
lxqt-common = callPackage ./core/lxqt-common { };
|
2016-10-03 21:53:48 +00:00
|
|
|
lxqt-config = callPackage ./core/lxqt-config { };
|
2016-10-03 21:54:34 +00:00
|
|
|
lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { };
|
2016-10-03 21:59:34 +00:00
|
|
|
lxqt-l10n = callPackage ./core/lxqt-l10n { };
|
2016-10-03 21:55:22 +00:00
|
|
|
lxqt-notificationd = callPackage ./core/lxqt-notificationd { };
|
2016-10-03 21:56:22 +00:00
|
|
|
lxqt-openssh-askpass = callPackage ./core/lxqt-openssh-askpass { };
|
2016-10-03 21:59:34 +00:00
|
|
|
lxqt-policykit = callPackage ./core/lxqt-policykit { };
|
|
|
|
lxqt-powermanagement = callPackage ./core/lxqt-powermanagement { };
|
2016-10-03 22:00:54 +00:00
|
|
|
lxqt-qtplugin = callPackage ./core/lxqt-qtplugin { };
|
|
|
|
lxqt-session = callPackage ./core/lxqt-session { };
|
2016-10-03 22:01:39 +00:00
|
|
|
lxqt-sudo = callPackage ./core/lxqt-sudo { };
|
2016-10-03 22:03:17 +00:00
|
|
|
pavucontrol-qt = callPackage ./core/pavucontrol-qt { };
|
|
|
|
qtermwidget = callPackage ./core/qtermwidget { };
|
2016-10-03 21:49:44 +00:00
|
|
|
|
2016-10-03 22:03:59 +00:00
|
|
|
### CORE 2
|
|
|
|
lxqt-panel = callPackage ./core/lxqt-panel { };
|
2016-10-03 22:05:01 +00:00
|
|
|
lxqt-runner = callPackage ./core/lxqt-runner { };
|
2016-10-03 22:06:13 +00:00
|
|
|
pcmanfm-qt = callPackage ./core/pcmanfm-qt { };
|
2016-10-03 22:03:59 +00:00
|
|
|
|
2016-10-03 22:08:00 +00:00
|
|
|
### OPTIONAL
|
|
|
|
qterminal = callPackage ./optional/qterminal { };
|
2016-10-06 22:01:04 +00:00
|
|
|
compton-conf = callPackage ./optional/compton-conf { };
|
2016-10-03 22:57:00 +00:00
|
|
|
|
|
|
|
};
|
2016-10-03 22:08:00 +00:00
|
|
|
|
2016-10-03 21:37:31 +00:00
|
|
|
in self
|