mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
e4428949fe
svn path=/nixpkgs/trunk/; revision=16935
34 lines
965 B
Nix
34 lines
965 B
Nix
{ stdenv, fetchurl, pkgconfig, audacious, dbus_glib, gettext
|
|
, libmad, xlibs, alsaLib, taglib, libmpcdec, libogg, libvorbis
|
|
, libcdio, libcddb, libxml2
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "audacious-plugins-1.5.1";
|
|
|
|
src = fetchurl {
|
|
url = http://distfiles.atheme.org/audacious-plugins-1.5.1.tbz2;
|
|
sha256 = "1ki5bd50g4vi4d0qzxynyrgaq2n4cwhbsxln9rwk8ppphvk9pawc";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig audacious dbus_glib gettext libmad
|
|
xlibs.libXcomposite alsaLib taglib libmpcdec
|
|
libogg libvorbis libcdio libcddb libxml2
|
|
];
|
|
|
|
preBuild = ''
|
|
makeFlagsArray=(pluginlibdir=$out/lib/audacious)
|
|
'';
|
|
|
|
NIX_LDFLAGS = "-L${audacious}/lib/audacious"; # needed because we override pluginlibdir
|
|
|
|
# `--enable-amidiplug' is to prevent configure from looking in /proc/asound.
|
|
configureFlags = "--enable-amidiplug";
|
|
|
|
meta = {
|
|
description = "Plugins for the Audacious media player";
|
|
homepage = http://audacious-media-player.org/;
|
|
};
|
|
}
|