2022-05-18 14:49:53 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, fetchFromGitLab
|
2020-04-24 23:36:52 +00:00
|
|
|
, python3
|
2022-05-18 14:49:53 +00:00
|
|
|
, vala
|
|
|
|
, glib
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk3
|
|
|
|
, libpeas
|
2023-04-29 16:46:19 +00:00
|
|
|
, libsoup_3
|
2022-05-18 14:49:53 +00:00
|
|
|
, libxml2
|
2021-07-24 12:14:16 +00:00
|
|
|
, libsecret
|
|
|
|
, libnotify
|
2021-07-14 22:03:04 +00:00
|
|
|
, libdmapsharing
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2022-03-30 09:31:56 +00:00
|
|
|
, gobject-introspection
|
2020-04-24 23:36:52 +00:00
|
|
|
, totem-pl-parser
|
2022-05-18 14:49:53 +00:00
|
|
|
, libgudev
|
|
|
|
, libgpod
|
|
|
|
, libmtp
|
|
|
|
, lirc
|
|
|
|
, brasero
|
|
|
|
, grilo
|
2020-04-24 23:36:52 +00:00
|
|
|
, tdb
|
|
|
|
, json-glib
|
|
|
|
, itstool
|
|
|
|
, wrapGAppsHook
|
2022-07-14 12:49:19 +00:00
|
|
|
, desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
, gst_all_1
|
|
|
|
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
2022-07-14 12:49:19 +00:00
|
|
|
, check
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-07-24 12:14:16 +00:00
|
|
|
pname = "rhythmbox";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "3.4.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-24 12:14:16 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "L21WwT/BpkxTT1AHiPtIKTbOVHs0PtkMZ94fK84M+n4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2022-05-18 14:49:53 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
glib
|
2020-04-24 23:36:52 +00:00
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
2022-07-14 12:49:19 +00:00
|
|
|
desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python3
|
2023-04-29 16:46:19 +00:00
|
|
|
libsoup_3
|
2022-05-18 14:49:53 +00:00
|
|
|
libxml2
|
2020-04-24 23:36:52 +00:00
|
|
|
tdb
|
|
|
|
json-glib
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
glib
|
2020-04-24 23:36:52 +00:00
|
|
|
gtk3
|
|
|
|
libpeas
|
|
|
|
totem-pl-parser
|
2022-05-18 14:49:53 +00:00
|
|
|
libgudev
|
|
|
|
libgpod
|
|
|
|
libmtp
|
|
|
|
lirc
|
|
|
|
brasero
|
|
|
|
grilo
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
gobject-introspection
|
|
|
|
python3.pkgs.pygobject3
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
2021-07-24 12:14:16 +00:00
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-ugly
|
|
|
|
gst_all_1.gst-libav
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
libdmapsharing # for daap support
|
2021-07-24 12:14:16 +00:00
|
|
|
libsecret
|
|
|
|
libnotify
|
2020-04-24 23:36:52 +00:00
|
|
|
] ++ gst_plugins;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-07-14 12:49:19 +00:00
|
|
|
check
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
2023-04-29 16:46:19 +00:00
|
|
|
"-Ddaap=enabled"
|
2022-07-14 12:49:19 +00:00
|
|
|
"-Dtests=disabled"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Requires DISPLAY
|
|
|
|
doCheck = false;
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix PYTHONPATH : "${python3.pkgs.pygobject3}/${python3.sitePackages}:$out/lib/rhythmbox/plugins/"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Rhythmbox";
|
|
|
|
description = "A music playing application for GNOME";
|
2021-07-24 12:14:16 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.rasendubi ];
|
|
|
|
};
|
|
|
|
}
|