gnome-mpv: 0.9 → 0.13
This commit is contained in:
parent
9c048f4fb6
commit
24cd69494c
@ -1,25 +1,32 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchFromGitHub, meson, ninja
|
||||||
, intltool, pkgconfig, wrapGAppsHook
|
, gettext, pkgconfig, desktop_file_utils, wrapGAppsHook
|
||||||
, appstream-glib, epoxy, glib, gtk3, mpv
|
, appstream-glib, epoxy, glib, gtk3, mpv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnome-mpv-${version}";
|
name = "gnome-mpv-${version}";
|
||||||
version = "0.9";
|
version = "0.13";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
sha256 = "06pgxl6f3kkgxv8nlmyl7gy3pg55sqf8vgr8m6426mlpm4p3qdn0";
|
owner = "gnome-mpv";
|
||||||
url = "https://github.com/gnome-mpv/gnome-mpv/releases/download/v${version}/${name}.tar.xz";
|
repo = "gnome-mpv";
|
||||||
|
rev = "0d73b33d60050fd32bf8fae77d831548970a0b69"; # upstream forgot to update appdata
|
||||||
|
# rev = "v${version}";
|
||||||
|
sha256 = "1cjhw3kz163iwj2japhnv354i1lr112xyyfkxw82cwy2554cfim4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool pkgconfig wrapGAppsHook ];
|
nativeBuildInputs = [ meson ninja appstream-glib gettext pkgconfig desktop_file_utils wrapGAppsHook ];
|
||||||
buildInputs = [ appstream-glib epoxy glib.dev gtk3 mpv ];
|
buildInputs = [ epoxy glib gtk3 mpv ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
sed -i '/gtk-update-icon-cache/s/^/#/' meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkPhase = "meson test";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple GTK+ frontend for the mpv video player";
|
description = "Simple GTK+ frontend for the mpv video player";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user