2008-03-03 11:55:20 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, audacious, dbus_glib, gettext
|
|
|
|
, libmad, xlibs, alsaLib, taglib, libmpcdec, libogg, libvorbis
|
2009-09-02 18:54:08 +02:00
|
|
|
, libcdio, libcddb, libxml2
|
2008-03-03 11:55:20 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-08-29 13:31:16 +02:00
|
|
|
name = "audacious-plugins-1.5.1";
|
2008-03-03 11:55:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-08-29 13:31:16 +02:00
|
|
|
url = http://distfiles.atheme.org/audacious-plugins-1.5.1.tbz2;
|
|
|
|
sha256 = "1ki5bd50g4vi4d0qzxynyrgaq2n4cwhbsxln9rwk8ppphvk9pawc";
|
2008-03-03 11:55:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig audacious dbus_glib gettext libmad
|
|
|
|
xlibs.libXcomposite alsaLib taglib libmpcdec
|
2009-09-02 18:54:08 +02:00
|
|
|
libogg libvorbis libcdio libcddb libxml2
|
2008-03-03 11:55:20 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(pluginlibdir=$out/lib/audacious)
|
|
|
|
'';
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-L${audacious}/lib/audacious"; # needed because we override pluginlibdir
|
|
|
|
|
2009-02-27 17:25:27 +01:00
|
|
|
# `--enable-amidiplug' is to prevent configure from looking in /proc/asound.
|
|
|
|
configureFlags = "--enable-amidiplug";
|
|
|
|
|
2008-03-03 11:55:20 +01:00
|
|
|
meta = {
|
|
|
|
description = "Plugins for the Audacious media player";
|
|
|
|
homepage = http://audacious-media-player.org/;
|
|
|
|
};
|
|
|
|
}
|