add dconf dependencies to sound-juicer and brasero

If you have services.gnome3.enabled = true, you shouldn't need this, but
if you don't, you'll need this dconf env var to be able to save settings
in these apps.
This commit is contained in:
Brandon Dimcheff 2015-03-24 10:30:00 -04:00
parent aea93670d1
commit 93228a0863
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ pkgconfig gtk3 intltool itstool libxml2 brasero libcanberra_gtk3
gnome3.gsettings_desktop_schemas libmusicbrainz5 libdiscid isocodes
makeWrapper
makeWrapper gnome3.dconf
gst_all_1.gstreamer gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ];
@ -31,6 +31,7 @@ in stdenv.mkDerivation rec {
wrapProgram "$f" \
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules" \
--prefix GST_PLUGIN_PATH : "${GST_PLUGIN_PATH}"
done
'';

View File

@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ pkgconfig gtk3 itstool libxml2 libnotify libcanberra_gtk3
intltool gnome3.gsettings_desktop_schemas makeWrapper libdvdcss
gst_all_1.gstreamer gst_all_1.gst-plugins-base
gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.dconf
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ];
# brasero checks that the applications it uses aren't symlinks, but this
@ -42,6 +42,7 @@ in stdenv.mkDerivation rec {
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
--prefix GST_PLUGIN_PATH : "${GST_PLUGIN_PATH}" \
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules" \
--prefix LD_LIBRARY_PATH : ${libdvdcss}/lib
done
rm $out/share/icons/hicolor/icon-theme.cache