diff options
Diffstat (limited to 'dev-python/gst-python')
-rw-r--r-- | dev-python/gst-python/Manifest | 6 | ||||
-rw-r--r-- | dev-python/gst-python/gst-python-1.20.3.ebuild | 4 | ||||
-rw-r--r-- | dev-python/gst-python/gst-python-1.20.4.ebuild | 4 | ||||
-rw-r--r-- | dev-python/gst-python/gst-python-1.20.5.ebuild | 63 |
4 files changed, 71 insertions, 6 deletions
diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest index 8c26824ec770..551804e2e84b 100644 --- a/dev-python/gst-python/Manifest +++ b/dev-python/gst-python/Manifest @@ -1,5 +1,7 @@ DIST gst-python-1.20.3.tar.xz 155504 BLAKE2B 2991f106a53da6e968bdbf2b081c464e92902e4b5ed57e7a14ef1c1556ba18d2e63f4402e703953513f68c36405478b0da05f283602f564bec16cbe72b9e686f SHA512 987b444d78b5fb206457245b46b843db9372f9bd316abc57ecd8d50488ef734707a08ac88a9b9d58e2db113e67ce5b524aad82c0086471494c2177c2e272de6e DIST gst-python-1.20.4.tar.xz 158816 BLAKE2B cf163882a63db3ef4b9bf5910653a2f0fe5a911f4002b5706aeeef1dae14b6a5bcd0dca17889424c91874bd7e787c137b4d1bbe30471593b0bd01cb116ade294 SHA512 1eaf02dd2733c31eec45d999a23c3e35ff7ab71ef88524cb0aac666a7d2972fa7cd49528d7f3e32364c6a3d7386e14b6b4e43c6d607b751938a0345f3c540260 -EBUILD gst-python-1.20.3.ebuild 1631 BLAKE2B 39c9b7671eff689b8660fd0bc53ee5f9e05970f8109fcfbea4f48dad30db5bf3702c69e602a4ffd4ad267dc70cf722edd68f0b4f5b6390141989026b7ccd8a77 SHA512 1a3ba3aa030828e39056fd686e463466df27858546a473ac172391372ec7c1f88e6e7e6182482458d0318b693d0507566679608d5a53ab52ba978201204375ff -EBUILD gst-python-1.20.4.ebuild 1638 BLAKE2B e70616d04b27259051e1e97cc7e62f98ad6b28e0c7dcda2db9b35c752821f1b01e5a278532067072e95212e6cb379824e98e850de91a3d22b99fd5c7373422d2 SHA512 5b1c046b985aae6bec9cf9062a96e1d1d7d911387e53ae9d6d75a005495de0972b9c5014ae121694e7708ee14400705dbfa27b985160209fe454ebdeebde2227 +DIST gst-python-1.20.5.tar.xz 161508 BLAKE2B 6f34e913e9770d729722f2bcfd18ba4aa9355583e31a5284710ec5584a52fb4c1c4fcfb469528c6e187a8da6dbdc6b35e8a9c382791a95b3617d86d2cdc35fd5 SHA512 4ca6ad292aba24600427f059b278e4245167352a24832209201bd6e201430187ba2028795ea78fc4cbc7a6bf47f8749c8bf4ecdd790d15152d0cb0f2007afd25 +EBUILD gst-python-1.20.3.ebuild 1631 BLAKE2B f1d2e6b48d0a1bc474296ec70874271fdd4cccbb5be297b38ed7361c08465b8d6ef60f1637e3aeb0a4793d686a18b35b3dbb10bec836721f5951b671900e59e0 SHA512 c1e74151a1160e899337d5857244fb0429212dd2a267e4fb80c3a7df1603c38605183753e46a660c3586a703e63e8ff450cc0cd994d0a998acf6abbb8e7d5343 +EBUILD gst-python-1.20.4.ebuild 1638 BLAKE2B 536e1661887e7e4360e28fc2ca0cb7322b79f796985117c02bd788e8839628ed654c648825e96d809c0b7a7a1c2ebc44c519bfd962d46e93a76c0685b382241f SHA512 e96001103c51be492abaaffe5ee8e6964bf3a7582711277945f79626c12d9555f5b13c914cfcd1ad97c8de62e9a78327a902d420c195827fe8ae13cd6c46ab2a +EBUILD gst-python-1.20.5.ebuild 1644 BLAKE2B 0fb896329f34d782f865068b3e00cbd5226fed334118ee224fc650e3dd58f74565f0d39e4b8935b00dc0eb2596a15bf8515075288d490efeeb760daeac4f5c2c SHA512 8392474523c90010b9811362545b850ebb4daa3857ced1bce0bbabcea569f1c1746b70c32166dedf3bc024ede7452b706b9d4d3a8282d5e086f46ee15542d233 MISC metadata.xml 267 BLAKE2B 331be70b2fa90cce1bf91ded1dac141de6a9bec40c1736bcb90d280ac7fabf22cfd0a701c7fd5864f007d1159954f7ee55701d5e68b47a1a9a217ca34b7ee619 SHA512 4dcdd6bc6d148a0e02a0f1b766bd0c5712d373d898c06078d8630e0067e858b815117392a11332b257156e95da6337494d99c2724d24cadb97432089908644b5 diff --git a/dev-python/gst-python/gst-python-1.20.3.ebuild b/dev-python/gst-python/gst-python-1.20.3.ebuild index 023e52810fb6..535fbbef7f82 100644 --- a/dev-python/gst-python/gst-python-1.20.3.ebuild +++ b/dev-python/gst-python/gst-python-1.20.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit meson python-r1 xdg-utils diff --git a/dev-python/gst-python/gst-python-1.20.4.ebuild b/dev-python/gst-python/gst-python-1.20.4.ebuild index a9c051b3c92d..888139a2ec5a 100644 --- a/dev-python/gst-python/gst-python-1.20.4.ebuild +++ b/dev-python/gst-python/gst-python-1.20.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit meson python-r1 xdg-utils diff --git a/dev-python/gst-python/gst-python-1.20.5.ebuild b/dev-python/gst-python/gst-python-1.20.5.ebuild new file mode 100644 index 000000000000..beb5af9c489f --- /dev/null +++ b/dev-python/gst-python/gst-python-1.20.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit meson python-r1 xdg-utils + +DESCRIPTION="A Python Interface to GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=media-libs/gstreamer-${PV}:1.0[introspection] + >=media-libs/gst-plugins-base-${PV}:1.0[introspection] + >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + + # 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. + # Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a + # separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory. + sed -e '/subdir.*plugin/d' -i meson.build || die + sed -e '/test_plugin.py/d' -i testsuite/meson.build || die + + xdg_environment_reset +} + +src_configure() { + configuring() { + meson_src_configure \ + -Dpython="${EPYTHON}" + } + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing +} |