totem: Add python3 dependencies for plugins
This commit is contained in:
parent
8c3e4826ce
commit
1ef2766623
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, intltool, fetchurl, gst_all_1
|
{ stdenv, intltool, fetchurl, gst_all_1
|
||||||
, clutter_gtk, clutter-gst, pygobject3, shared_mime_info
|
, clutter_gtk, clutter-gst, python3Packages, shared_mime_info
|
||||||
, pkgconfig, gtk3, glib
|
, pkgconfig, gtk3, glib, gobjectIntrospection
|
||||||
, bash, makeWrapper, itstool, libxml2, dbus_glib
|
, bash, wrapGAppsHook, itstool, libxml2, dbus_glib
|
||||||
, gnome3, librsvg, gdk_pixbuf, file }:
|
, gnome3, librsvg, gdk_pixbuf, file, tracker, nautilus }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (import ./src.nix fetchurl) name src;
|
inherit (import ./src.nix fetchurl) name src;
|
||||||
@ -18,22 +18,21 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 gnome3.grilo
|
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2 gnome3.grilo
|
||||||
clutter_gtk clutter-gst gnome3.totem-pl-parser gnome3.grilo-plugins
|
clutter_gtk clutter-gst gnome3.totem-pl-parser gnome3.grilo-plugins
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
|
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly gst_all_1.gst-libav
|
||||||
gnome3.libpeas pygobject3 shared_mime_info dbus_glib
|
gnome3.libpeas shared_mime_info dbus_glib
|
||||||
gdk_pixbuf gnome3.defaultIconTheme librsvg gnome3.gnome_desktop
|
gdk_pixbuf gnome3.defaultIconTheme librsvg gnome3.gnome_desktop
|
||||||
gnome3.gsettings_desktop_schemas makeWrapper file ];
|
gnome3.gsettings_desktop_schemas wrapGAppsHook file tracker nautilus ];
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
wrapProgram "$out/bin/totem" \
|
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
||||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
|
||||||
--prefix GRL_PLUGIN_PATH : "${gnome3.grilo-plugins}/lib/grilo-0.2" \
|
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
||||||
|
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [ ./x86.patch ];
|
patches = [ ./x86.patch ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ gobjectIntrospection python3Packages.pylint python3Packages.pygobject ];
|
||||||
|
|
||||||
|
configureFlags = [ "--with-nautilusdir=$(out)/lib/nautilus/extensions-3.0" ];
|
||||||
|
|
||||||
|
GI_TYPELIB_PATH = "$out/lib/girepository-1.0";
|
||||||
|
|
||||||
|
wrapPrefixVariables = [ "PYTHONPATH" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Videos;
|
homepage = https://wiki.gnome.org/Apps/Videos;
|
||||||
description = "Movie player for the GNOME desktop based on GStreamer";
|
description = "Movie player for the GNOME desktop based on GStreamer";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user