void-packages/srcpkgs/playerctl/patches/fix-gir-cross.patch

14 lines
415 B
Diff

diff --git a/playerctl/meson.build b/playerctl/meson.build
index ccace6a..22a6ec1 100644
--- playerctl/meson.build
+++ playerctl/meson.build
@@ -95,6 +95,7 @@ if get_option('introspection')
'playerctl-player.c',
'playerctl-player.h',
],
+ extra_args : [ '-DPLAYERCTL_COMPILATION' ],
nsversion: playerctl_major_version + '.0',
namespace: 'Playerctl',
includes: ['GObject-2.0'],