2016-10-03 23:37:31 +02:00
|
|
|
{ pkgs, newScope, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
|
|
|
callPackage = newScope self;
|
|
|
|
|
|
|
|
self = rec {
|
|
|
|
|
|
|
|
# For compiling information, see:
|
2016-10-04 00:57:00 +02:00
|
|
|
# - https://github.com/lxde/lxqt/wiki/Building-from-source
|
|
|
|
|
2016-10-03 23:39:38 +02: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-06 01:41:12 +02:00
|
|
|
--replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphics" \
|
2016-10-03 23:39:38 +02: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-04 00:57:00 +02:00
|
|
|
grep --color=always platform $file || true
|
2016-10-03 23:39:38 +02:00
|
|
|
done
|
|
|
|
echo --------------------------------------------------------
|
|
|
|
'';
|
2016-10-03 23:37:31 +02:00
|
|
|
|
2016-10-03 23:43:06 +02:00
|
|
|
### BASE
|
|
|
|
libqtxdg = callPackage ./base/libqtxdg { };
|
2017-02-19 11:45:37 +01:00
|
|
|
lxqt-build-tools = callPackage ./base/lxqt-build-tools { };
|
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:59:34 +02:00
|
|
|
lxqt-l10n = callPackage ./core/lxqt-l10n { };
|
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:59:34 +02:00
|
|
|
lxqt-policykit = callPackage ./core/lxqt-policykit { };
|
|
|
|
lxqt-powermanagement = callPackage ./core/lxqt-powermanagement { };
|
2016-10-04 00:00:54 +02:00
|
|
|
lxqt-qtplugin = callPackage ./core/lxqt-qtplugin { };
|
|
|
|
lxqt-session = callPackage ./core/lxqt-session { };
|
2016-10-04 00:01:39 +02:00
|
|
|
lxqt-sudo = callPackage ./core/lxqt-sudo { };
|
2016-10-04 00:03:17 +02:00
|
|
|
pavucontrol-qt = callPackage ./core/pavucontrol-qt { };
|
|
|
|
qtermwidget = callPackage ./core/qtermwidget { };
|
2016-10-03 23:49:44 +02:00
|
|
|
|
2016-10-04 00:03:59 +02:00
|
|
|
### CORE 2
|
|
|
|
lxqt-panel = callPackage ./core/lxqt-panel { };
|
2016-10-04 00:05:01 +02:00
|
|
|
lxqt-runner = callPackage ./core/lxqt-runner { };
|
2016-10-04 00:06:13 +02:00
|
|
|
pcmanfm-qt = callPackage ./core/pcmanfm-qt { };
|
2016-10-04 00:03:59 +02:00
|
|
|
|
2016-10-04 00:08:00 +02:00
|
|
|
### OPTIONAL
|
|
|
|
qterminal = callPackage ./optional/qterminal { };
|
2016-10-07 00:01:04 +02:00
|
|
|
compton-conf = callPackage ./optional/compton-conf { };
|
2016-10-07 11:57:25 +02:00
|
|
|
obconf-qt = callPackage ./optional/obconf-qt { };
|
2016-10-08 15:37:10 +02:00
|
|
|
lximage-qt = callPackage ./optional/lximage-qt { };
|
2016-10-10 13:08:00 +02:00
|
|
|
qps = callPackage ./optional/qps { };
|
2016-10-15 00:48:32 +02:00
|
|
|
screengrab = callPackage ./optional/screengrab { };
|
2016-10-15 12:46:12 +02:00
|
|
|
qlipper = callPackage ./optional/qlipper { };
|
2016-10-15 00:48:32 +02:00
|
|
|
|
2016-11-17 12:52:12 +01:00
|
|
|
preRequisitePackages = [
|
|
|
|
pkgs.gvfs # virtual file systems support for PCManFM-QT
|
|
|
|
pkgs.kde5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel
|
|
|
|
pkgs.kde5.libkscreen # provides plugins for screen management software
|
|
|
|
pkgs.libfm
|
|
|
|
pkgs.libfm-extra
|
|
|
|
pkgs.lxmenu-data
|
|
|
|
pkgs.menu-cache
|
|
|
|
pkgs.openbox # default window manager
|
|
|
|
pkgs.qt5.qtsvg # provides QT5 plugins for svg icons
|
|
|
|
];
|
|
|
|
|
|
|
|
corePackages = [
|
|
|
|
### BASE
|
|
|
|
libqtxdg
|
|
|
|
libsysstat
|
|
|
|
liblxqt
|
|
|
|
|
|
|
|
### CORE 1
|
|
|
|
libfm-qt
|
|
|
|
lxqt-about
|
|
|
|
lxqt-admin
|
|
|
|
lxqt-common
|
|
|
|
lxqt-config
|
|
|
|
lxqt-globalkeys
|
|
|
|
lxqt-l10n
|
|
|
|
lxqt-notificationd
|
|
|
|
lxqt-openssh-askpass
|
|
|
|
lxqt-policykit
|
|
|
|
lxqt-powermanagement
|
|
|
|
lxqt-qtplugin
|
|
|
|
lxqt-session
|
|
|
|
lxqt-sudo
|
|
|
|
pavucontrol-qt
|
|
|
|
|
|
|
|
### CORE 2
|
|
|
|
lxqt-panel
|
|
|
|
lxqt-runner
|
|
|
|
pcmanfm-qt
|
|
|
|
];
|
|
|
|
|
|
|
|
optionalPackages = [
|
|
|
|
### LXQt project
|
|
|
|
qterminal
|
|
|
|
compton-conf
|
|
|
|
obconf-qt
|
|
|
|
lximage-qt
|
|
|
|
|
|
|
|
### QtDesktop project
|
|
|
|
qps
|
|
|
|
screengrab
|
|
|
|
|
|
|
|
### Qlipper
|
|
|
|
qlipper
|
|
|
|
|
|
|
|
### Default icon theme
|
|
|
|
pkgs.kde5.oxygen-icons5
|
|
|
|
|
|
|
|
### Screen saver
|
|
|
|
pkgs.xscreensaver
|
|
|
|
];
|
|
|
|
|
2016-10-04 00:57:00 +02:00
|
|
|
};
|
2016-10-04 00:08:00 +02:00
|
|
|
|
2016-10-03 23:37:31 +02:00
|
|
|
in self
|