plasma-desktop: propagate runtime dependencies

This commit is contained in:
Thomas Tuegel 2015-10-16 19:01:31 -05:00
parent 3af1894557
commit 7500e0d19c
1 changed files with 11 additions and 3 deletions

View File

@ -19,14 +19,14 @@ plasmaPackage {
buildInputs = [ buildInputs = [
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels attica boost fontconfig kcmutils kdbusaddons kded kitemmodels
knewstuff knotifications knotifyconfig kwallet libcanberra_kde knewstuff knotifications knotifyconfig kwallet libcanberra_kde
libXcursor libpulseaudio libXft libxkbfile phonon qtdeclarative libXcursor libpulseaudio libXft libxkbfile phonon
qtx11extras qtsvg xf86inputevdev xf86inputsynaptics qtsvg xf86inputevdev xf86inputsynaptics
xkeyboard_config xinput xkeyboard_config xinput
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
baloo kactivities kauth kdeclarative kdelibs4support kemoticons baloo kactivities kauth kdeclarative kdelibs4support kemoticons
kglobalaccel ki18n kpeople krunner kwin plasma-framework kglobalaccel ki18n kpeople krunner kwin plasma-framework
plasma-workspace plasma-workspace qtdeclarative qtx11extras
]; ];
patches = [ patches = [
(substituteAll { (substituteAll {
@ -41,6 +41,14 @@ plasmaPackage {
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg" "-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"
]; ];
postInstall = '' postInstall = ''
# These files are installed in the wrong location.
cd "$out/share/plasma/plasmoids/org.kde.desktopcontainment/contents"
mv "code/LayoutManager.js" "ui/LayoutManager.js"
cd "$out/share/plasma/plasmoids/org.kde.panel/contents"
mv "code/LayoutManager.js" "ui/LayoutManager.js"
cd "$NIX_BUILD_TOP"
wrapKDEProgram "$out/bin/kaccess" wrapKDEProgram "$out/bin/kaccess"
wrapKDEProgram "$out/bin/solid-action-desktop-gen" wrapKDEProgram "$out/bin/solid-action-desktop-gen"
wrapKDEProgram "$out/bin/knetattach" wrapKDEProgram "$out/bin/knetattach"