gnome-mpv: use external patch
This commit is contained in:
parent
ca51fbb3d6
commit
9e480c5dfa
@ -1,11 +0,0 @@
|
|||||||
--- 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)
|
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, meson, ninja, python3
|
{ stdenv, fetchFromGitHub, fetchpatch, meson, ninja, python3
|
||||||
, gettext, pkgconfig, desktop-file-utils, wrapGAppsHook
|
, gettext, pkgconfig, desktop-file-utils, wrapGAppsHook
|
||||||
, appstream-glib, epoxy, glib, gtk3, mpv
|
, appstream-glib, epoxy, glib, gtk3, mpv
|
||||||
}:
|
}:
|
||||||
@ -18,7 +18,12 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ epoxy glib gtk3 mpv ];
|
buildInputs = [ epoxy glib gtk3 mpv ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./appdata-validate.patch
|
# fix appstream validation in sandbox
|
||||||
|
# https://github.com/celluloid-player/celluloid/pull/437
|
||||||
|
(fetchpatch {
|
||||||
|
url = https://github.com/celluloid-player/celluloid/commit/5a0b2e892bb715278d309c859a7e521d64433d85.patch;
|
||||||
|
sha256 = "0naci8lr6128yilal39h46yvq9x3la7g7fhvr5xlwyh30iqrbm3i";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user