taglib: 1.13.1 -> 2.0.2, taglib_1: init at 1.13.1

OPNA2608 17037d29 7703504a

Changed files
+120 -37
pkgs
applications
audio
ardour
clementine
soundkonverter
video
obs-studio
plugins
obs-tuna
by-name
ca
cantata
ea
easytag
lo
loudgain
ta
taglib
taglib_1
taglib_extras
vl
desktops
deepin
apps
deepin-music
core
dde-grand-search
lomiri
services
lomiri-thumbnailer
mediascanner2
development
compilers
chicken
ocaml-modules
taglib
python-modules
pytaglib
ruby-modules
gem-config
top-level
+2 -2
pkgs/applications/audio/ardour/7.nix
···
soundtouch,
sratom,
suil,
-
taglib,
+
taglib_1,
vamp-plugin-sdk,
wafHook,
xjadeo,
···
soundtouch
sratom
suil
-
taglib
+
taglib_1
vamp-plugin-sdk
]
++ lib.optionals videoSupport [
+2 -2
pkgs/applications/audio/clementine/default.nix
···
qtbase,
qtx11extras,
qttools,
-
taglib,
+
taglib_1,
fftw,
glew,
qjson,
···
qtx11extras
qttools
sqlite
-
taglib
+
taglib_1
alsa-lib
]
# gst_plugins needed for setup-hooks
+2 -2
pkgs/applications/audio/soundkonverter/default.nix
···
kxmlgui,
qtbase,
phonon,
-
taglib,
+
taglib_1,
# optional backends
withCD ? true,
cdparanoia,
···
qtbase
phonon
];
-
buildInputs = [ taglib ] ++ runtimeDeps;
+
buildInputs = [ taglib_1 ] ++ runtimeDeps;
# encoder plugins go to ${out}/lib so they're found by kbuildsycoca5
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=$out" ];
sourceRoot = "${src.name}/src";
-2
pkgs/applications/video/obs-studio/plugins/obs-tuna/default.nix
···
cmake,
zlib,
curl,
-
taglib,
dbus,
pkg-config,
qtbase,
···
qtbase
zlib
curl
-
taglib
dbus
];
+2 -2
pkgs/by-name/ca/cantata/package.nix
···
libmusicbrainz5,
withTaglib ? true,
-
taglib,
+
taglib_1,
taglib_extras,
withHttpStream ? true,
withReplaygain ? true,
···
];
enable = withTaglib;
pkgs = [
-
taglib
+
taglib_1
taglib_extras
];
}
+2 -2
pkgs/by-name/ea/easytag/package.nix
···
glib,
libid3tag,
id3lib,
-
taglib,
+
taglib_1,
libvorbis,
libogg,
opusfile,
···
glib
libid3tag
id3lib
-
taglib
+
taglib_1
libvorbis
libogg
opusfile
+2 -2
pkgs/by-name/lo/loudgain/package.nix
···
ffmpeg,
libebur128,
libresample,
-
taglib,
+
taglib_1,
zlib,
}:
···
ffmpeg
libebur128
libresample
-
taglib
+
taglib_1
zlib
];
+7 -7
pkgs/by-name/ta/taglib/package.nix
···
stdenv,
fetchFromGitHub,
cmake,
+
utf8cpp,
zlib,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "taglib";
-
version = "1.13.1";
+
version = "2.0.2";
src = fetchFromGitHub {
owner = "taglib";
repo = "taglib";
rev = "v${finalAttrs.version}";
-
hash = "sha256-QX0EpHGT36UsgIfRf5iALnwxe0jjLpZvCTbk8vSMFF4=";
+
hash = "sha256-3cJwCo2nUSRYkk8H8dzyg7UswNPhjfhyQ704Fn9yNV8=";
};
strictDeps = true;
nativeBuildInputs = [ cmake ];
-
buildInputs = [ zlib ];
+
buildInputs = [
+
zlib
+
utf8cpp
+
];
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
-
# Workaround unconditional ${prefix} until upstream is fixed:
-
# https://github.com/taglib/taglib/issues/1098
-
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
-
(lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include")
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+58
pkgs/by-name/ta/taglib_1/package.nix
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitHub,
+
cmake,
+
zlib,
+
testers,
+
}:
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "taglib";
+
version = "1.13.1";
+
+
src = fetchFromGitHub {
+
owner = "taglib";
+
repo = "taglib";
+
rev = "v${finalAttrs.version}";
+
hash = "sha256-QX0EpHGT36UsgIfRf5iALnwxe0jjLpZvCTbk8vSMFF4=";
+
};
+
+
strictDeps = true;
+
+
nativeBuildInputs = [ cmake ];
+
+
buildInputs = [ zlib ];
+
+
cmakeFlags = [
+
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
+
# Workaround unconditional ${prefix} until upstream is fixed:
+
# https://github.com/taglib/taglib/issues/1098
+
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
+
(lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include")
+
];
+
+
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
+
meta = {
+
homepage = "https://taglib.org/";
+
description = "Library for reading and editing audio file metadata";
+
mainProgram = "taglib-config";
+
longDescription = ''
+
TagLib is a library for reading and editing the meta-data of several
+
popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3
+
files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC,
+
Speex, WavPack, TrueAudio, WAV, AIFF, MP4 and ASF files.
+
'';
+
license = with lib.licenses; [
+
lgpl21Only
+
mpl11
+
];
+
maintainers = with lib.maintainers; [ ttuegel ];
+
pkgConfigModules = [
+
"taglib"
+
"taglib_c"
+
];
+
platforms = lib.platforms.all;
+
};
+
})
+11 -1
pkgs/by-name/ta/taglib_extras/package.nix
···
lib,
stdenv,
fetchurl,
+
fetchpatch,
cmake,
taglib,
zlib,
···
pname = "taglib-extras";
version = "1.0.1";
src = fetchurl {
-
url = "https://ftp.rz.uni-wuerzburg.de/pub/unix/kde/taglib-extras/${version}/src/${pname}-${version}.tar.gz";
+
url = "https://download.kde.org/stable/taglib-extras/${version}/src/taglib-extras-${version}.tar.gz";
sha256 = "0cln49ws9svvvals5fzxjxlzqm0fzjfymn7yfp4jfcjz655nnm7y";
};
+
+
patches = [
+
(fetchurl {
+
name = "2001-taglib-extras-Fix-taglib-2.x-compat.patch";
+
url = "https://aur.archlinux.org/cgit/aur.git/plain/taglib-2.0.diff?h=taglib-extras&id=5826657b841b138c501e0633d1c9333fe9197b00";
+
hash = "sha256-yhme2KcIS5SPXz+mx/R2OiLV57WHz6WW8LJtYab4h5I=";
+
})
+
];
+
buildInputs = [ taglib ];
nativeBuildInputs = [
cmake
+2 -2
pkgs/by-name/vl/vlc/package.nix
···
srt,
stdenv,
systemd,
-
taglib,
+
taglib_1,
unzip,
wayland,
wayland-protocols,
···
speex
srt
systemd
-
taglib
+
taglib_1
xcbutilkeysyms
wayland-scanner # only required for configure script
zlib
+2 -2
pkgs/desktops/deepin/apps/deepin-music/default.nix
···
ffmpeg_6,
libvlc,
qt6Packages,
-
taglib,
+
taglib_1,
SDL2,
gst_all_1,
}:
···
qt6Packages.qtmultimedia
ffmpeg_6
libvlc
-
taglib
+
taglib_1
SDL2
]
++ (with gst_all_1; [
+2 -2
pkgs/desktops/deepin/core/dde-grand-search/default.nix
···
deepin-pdfium,
qt5integration,
qt5platform-plugins,
-
taglib,
+
taglib_1,
ffmpeg,
ffmpegthumbnailer,
pcre,
···
deepin-pdfium
qt5integration
qt5platform-plugins
-
taglib
+
taglib_1
ffmpeg
ffmpegthumbnailer
pcre
+9
pkgs/desktops/lomiri/services/lomiri-thumbnailer/default.nix
···
stdenv,
lib,
fetchFromGitLab,
+
fetchpatch,
gitUpdater,
nixosTests,
testers,
···
];
patches = [
+
# Fix compat with taglib 2.x
+
# Remove when version > 3.0.4
+
(fetchpatch {
+
name = "0001-lomiri-thumbnailer-Fix-taglib-2.x-compat.patch";
+
url = "https://gitlab.com/ubports/development/core/lomiri-thumbnailer/-/commit/b7f1055e36cd6e33314bb9f6648f93e977a33267.patch";
+
hash = "sha256-9RHtxqsgdMkgIyswaeL5yS6+o/YvzT+HgRD8KL/RfNM=";
+
})
+
# Remove when https://gitlab.com/ubports/development/core/lomiri-thumbnailer/-/merge_requests/23 merged & in release
./1001-doc-liblomiri-thumbnailer-qt-Honour-CMAKE_INSTALL_DO.patch
./1002-Re-enable-documentation.patch
+8
pkgs/desktops/lomiri/services/mediascanner2/default.nix
···
url = "https://gitlab.com/ubports/development/core/mediascanner2/-/commit/1e65b32e32a0536b9e2f283ba563fa78b6ef6d61.patch";
hash = "sha256-Xhm5+/E/pP+mn+4enqdsor1oRqfYTzabg1ODVfIhra4=";
})
+
+
# Fix taglib 2.x compat
+
# Remove when version > 0.117
+
(fetchpatch {
+
name = "0002-mediascanner2-Fix-taglib-2.x-compat.patch";
+
url = "https://gitlab.com/ubports/development/core/mediascanner2/-/commit/0ce744ecb32abb39516d1b9f98d47c3e86690158.patch";
+
hash = "sha256-hz/EB83yNoxhxkEcg7ZMezknpKajhH1BNkYD3wrf/eY=";
+
})
];
postPatch = ''
+2 -2
pkgs/development/compilers/chicken/5/overrides.nix
···
old: (addToBuildInputs [ pkgs.ncurses pkgs.stfl ] old) // (addToCscOptions "-L -lncurses" old);
taglib =
old:
-
(addToBuildInputs [ pkgs.zlib pkgs.taglib ] old)
+
(addToBuildInputs [ pkgs.zlib pkgs.taglib_1 ] old)
// (
# needed for tablib-config to be in PATH
-
addToNativeBuildInputs pkgs.taglib old
+
addToNativeBuildInputs pkgs.taglib_1 old
);
uuid-lib = addToBuildInputs pkgs.libuuid;
webview = addToBuildInputsWithPkgConfig pkgs.webkitgtk_4_0;
+2 -2
pkgs/development/ocaml-modules/taglib/default.nix
···
fetchFromGitHub,
dune-configurator,
pkg-config,
-
taglib,
+
taglib_1,
zlib,
}:
···
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
-
taglib
+
taglib_1
zlib
];
+2 -2
pkgs/development/python-modules/pytaglib/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
-
taglib,
+
taglib_1,
cython,
pytestCheckHook,
pythonOlder,
···
buildInputs = [
cython
-
taglib
+
taglib_1
];
nativeCheckInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/ruby-modules/gem-config/default.nix
···
, cmake, libssh2, openssl, openssl_1_1, libmysqlclient, git, perl, pcre2, gecode_3, curl
, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk3, lerc, buildRubyGem
, cairo, expat, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx
-
, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
+
, file, libvirt, glib, vips, taglib_1, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook3, atk
, bundler, libsass, dart-sass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libepoxy, libxkbcommon, libmaxminddb, libyaml
···
};
taglib-ruby = attrs: {
-
buildInputs = [ taglib ];
+
buildInputs = [ taglib_1 ];
};
timfel-krb5-auth = attrs: {
+1 -1
pkgs/top-level/ocaml-packages.nix
···
### T ###
taglib = callPackage ../development/ocaml-modules/taglib {
-
inherit (pkgs) taglib;
+
inherit (pkgs) taglib_1;
};
tar = callPackage ../development/ocaml-modules/tar { };