push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/src/chromaprint/grl-chromaprint.c b/src/chromaprint/grl-chromaprint.c
index 5a3598b..8979291 100644
--- a/src/chromaprint/grl-chromaprint.c
+++ b/src/chromaprint/grl-chromaprint.c
@@ -111,6 +111,8 @@
gst_init (NULL, NULL);
+ @load_plugins@
+
source = grl_chromaprint_source_new ();
grl_registry_register_source (registry,
plugin,

View File

@@ -0,0 +1,119 @@
{
lib,
stdenv,
fetchurl,
replaceVars,
meson,
ninja,
pkg-config,
gettext,
gperf,
glib,
localsearch,
sqlite,
libarchive,
libdmapsharing,
libsoup_3,
librest_1_0,
gnome,
libxml2,
lua5_4,
liboauth,
libmediaart,
grilo,
gst_all_1,
gnome-online-accounts,
gmime,
gom,
json-glib,
avahi,
tinysparql,
dleyna,
itstool,
totem-pl-parser,
}:
stdenv.mkDerivation rec {
pname = "grilo-plugins";
version = "0.3.18";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "jjznTucXw8Mi0MsPjfJrsJFAKKXQFuKAVf+0nMmkbF4=";
};
patches = [
# grl-chromaprint requires the following GStreamer elements:
# * fakesink (gstreamer)
# * playbin (gst-plugins-base)
# * chromaprint (gst-plugins-bad)
(replaceVars ./chromaprint-gst-plugins.patch {
load_plugins =
lib.concatMapStrings
(plugin: ''gst_registry_scan_path(gst_registry_get(), "${lib.getLib plugin}/lib/gstreamer-1.0");'')
(
with gst_all_1;
[
gstreamer
gst-plugins-base
gst-plugins-bad
]
);
})
];
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
itstool
gperf # for lua-factory
glib # glib-compile-resources
localsearch
];
buildInputs = [
grilo
libxml2
# libgdata
lua5_4
liboauth
sqlite
gnome-online-accounts
totem-pl-parser
libarchive
libdmapsharing
libsoup_3
librest_1_0
gmime
gom
json-glib
avahi
libmediaart
tinysparql
dleyna
gst_all_1.gstreamer
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/grilo-plugins";
description = "Collection of plugins for the Grilo framework";
teams = [ teams.gnome ];
license = licenses.lgpl21Plus;
platforms = platforms.unix;
};
}