audacious: small update, fix crashes due to gsettings schemas

Close #1037.
This commit is contained in:
Vladimír Čunát 2013-10-04 21:02:17 +02:00
parent 4acb16af4e
commit da55e2c186

View File

@ -1,28 +1,28 @@
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libmowgli, libmcs { stdenv, fetchurl, pkgconfig, glib, gtk3, libmowgli, libmcs
, gettext, dbus_glib, libxml2, libmad, xlibs, alsaLib, libogg , gettext, dbus_glib, libxml2, libmad, xlibs, alsaLib, libogg
, libvorbis, libcdio, libcddb, flac, ffmpeg , libvorbis, libcdio, libcddb, flac, ffmpeg, makeWrapper
}: }:
let let
version = "3.3.4"; version = "3.4.1";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "audacious-${version}"; name = "audacious-${version}";
src = fetchurl { src = fetchurl {
url = "http://distfiles.audacious-media-player.org/audacious-${version}.tar.bz2"; url = "http://distfiles.audacious-media-player.org/audacious-${version}.tar.bz2";
sha256 = "19zw4yj8g4fvxkv0ql8v8vgxzldxl1fzig239zzv88mpnvwxn737"; sha256 = "0wf99b0nrk90fyak4gpwi076qnsrmv1j8958cvi57rxig21lvvap";
}; };
pluginsSrc = fetchurl { pluginsSrc = fetchurl {
url = "http://distfiles.audacious-media-player.org/audacious-plugins-${version}.tar.bz2"; url = "http://distfiles.audacious-media-player.org/audacious-plugins-${version}.tar.bz2";
sha256 = "1l5g0zq73qp1hlrf4xsaj0n3hg0asrp7169531jgpncjn15dhvdn"; sha256 = "02ivrxs6109nmmz9pkbf9dkm36s2lyp9vfv59sm0acxxd4db71md";
}; };
buildInputs = buildInputs =
[ gettext pkgconfig glib gtk3 libmowgli libmcs libxml2 dbus_glib [ gettext pkgconfig glib gtk3 libmowgli libmcs libxml2 dbus_glib
libmad xlibs.libXcomposite libogg libvorbis flac alsaLib libcdio libmad xlibs.libXcomposite libogg libvorbis flac alsaLib libcdio
libcddb ffmpeg libcddb ffmpeg makeWrapper
]; ];
# Here we build bouth audacious and audacious-plugins in one # Here we build bouth audacious and audacious-plugins in one
@ -44,7 +44,16 @@ stdenv.mkDerivation {
src=$pluginsSrc src=$pluginsSrc
genericBuild genericBuild
) )
(
source $stdenv/setup
# gsettings schemas for file dialogues
for file in "$out"/bin/*; do
wrapProgram "$file" --prefix XDG_DATA_DIRS : "$XDG_ADD"
done
)
''; '';
XDG_ADD = gtk3 + "/share";
enableParallelBuilding = true; enableParallelBuilding = true;