diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-12-16 23:59:13 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-12-16 23:59:13 +0100 |
commit | 30f8642dc3d5c1ace50a75a11d597e2573db5a5c (patch) | |
tree | 7e0820ced551b197fc267040e659af7999030c03 /media-libs/grilo | |
parent | dev-python/astunparse: new package, and astun parser for python (diff) | |
download | gentoo-30f8642dc3d5c1ace50a75a11d597e2573db5a5c.tar.gz gentoo-30f8642dc3d5c1ace50a75a11d597e2573db5a5c.tar.bz2 gentoo-30f8642dc3d5c1ace50a75a11d597e2573db5a5c.zip |
media-libs/grilo: Support totem-pl-parser-3.26.4
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-libs/grilo')
-rw-r--r-- | media-libs/grilo/files/grilo-0.3.9-totem-pl-parser.patch | 36 | ||||
-rw-r--r-- | media-libs/grilo/grilo-0.3.9.ebuild | 6 |
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/grilo/files/grilo-0.3.9-totem-pl-parser.patch b/media-libs/grilo/files/grilo-0.3.9-totem-pl-parser.patch new file mode 100644 index 000000000000..66d844f79124 --- /dev/null +++ b/media-libs/grilo/files/grilo-0.3.9-totem-pl-parser.patch @@ -0,0 +1,36 @@ +From 60d135ef64f16671bb0ab4079ecbc59bdc32cbc7 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Tue, 12 Nov 2019 19:44:04 +0100 +Subject: [PATCH] pls: Support totem-pl-parser 3.26.4 + +--- + libs/pls/grl-pls.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/libs/pls/grl-pls.c b/libs/pls/grl-pls.c +index 62c578b..f6121cc 100644 +--- a/libs/pls/grl-pls.c ++++ b/libs/pls/grl-pls.c +@@ -47,6 +47,10 @@ + #include <totem-pl-parser.h> + #include <totem-pl-parser-mini.h> + ++#ifndef TOTEM_PL_IS_PARSER(x) ++#define TOTEM_PL_IS_PARSER(x) TOTEM_IS_PL_PARSER(x) ++#endif /* TOTEM_PL_IS_PARSER */ ++ + /* --------- Constants -------- */ + + #define GRL_DATA_PRIV_PLS_IS_PLAYLIST "priv:pls:is_playlist" +@@ -465,7 +469,7 @@ grl_pls_playlist_entry_parsed_cb (TotemPlParser *parser, + GRL_DEBUG ("%s (parser=%p, uri=\"%s\", metadata=%p, user_data=%p)", + __FUNCTION__, parser, uri, metadata, user_data); + +- g_return_if_fail (TOTEM_IS_PL_PARSER (parser)); ++ g_return_if_fail (TOTEM_PL_IS_PARSER (parser)); + g_return_if_fail (uri); + g_return_if_fail (metadata); + g_return_if_fail (user_data); +-- +2.22.2 + diff --git a/media-libs/grilo/grilo-0.3.9.ebuild b/media-libs/grilo/grilo-0.3.9.ebuild index 8cdfd059b112..654e35f9ba6a 100644 --- a/media-libs/grilo/grilo-0.3.9.ebuild +++ b/media-libs/grilo/grilo-0.3.9.ebuild @@ -43,6 +43,12 @@ BDEPEND=" vala? ( $(vala_depend) ) " +PATCHES=( + # Will be fixed in 0.3.11 + # https://gitlab.gnome.org/GNOME/grilo/commit/60d135ef64f16671bb0ab4079ecbc59bdc32cbc7 + "${FILESDIR}"/${PN}-0.3.9-totem-pl-parser.patch +) + src_prepare() { sed -i -e "s:'GETTEXT_PACKAGE', meson.project_name():'GETTEXT_PACKAGE', 'grilo-${SLOT%/*}':" meson.build || die sed -i -e "s:meson.project_name():'grilo-${SLOT%/*}':" po/meson.build || die |