diff --git a/pkgs/desktops/kde-4.14/kdemultimedia/juk.nix b/pkgs/desktops/kde-4.14/kdemultimedia/juk.nix index 5d7b1db224ea..93365b194b2e 100644 --- a/pkgs/desktops/kde-4.14/kdemultimedia/juk.nix +++ b/pkgs/desktops/kde-4.14/kdemultimedia/juk.nix @@ -1,9 +1,9 @@ -{ kde, kdelibs, taglib, libtunepimp }: +{ kde, kdelibs, taglib_1_9, libtunepimp }: kde { # TODO: opusfile - buildInputs = [ kdelibs taglib libtunepimp ]; + buildInputs = [ kdelibs taglib_1_9 libtunepimp ]; meta = { description = "an audio jukebox application"; }; diff --git a/pkgs/development/libraries/taglib/1.9.nix b/pkgs/development/libraries/taglib/1.9.nix new file mode 100644 index 000000000000..41087044e49d --- /dev/null +++ b/pkgs/development/libraries/taglib/1.9.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl, zlib, cmake}: + +stdenv.mkDerivation rec { + name = "taglib-1.9.1"; + + src = fetchurl { + url = http://taglib.github.io/releases/taglib-1.9.1.tar.gz; + sha256 = "06n7gnbcqa3r6c9gv00y0y1r48dyyazm6yj403i7ma0r2k6p3lvj"; + }; + + cmakeFlags = "-DWITH_ASF=ON -DWITH_MP4=ON"; + + buildInputs = [ zlib ]; + nativeBuildInputs = [ cmake ]; + + meta = { + homepage = http://developer.kde.org/~wheeler/taglib.html; + repositories.git = git://github.com/taglib/taglib.git; + + description = "A library for reading and editing the meta-data of several popular audio formats"; + inherit (cmake.meta) platforms; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3520e767afca..533503b922ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8410,6 +8410,7 @@ let t1lib = callPackage ../development/libraries/t1lib { }; taglib = callPackage ../development/libraries/taglib { }; + taglib_1_9 = callPackage ../development/libraries/taglib/1.9.nix { }; taglib_extras = callPackage ../development/libraries/taglib-extras { };