3
0
Fork 0
forked from mirrors/nixpkgs

gnome3.totem: 3.30.0 -> 3.32.0

- tests now require DISPLAY access
This commit is contained in:
Tor Hedin Brønner 2019-03-03 19:32:28 +01:00 committed by Jan Tojnar
parent e026e259f3
commit b6183023e3
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,24 +1,22 @@
{ stdenv, fetchurl, meson, ninja, intltool, gst_all_1
{ stdenv, fetchurl, meson, ninja, gettext, gst_all_1
, clutter-gtk, clutter-gst, python3Packages, shared-mime-info
, pkgconfig, gtk3, glib, gobject-introspection, totem-pl-parser
, wrapGAppsHook, itstool, libxml2, vala, gnome3, grilo, grilo-plugins
, libpeas, adwaita-icon-theme, gnome-desktop, gsettings-desktop-schemas
, gdk_pixbuf, tracker, nautilus }:
, gdk_pixbuf, tracker, nautilus, xvfb_run }:
stdenv.mkDerivation rec {
name = "totem-${version}";
version = "3.30.0";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/totem/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0";
sha256 = "12iykwslvnpgmrm4bcchx5rzn2g4rl5r9s86n2001djn58yw6m6r";
};
doCheck = true;
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
nativeBuildInputs = [ meson ninja vala pkgconfig intltool python3Packages.python itstool gobject-introspection wrapGAppsHook ];
nativeBuildInputs = [ meson ninja vala pkgconfig gettext python3Packages.python itstool gobject-introspection wrapGAppsHook ];
buildInputs = [
gtk3 glib grilo clutter-gtk clutter-gst totem-pl-parser grilo-plugins
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
@ -41,6 +39,13 @@ stdenv.mkDerivation rec {
"-Denable-vala=no"
];
checkInputs = [ xvfb_run ];
checkPhase = ''
xvfb-run -s '-screen 0 800x600x24' \
ninja test
'';
wrapPrefixVariables = [ "PYTHONPATH" ];
passthru = {