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