taglib: 1.13.1 -> 2.0.2, taglib_1: init at 1.13.1
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
soundtouch,
|
||||
sratom,
|
||||
suil,
|
||||
taglib,
|
||||
taglib_1,
|
||||
vamp-plugin-sdk,
|
||||
wafHook,
|
||||
xjadeo,
|
||||
@@ -166,7 +166,7 @@ stdenv.mkDerivation rec {
|
||||
soundtouch
|
||||
sratom
|
||||
suil
|
||||
taglib
|
||||
taglib_1
|
||||
vamp-plugin-sdk
|
||||
]
|
||||
++ lib.optionals videoSupport [
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
qtbase,
|
||||
qtx11extras,
|
||||
qttools,
|
||||
taglib,
|
||||
taglib_1,
|
||||
fftw,
|
||||
glew,
|
||||
qjson,
|
||||
@@ -92,7 +92,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qtx11extras
|
||||
qttools
|
||||
sqlite
|
||||
taglib
|
||||
taglib_1
|
||||
alsa-lib
|
||||
]
|
||||
# gst_plugins needed for setup-hooks
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
kxmlgui,
|
||||
qtbase,
|
||||
phonon,
|
||||
taglib,
|
||||
taglib_1,
|
||||
# optional backends
|
||||
withCD ? true,
|
||||
cdparanoia,
|
||||
@@ -131,7 +131,7 @@ mkDerivation rec {
|
||||
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";
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
cmake,
|
||||
zlib,
|
||||
curl,
|
||||
taglib,
|
||||
dbus,
|
||||
pkg-config,
|
||||
qtbase,
|
||||
@@ -27,7 +26,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qtbase
|
||||
zlib
|
||||
curl
|
||||
taglib
|
||||
dbus
|
||||
];
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
libmusicbrainz5,
|
||||
|
||||
withTaglib ? true,
|
||||
taglib,
|
||||
taglib_1,
|
||||
taglib_extras,
|
||||
withHttpStream ? true,
|
||||
withReplaygain ? true,
|
||||
@@ -139,7 +139,7 @@ let
|
||||
];
|
||||
enable = withTaglib;
|
||||
pkgs = [
|
||||
taglib
|
||||
taglib_1
|
||||
taglib_extras
|
||||
];
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
glib,
|
||||
libid3tag,
|
||||
id3lib,
|
||||
taglib,
|
||||
taglib_1,
|
||||
libvorbis,
|
||||
libogg,
|
||||
opusfile,
|
||||
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||
glib
|
||||
libid3tag
|
||||
id3lib
|
||||
taglib
|
||||
taglib_1
|
||||
libvorbis
|
||||
libogg
|
||||
opusfile
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
ffmpeg,
|
||||
libebur128,
|
||||
libresample,
|
||||
taglib,
|
||||
taglib_1,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
ffmpeg
|
||||
libebur128
|
||||
libresample
|
||||
taglib
|
||||
taglib_1
|
||||
zlib
|
||||
];
|
||||
|
||||
|
||||
@@ -3,33 +3,33 @@
|
||||
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;
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
})
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
taglib,
|
||||
zlib,
|
||||
@@ -11,9 +12,18 @@ stdenv.mkDerivation rec {
|
||||
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
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
srt,
|
||||
stdenv,
|
||||
systemd,
|
||||
taglib,
|
||||
taglib_1,
|
||||
unzip,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
@@ -194,7 +194,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
speex
|
||||
srt
|
||||
systemd
|
||||
taglib
|
||||
taglib_1
|
||||
xcbutilkeysyms
|
||||
wayland-scanner # only required for configure script
|
||||
zlib
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ffmpeg_6,
|
||||
libvlc,
|
||||
qt6Packages,
|
||||
taglib,
|
||||
taglib_1,
|
||||
SDL2,
|
||||
gst_all_1,
|
||||
}:
|
||||
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||
qt6Packages.qtmultimedia
|
||||
ffmpeg_6
|
||||
libvlc
|
||||
taglib
|
||||
taglib_1
|
||||
SDL2
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
deepin-pdfium,
|
||||
qt5integration,
|
||||
qt5platform-plugins,
|
||||
taglib,
|
||||
taglib_1,
|
||||
ffmpeg,
|
||||
ffmpegthumbnailer,
|
||||
pcre,
|
||||
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
deepin-pdfium
|
||||
qt5integration
|
||||
qt5platform-plugins
|
||||
taglib
|
||||
taglib_1
|
||||
ffmpeg
|
||||
ffmpegthumbnailer
|
||||
pcre
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
gitUpdater,
|
||||
nixosTests,
|
||||
testers,
|
||||
@@ -48,6 +49,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
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
|
||||
|
||||
@@ -52,6 +52,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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 = ''
|
||||
|
||||
@@ -188,10 +188,10 @@ in
|
||||
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;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
dune-configurator,
|
||||
pkg-config,
|
||||
taglib,
|
||||
taglib_1,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
@@ -24,7 +24,7 @@ buildDunePackage rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [
|
||||
taglib
|
||||
taglib_1
|
||||
zlib
|
||||
];
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
taglib,
|
||||
taglib_1,
|
||||
cython,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [
|
||||
cython
|
||||
taglib
|
||||
taglib_1
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
, 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
|
||||
@@ -848,7 +848,7 @@ in
|
||||
};
|
||||
|
||||
taglib-ruby = attrs: {
|
||||
buildInputs = [ taglib ];
|
||||
buildInputs = [ taglib_1 ];
|
||||
};
|
||||
|
||||
timfel-krb5-auth = attrs: {
|
||||
|
||||
@@ -1834,7 +1834,7 @@ let
|
||||
### T ###
|
||||
|
||||
taglib = callPackage ../development/ocaml-modules/taglib {
|
||||
inherit (pkgs) taglib;
|
||||
inherit (pkgs) taglib_1;
|
||||
};
|
||||
|
||||
tar = callPackage ../development/ocaml-modules/tar { };
|
||||
|
||||
Reference in New Issue
Block a user