3
0
Fork 0
forked from mirrors/nixpkgs

* 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:
Eelco Dolstra 2006-02-02 15:04:04 +00:00
parent fedfbe2d1a
commit 6386871030
6 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,6 @@
source $stdenv/setup
ensureDir "$out/lib/bmp/Input"
installFlags="install libdir=$out/lib/bmp/Input"
genericBuild

View 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];
}

View 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";
};
}

View 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];
}

View file

@ -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;

View file

@ -16,6 +16,8 @@ let {
bisonnew
bittorrent
blackdown
bmp
bmp_plugin_musepack
bsdiff
bzip2
callgrind