1 |
commit: 08968a001ad84d4c6ef6e0419c063b1e93146a28 |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Thu Jun 10 22:56:38 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 21 22:30:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08968a00 |
7 |
|
8 |
dev-python/gst-python: Version bump, 1.18.4 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/793191 |
11 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/21193 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
dev-python/gst-python/Manifest | 1 + |
16 |
dev-python/gst-python/gst-python-1.18.4.ebuild | 63 ++++++++++++++++++++++++++ |
17 |
profiles/package.mask | 1 + |
18 |
3 files changed, 65 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest |
21 |
index e94968236c2..fa50d06616b 100644 |
22 |
--- a/dev-python/gst-python/Manifest |
23 |
+++ b/dev-python/gst-python/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST gst-python-1.16.3.tar.xz 419932 BLAKE2B 3c3d7d8dbde7d77d57e340c68503c436ab03f8768be4dd67561b13712bf88d7f8025118cf6a2ff115fbd41b28dc9a3208f612d1b72bf449fd7b23be4437f837f SHA512 2b038c4fc4891ddcf09e58c9e3e8d8462c150589dbb8a1f8d0a1266cffe49fd83531b2eb97cd57baab0f416a2bb1ba81383b55bb953545f3eedc50b6895986c4 |
26 |
+DIST gst-python-1.18.4.tar.xz 158252 BLAKE2B 2fd60d2d451ae572cee2f7e9158e9c06e82cdd56c4fc70d2731aa0a46a21e495321ec02c97ecd9a946278ce9b7290a290b9f2bc13184582c1f8ff19e874d0e3a SHA512 6b9df9e4faaeb030f0596c9e52262c0f82b8854faf821497a840a762913dccb005321c60565754ef571e34976fcda481a41aefbbd486c2932377a95121433bf5 |
27 |
|
28 |
diff --git a/dev-python/gst-python/gst-python-1.18.4.ebuild b/dev-python/gst-python/gst-python-1.18.4.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..14626ea03c5 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/gst-python/gst-python-1.18.4.ebuild |
33 |
@@ -0,0 +1,63 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python{3_8,3_9} ) |
40 |
+ |
41 |
+inherit meson python-r1 xdg-utils |
42 |
+ |
43 |
+DESCRIPTION="A Python Interface to GStreamer" |
44 |
+HOMEPAGE="https://gstreamer.freedesktop.org/" |
45 |
+SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" |
46 |
+ |
47 |
+LICENSE="LGPL-2+" |
48 |
+SLOT="1.0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+RDEPEND="${PYTHON_DEPS} |
53 |
+ >=media-libs/gstreamer-${PV}:1.0[introspection] |
54 |
+ >=media-libs/gst-plugins-base-${PV}:1.0[introspection] |
55 |
+ >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND=" |
59 |
+ virtual/pkgconfig |
60 |
+" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ |
65 |
+ # Avoid building & testing plugin - it must NOT be multi-python as gst-inspect will map in all libpython.so versions and crash or behave mysteriously. |
66 |
+ # Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a |
67 |
+ # separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory. |
68 |
+ sed -e '/subdir.*plugin/d' -i meson.build || die |
69 |
+ sed -e '/test_plugin.py/d' -i testsuite/meson.build || die |
70 |
+ |
71 |
+ xdg_environment_reset |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ configuring() { |
76 |
+ meson_src_configure \ |
77 |
+ -Dpython="${EPYTHON}" |
78 |
+ } |
79 |
+ python_foreach_impl configuring |
80 |
+} |
81 |
+ |
82 |
+src_compile() { |
83 |
+ python_foreach_impl meson_src_compile |
84 |
+} |
85 |
+ |
86 |
+src_test() { |
87 |
+ python_foreach_impl meson_src_test |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ installing() { |
92 |
+ meson_src_install |
93 |
+ python_optimize |
94 |
+ } |
95 |
+ python_foreach_impl installing |
96 |
+} |
97 |
|
98 |
diff --git a/profiles/package.mask b/profiles/package.mask |
99 |
index ca4aa7a6c9e..d75f7058fbb 100644 |
100 |
--- a/profiles/package.mask |
101 |
+++ b/profiles/package.mask |
102 |
@@ -193,6 +193,7 @@ dev-python/csv23 |
103 |
# be patient and report bugs if you choose to |
104 |
# unmask. |
105 |
# bug #756298, bug #690468. |
106 |
+~dev-python/gst-python-1.18.4 |
107 |
~media-libs/gst-plugins-bad-1.18.4 |
108 |
~media-libs/gst-plugins-base-1.18.4 |
109 |
~media-libs/gst-plugins-good-1.18.4 |