Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/rhythmbox/, media-sound/rhythmbox/files/
Date: Mon, 16 May 2022 16:30:08
Message-Id: 1652718594.0606f6709ccba07270b28820e5eee96ff98aee7d.mattst88@gentoo
1 commit: 0606f6709ccba07270b28820e5eee96ff98aee7d
2 Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
3 AuthorDate: Mon May 16 14:48:14 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 16:29:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0606f670
7
8 media-sound/rhythmbox: drop strict meson version check
9
10 Closes: https://bugs.gentoo.org/845006
11 Closes: https://github.com/gentoo/gentoo/pull/25526
12 Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 .../files/3.4.5-relax-meson-version-check.patch | 42 ++++++++++++++++++++++
16 media-sound/rhythmbox/rhythmbox-3.4.5.ebuild | 2 ++
17 2 files changed, 44 insertions(+)
18
19 diff --git a/media-sound/rhythmbox/files/3.4.5-relax-meson-version-check.patch b/media-sound/rhythmbox/files/3.4.5-relax-meson-version-check.patch
20 new file mode 100644
21 index 000000000000..2843a4c0cabc
22 --- /dev/null
23 +++ b/media-sound/rhythmbox/files/3.4.5-relax-meson-version-check.patch
24 @@ -0,0 +1,42 @@
25 +https://github.com/GNOME/rhythmbox/commit/29a1627f1683aac358103710ffc1a51791951edd
26 +https://bugs.gentoo.org/845006
27 +--- a/meson.build
28 ++++ b/meson.build
29 +@@ -3,10 +3,6 @@ project('rhythmbox', 'c',
30 + meson_version: '>= 0.59.0',
31 + default_options: ['c_std=gnu89'])
32 +
33 +-if meson.version().version_compare('> 0.62.0')
34 +- error('unsupported version of meson, please use 0.62')
35 +-endif
36 +-
37 + gnome = import('gnome')
38 + i18n = import('i18n')
39 + pkg = import('pkgconfig')
40 +GitLab
41 +From 0fe3a388fac73a5d4217aed510d65976850734c4 Mon Sep 17 00:00:00 2001
42 +From: Bastien Nocera <hadess@××××××.net>
43 +Date: Wed, 4 May 2022 10:23:16 +0200
44 +Subject: [PATCH 2/2] ci: Install latest meson
45 +
46 +--- a/.gitlab-ci.yml
47 ++++ b/.gitlab-ci.yml
48 +@@ -4,8 +4,6 @@ stages:
49 + - test
50 +
51 + variables:
52 +- MESON_VER: 0.62.0
53 +-
54 + UBUNTU_DEPS:
55 + build-essential
56 + desktop-file-utils
57 +@@ -64,7 +62,7 @@ before_script:
58 + - export DEBIAN_FRONTEND=noninteractive
59 + - apt-get update
60 + - apt-get install -y $UBUNTU_DEPS
61 +- - pip3 install meson==$MESON_VER
62 ++ - pip3 install meson
63 +
64 + test:
65 + stage: test
66 +GitLab
67
68 diff --git a/media-sound/rhythmbox/rhythmbox-3.4.5.ebuild b/media-sound/rhythmbox/rhythmbox-3.4.5.ebuild
69 index 2e7dc2b30fd4..c4b440ad855b 100644
70 --- a/media-sound/rhythmbox/rhythmbox-3.4.5.ebuild
71 +++ b/media-sound/rhythmbox/rhythmbox-3.4.5.ebuild
72 @@ -93,6 +93,8 @@ BDEPEND="
73 test? ( dev-libs/check )
74 "
75
76 +PATCHES=( "${FILESDIR}/${PV}"-relax-meson-version-check.patch )
77 +
78 pkg_setup() {
79 use python && python-single-r1_pkg_setup
80 }