mpdris2: fix build with gettext 0.25 (#425008)
This commit is contained in:
commit
a4c13cf559
14
pkgs/by-name/mp/mpdris2/fix-gettext-0.25.patch
Normal file
14
pkgs/by-name/mp/mpdris2/fix-gettext-0.25.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git i/configure.ac w/configure.ac
|
||||||
|
index dcc3c3d..888dc12 100644
|
||||||
|
--- i/configure.ac
|
||||||
|
+++ w/configure.ac
|
||||||
|
@@ -4,6 +4,9 @@ AC_INIT([mpDris2],
|
||||||
|
[mpdris2],
|
||||||
|
[https://github.com/eonpatapon/mpDris2])
|
||||||
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
|
+AC_CONFIG_MACRO_DIRS([m4])
|
||||||
|
+AM_GNU_GETTEXT_VERSION([0.21])
|
||||||
|
+AM_GNU_GETTEXT([external])
|
||||||
|
AM_INIT_AUTOMAKE([1.11 tar-ustar foreign])
|
||||||
|
|
||||||
|
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
autoreconfHook,
|
autoreconfHook,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
gettext,
|
||||||
glib,
|
glib,
|
||||||
gobject-introspection,
|
gobject-introspection,
|
||||||
intltool,
|
intltool,
|
||||||
@ -28,6 +29,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
|
gettext
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
intltool
|
intltool
|
||||||
wrapGAppsHook3
|
wrapGAppsHook3
|
||||||
@ -45,6 +47,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
pygobject3
|
pygobject3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [ ./fix-gettext-0.25.patch ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "MPRIS 2 support for mpd";
|
description = "MPRIS 2 support for mpd";
|
||||||
homepage = "https://github.com/eonpatapon/mpDris2/";
|
homepage = "https://github.com/eonpatapon/mpDris2/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user