gnome3.gnome-music: fix build
This commit is contained in:
parent
7bfd055dce
commit
4ad9df103d
@ -1,36 +1,47 @@
|
|||||||
{ stdenv, intltool, fetchurl, gdk_pixbuf, tracker, tracker-miners
|
{ stdenv, meson, ninja, gettext, fetchurl, gdk_pixbuf, tracker
|
||||||
, libxml2, python3Packages, libnotify, wrapGAppsHook
|
, libxml2, python3, libnotify, wrapGAppsHook, libmediaart
|
||||||
, pkgconfig, gtk3, glib, cairo
|
, gobjectIntrospection, gnome-online-accounts, grilo, grilo-plugins
|
||||||
, makeWrapper, itstool, gnome3, librsvg, gst_all_1 }:
|
, pkgconfig, gtk3, glib, cairo, desktop-file-utils, appstream-glib
|
||||||
|
, itstool, gnome3, gst_all_1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
name = "gnome-music-${version}";
|
pname = "gnome-music";
|
||||||
version = "3.28.0.1";
|
version = "3.28.0.1";
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-music/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0yyysmxwmk167n8wghcbmxz73kgl1y1j9js3mgkjjqsmkd9brk65";
|
sha256 = "0yyysmxwmk167n8wghcbmxz73kgl1y1j9js3mgkjjqsmkd9brk65";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja gettext itstool pkgconfig libxml2 wrapGAppsHook desktop-file-utils appstream-glib gobjectIntrospection ];
|
||||||
|
buildInputs = with gst_all_1; [
|
||||||
|
gtk3 glib libmediaart gnome-online-accounts
|
||||||
|
gdk_pixbuf gnome3.defaultIconTheme python3
|
||||||
|
grilo grilo-plugins libnotify
|
||||||
|
gnome3.gsettings-desktop-schemas tracker
|
||||||
|
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [ pycairo dbus-python requests pygobject3 ];
|
||||||
|
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for f in meson_post_conf.py meson_post_install.py; do
|
||||||
|
chmod +x $f
|
||||||
|
patchShebangs $f
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript { packageName = "gnome-music"; attrPath = "gnome3.gnome-music"; };
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
|
||||||
buildInputs = [ gtk3 glib intltool itstool gnome3.libmediaart
|
|
||||||
gdk_pixbuf gnome3.defaultIconTheme librsvg python3Packages.python
|
|
||||||
gnome3.grilo gnome3.grilo-plugins gnome3.totem-pl-parser libxml2 libnotify
|
|
||||||
python3Packages.pycairo python3Packages.dbus-python python3Packages.requests
|
|
||||||
python3Packages.pygobject3 gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
|
||||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad wrapGAppsHook
|
|
||||||
gnome3.gsettings-desktop-schemas makeWrapper tracker tracker-miners ];
|
|
||||||
|
|
||||||
wrapPrefixVariables = [ "PYTHONPATH" ];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Music;
|
homepage = https://wiki.gnome.org/Apps/Music;
|
||||||
description = "Music player and management application for the GNOME desktop environment";
|
description = "Music player and management application for the GNOME desktop environment";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user