work very well after the Glibc update), plus its dependencies. TODO: make an audacious-wrapper that lets Audacious find its plugins automatically. Currently you have to install audacious-plugins and symlink ~/.nix-profile/lib/audacious/* in ~/.local/share/audacious/Plugins. svn path=/nixpkgs/trunk/; revision=10927wip/yesman
parent
25f81f6438
commit
f30f36104b
@ -0,0 +1,32 @@ |
||||
{ stdenv, fetchurl, pkgconfig, glib, gtk, libmowgli |
||||
, libglade, libmcs, gettext, xlibs, dbus_glib |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "audacious-1.4.6"; |
||||
|
||||
src = fetchurl { |
||||
url = http://distfiles.atheme.org/audacious-1.4.6.tbz2; |
||||
sha256 = "0n4za82xlh3nfvfk0hq81bmh0sx233gxq8xj68jzalmbijsnbs0l"; |
||||
}; |
||||
|
||||
buildInputs = [pkgconfig libglade libmcs gettext dbus_glib]; |
||||
|
||||
propagatedBuildInputs = [glib gtk libmowgli libmcs]; |
||||
|
||||
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib"; |
||||
|
||||
# Otherwise we barf with "libgcc_s.so.1 must be installed for |
||||
# pthread_cancel to work" on exit, as it tries to find libgcc_s |
||||
# dynamically. |
||||
dontPatchELF = true; |
||||
|
||||
preBuild = '' |
||||
ensureDir $out/lib |
||||
''; |
||||
|
||||
meta = { |
||||
description = "Audacious, a media player forked from the Beep Media Player, which was itself an XMMS fork"; |
||||
homepage = http://audacious-media-player.org/; |
||||
}; |
||||
} |
@ -0,0 +1,29 @@ |
||||
{ stdenv, fetchurl, pkgconfig, audacious, dbus_glib, gettext |
||||
, libmad, xlibs, alsaLib, taglib, libmpcdec, libogg, libvorbis |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "audacious-plugins-1.4.5"; |
||||
|
||||
src = fetchurl { |
||||
url = http://distfiles.atheme.org/audacious-plugins-1.4.5.tbz2; |
||||
sha256 = "145dn2x1rldwbaxnl19j7cw338fs9fwcn607r8gk01adfy3warxq"; |
||||
}; |
||||
|
||||
buildInputs = [ |
||||
pkgconfig audacious dbus_glib gettext libmad |
||||
xlibs.libXcomposite alsaLib taglib libmpcdec |
||||
libogg libvorbis |
||||
]; |
||||
|
||||
preBuild = '' |
||||
makeFlagsArray=(pluginlibdir=$out/lib/audacious) |
||||
''; |
||||
|
||||
NIX_LDFLAGS = "-L${audacious}/lib/audacious"; # needed because we override pluginlibdir |
||||
|
||||
meta = { |
||||
description = "Plugins for the Audacious media player"; |
||||
homepage = http://audacious-media-player.org/; |
||||
}; |
||||
} |
@ -0,0 +1,17 @@ |
||||
{stdenv, fetchurl, pkgconfig, libmowgli}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "libmcs-0.7.0"; |
||||
|
||||
src = fetchurl { |
||||
url = http://distfiles.atheme.org/libmcs-0.7.0.tgz; |
||||
sha256 = "11qjrxxgk0yvqm668dyaj54kgijcnkaid8dld8lf4br2glmz2jy5"; |
||||
}; |
||||
|
||||
buildInputs = [pkgconfig libmowgli]; |
||||
|
||||
meta = { |
||||
description = "A library and set of userland tools which abstract the storage of configuration settings away from userland applications"; |
||||
homepage = http://www.atheme.org/projects/mcs.shtml; |
||||
}; |
||||
} |
@ -0,0 +1,15 @@ |
||||
{stdenv, fetchurl}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "libmowgli-0.6.1"; |
||||
|
||||
src = fetchurl { |
||||
url = http://distfiles.atheme.org/libmowgli-0.6.1.tgz; |
||||
sha256 = "0bhxgyx6c913pyiib768qmsi059dnq1zj3k2nik9976hy5yd8m0l"; |
||||
}; |
||||
|
||||
meta = { |
||||
description = "A development framework for C providing high performance and highly flexible algorithms"; |
||||
homepage = http://www.atheme.org/projects/mowgli.shtml; |
||||
}; |
||||
} |
@ -1,9 +1,9 @@ |
||||
{stdenv, fetchurl}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "libmpcdec-1.2.2"; |
||||
name = "libmpcdec-1.2.6"; |
||||
src = fetchurl { |
||||
url = http://files2.musepack.net/source/libmpcdec-1.2.2.tar.bz2; |
||||
md5 = "f14e07285b9b102a806649074c1d779b"; |
||||
url = http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2; |
||||
md5 = "7f7a060e83b4278acf4b77d7a7b9d2c0"; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue