Merge pull request #63179 from lightbulbjim/gnome-mpv-update

gnome-mpv: 0.13 -> 0.16
This commit is contained in:
Jan Tojnar 2019-06-16 12:09:43 +02:00 committed by GitHub
commit ca51fbb3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 9 deletions

View File

@ -0,0 +1,11 @@
--- a/data/meson.build
+++ b/data/meson.build
@@ -43,7 +43,7 @@ configure_file(
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
- test('Validate appstream file', appstream_util, args: ['validate', appdata])
+ test('Validate appstream file', appstream_util, args: ['validate', '--nonet', appdata])
endif
desktop_file_validate = find_program('desktop-file-validate', required: false)

View File

@ -4,21 +4,22 @@
}:
stdenv.mkDerivation rec {
name = "gnome-mpv-${version}";
version = "0.13";
pname = "gnome-mpv";
version = "0.16";
src = fetchFromGitHub {
owner = "gnome-mpv";
repo = "gnome-mpv";
rev = "0d73b33d60050fd32bf8fae77d831548970a0b69"; # upstream forgot to update appdata
# rev = "v${version}";
sha256 = "1cjhw3kz163iwj2japhnv354i1lr112xyyfkxw82cwy2554cfim4";
owner = "celluloid-player";
repo = "celluloid";
rev = "v${version}";
sha256 = "1fj5mr1dwd07jpnigk7z85xdm6yaf7spbvf60aj3mz12m05b1b2w";
};
nativeBuildInputs = [ meson ninja python3 appstream-glib gettext pkgconfig desktop-file-utils wrapGAppsHook ];
buildInputs = [ epoxy glib gtk3 mpv ];
enableParallelBuilding = true;
patches = [
./appdata-validate.patch
];
postPatch = ''
patchShebangs meson_post_install.py
@ -35,7 +36,7 @@ stdenv.mkDerivation rec {
allowing access to mpv's powerful playback capabilities through an
easy-to-use user interface.
'';
homepage = https://github.com/gnome-mpv/gnome-mpv;
homepage = "https://github.com/celluloid-player/celluloid";
license = licenses.gpl3Plus;
platforms = platforms.linux;
};