* Build a Musepack plugin for BMP so that I can finally play that
Nixon in China rip again :-) svn path=/nixpkgs/trunk/; revision=4676
This commit is contained in:
parent
fedfbe2d1a
commit
6386871030
6
pkgs/applications/audio/bmp-plugins/musepack/builder.sh
Normal file
6
pkgs/applications/audio/bmp-plugins/musepack/builder.sh
Normal file
@ -0,0 +1,6 @@
|
||||
source $stdenv/setup
|
||||
|
||||
ensureDir "$out/lib/bmp/Input"
|
||||
installFlags="install libdir=$out/lib/bmp/Input"
|
||||
|
||||
genericBuild
|
11
pkgs/applications/audio/bmp-plugins/musepack/default.nix
Normal file
11
pkgs/applications/audio/bmp-plugins/musepack/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, pkgconfig, bmp, glib, gtk, libmpcdec, taglib}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "bmp-plugin-musepack-1.2";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://files2.musepack.net/linux/plugins/bmp-musepack-1.2.tar.bz2;
|
||||
md5 = "5fe0c9d341ca37d05c780a478f829a5f";
|
||||
};
|
||||
buildInputs = [pkgconfig bmp glib gtk libmpcdec taglib];
|
||||
}
|
9
pkgs/development/libraries/libmpcdec/default.nix
Normal file
9
pkgs/development/libraries/libmpcdec/default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libmpcdec-1.2.2";
|
||||
src = fetchurl {
|
||||
url = http://files2.musepack.net/source/libmpcdec-1.2.2.tar.bz2;
|
||||
md5 = "f14e07285b9b102a806649074c1d779b";
|
||||
};
|
||||
}
|
10
pkgs/development/libraries/taglib/default.nix
Normal file
10
pkgs/development/libraries/taglib/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, zlib}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "taglib-1.4";
|
||||
src = fetchurl {
|
||||
url = http://developer.kde.org/~wheeler/files/src/taglib-1.4.tar.gz;
|
||||
md5 = "dcd50ddb2544faeae77f194804559404";
|
||||
};
|
||||
buildInputs = [zlib];
|
||||
}
|
@ -1477,6 +1477,14 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
taglib = import ../development/libraries/taglib {
|
||||
inherit fetchurl stdenv zlib;
|
||||
};
|
||||
|
||||
libmpcdec = import ../development/libraries/libmpcdec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
|
||||
### SERVERS
|
||||
|
||||
@ -1897,6 +1905,11 @@ rec {
|
||||
inherit (gtkLibs) glib gtk;
|
||||
};
|
||||
|
||||
bmp_plugin_musepack = import ../applications/audio/bmp-plugins/musepack {
|
||||
inherit fetchurl stdenv pkgconfig bmp libmpcdec taglib;
|
||||
inherit (gtkLibs) glib gtk;
|
||||
};
|
||||
|
||||
MPlayer = (import ../applications/video/MPlayer) {
|
||||
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca;
|
||||
inherit (xlibs) libXv libXinerama;
|
||||
|
@ -16,6 +16,8 @@ let {
|
||||
bisonnew
|
||||
bittorrent
|
||||
blackdown
|
||||
bmp
|
||||
bmp_plugin_musepack
|
||||
bsdiff
|
||||
bzip2
|
||||
callgrind
|
||||
|
Loading…
Reference in New Issue
Block a user