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