SHA256
1
0
forked from pool/python-gst

18 Commits

Author SHA256 Message Date
4e54b31b1d Accepting request 1282476 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1282476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=66
2025-06-06 20:41:26 +00:00
d474f293ae - Update to version 1.26.2:
+ This release includes important fixes for the GStreamer Python
    bindings.
  + Since pygobject 3.13 around 10 years ago, it wasn't possible
    anymore to modify GStreamer miniobjects, e.g. modify caps or
    set buffer timestamps, as an implicit copy of the original
    would always be made. This should finally work again now.
  + Fix new warnings on Fedora 42, various meson warnings, and
    other small meson build/wrap fixes.
  + python: Add overrides to be able to handle writability of
    MiniObjects.
  + python: Convert buffer metadata API to use @property
    decorators.
  + REGRESSION: pygobject 3.13 now copies the GstStructure when
    getting them from a GstCaps, making it impossible to properly
    modify structures from caps in place.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=133
2025-06-04 01:42:14 +00:00
15ef9cd990 Accepting request 1273804 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1273804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=65
2025-05-02 12:58:13 +00:00
4256808882 - Update to version 1.26.1:
+ gst-python:
    - Fix compatibility with PyGObject >= 3.52.0
    - Segmentation Fault since PyGObject >= 3.52.0 due to missing
      _introspection_module attribute
- Drop 0496a778bb85e0b263ed2fddfcf3dac7961fe4f5.patch: Fixed
  upstream.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=131
2025-05-01 06:37:53 +00:00
fd5fcddba0 Accepting request 1265679 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1265679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=64
2025-04-02 15:10:07 +00:00
9fa652e1d2 - Add 0496a778bb85e0b263ed2fddfcf3dac7961fe4f5.patch: Fix
compatibility with PyGObject>=3.52.0.
- Pass python-exe instead of python to meson setup, the latter is
  deprecated.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=129
2025-03-31 07:03:12 +00:00
d159c0531a Accepting request 1252464 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1252464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=63
2025-03-13 14:06:18 +00:00
07de0fb0e8 - Update to version 1.26.0:
+ gst-python is an extension of the regular GStreamer Python
    bindings based on gobject-introspection information and
    PyGObject, and provides "syntactic sugar" in form of overrides
    for various GStreamer APIs that makes them easier to use in
    Python and more pythonic; as well as support for APIs that
    aren't available through the regular gobject-introspection
    based bindings, such as e.g. GStreamer's fundamental GLib types
    such as Gst.Fraction, Gst.IntRange etc.
      - The python Meson build option has been renamed to
        python-exe (and will yield to the monorepo build option of
        the same name if set, in a monorepo build context).
      - Added an iterator for AnalyticsRelationMeta
      - Implement __eq__ for Mtd classes
      - Various build fixes and Windows-related fixes.
  + For more detailed information on this update, please see
    https://gstreamer.freedesktop.org/releases/1.26/

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=127
2025-03-12 13:39:09 +00:00
7137c36369 Accepting request 1243078 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1243078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=62
2025-02-05 11:40:28 +00:00
782f27c5a8 - Update to version 1.24.12:
+ No changes, stable version bump only.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=125
2025-02-04 11:39:41 +00:00
638673ad82 Accepting request 1235945 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1235945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=61
2025-01-09 14:11:01 +00:00
912b5e47d3 - Update to version 1.24.11:
+ No changes, stable version bump only.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=123
2025-01-08 12:42:35 +00:00
53aa04ac47 Accepting request 1229746 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1229746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=60
2024-12-11 20:03:27 +00:00
f72d9efcdb - Update to version 1.24.10:
+ No changes, stable version bump only.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=121
2024-12-10 09:13:30 +00:00
18144ee6eb Accepting request 1224808 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1224808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=59
2024-11-18 19:01:59 +00:00
33e4e66dc2 Accepting request 1224662 from GNOME:Next
- Update to version 1.24.9:
  + No changes, stable version bump only.

OBS-URL: https://build.opensuse.org/request/show/1224662
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=119
2024-11-18 09:54:12 +00:00
f7c372ef76 Accepting request 1203301 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1203301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gst?expand=0&rev=58
2024-09-25 19:54:17 +00:00
b39c056c16 - Update to version 1.24.8:
+ No changes, stable version bump only.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=117
2024-09-25 07:19:25 +00:00
6 changed files with 125 additions and 8 deletions

21
_service Normal file
View File

@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.freedesktop.org/gstreamer/gstreamer.git</param>
<param name="subdir">subprojects/gst-python</param>
<param name="filename">gst-python</param>
<param name="revision">1.26.2</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c3ee02b20c80a86e24245b06102dae00e017686f27407626f44dc03ac3ca53a
size 119420

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:200b24a2379e38d53f0dcecb6d87f056e49567974e12020be4d3ccc605ae9b1b
size 654860

4
gst-python.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: gst-python
version: 1.26.2
mtime: 1748559403
commit: 100c21e1faf68efe7f3830b6e9f856760697ab48

View File

@@ -1,3 +1,93 @@
-------------------------------------------------------------------
Sun Jun 1 08:03:22 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.26.2:
+ This release includes important fixes for the GStreamer Python
bindings.
+ Since pygobject 3.13 around 10 years ago, it wasn't possible
anymore to modify GStreamer miniobjects, e.g. modify caps or
set buffer timestamps, as an implicit copy of the original
would always be made. This should finally work again now.
+ Fix new warnings on Fedora 42, various meson warnings, and
other small meson build/wrap fixes.
+ python: Add overrides to be able to handle writability of
MiniObjects.
+ python: Convert buffer metadata API to use @property
decorators.
+ REGRESSION: pygobject 3.13 now copies the GstStructure when
getting them from a GstCaps, making it impossible to properly
modify structures from caps in place.
-------------------------------------------------------------------
Wed Apr 30 10:52:09 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.26.1:
+ gst-python:
- Fix compatibility with PyGObject >= 3.52.0
- Segmentation Fault since PyGObject >= 3.52.0 due to missing
_introspection_module attribute
- Drop 0496a778bb85e0b263ed2fddfcf3dac7961fe4f5.patch: Fixed
upstream.
-------------------------------------------------------------------
Sun Mar 30 08:55:40 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Add 0496a778bb85e0b263ed2fddfcf3dac7961fe4f5.patch: Fix
compatibility with PyGObject>=3.52.0.
- Pass python-exe instead of python to meson setup, the latter is
deprecated.
-------------------------------------------------------------------
Wed Mar 12 06:55:24 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to version 1.26.0:
+ gst-python is an extension of the regular GStreamer Python
bindings based on gobject-introspection information and
PyGObject, and provides "syntactic sugar" in form of overrides
for various GStreamer APIs that makes them easier to use in
Python and more pythonic; as well as support for APIs that
aren't available through the regular gobject-introspection
based bindings, such as e.g. GStreamer's fundamental GLib types
such as Gst.Fraction, Gst.IntRange etc.
- The python Meson build option has been renamed to
python-exe (and will yield to the monorepo build option of
the same name if set, in a monorepo build context).
- Added an iterator for AnalyticsRelationMeta
- Implement __eq__ for Mtd classes
- Various build fixes and Windows-related fixes.
+ For more detailed information on this update, please see
https://gstreamer.freedesktop.org/releases/1.26/
-------------------------------------------------------------------
Mon Feb 3 11:22:05 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.24.12:
+ No changes, stable version bump only.
-------------------------------------------------------------------
Tue Jan 7 22:07:50 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.24.11:
+ No changes, stable version bump only.
-------------------------------------------------------------------
Mon Dec 9 12:38:52 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.24.10:
+ No changes, stable version bump only.
-------------------------------------------------------------------
Sun Nov 17 13:10:24 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.24.9:
+ No changes, stable version bump only.
-------------------------------------------------------------------
Mon Sep 23 13:23:15 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.24.8:
+ No changes, stable version bump only.
-------------------------------------------------------------------
Fri Aug 23 08:03:45 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-gst
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,13 @@
%{?sle15_python_module_pythons}
Name: python-gst
Version: 1.24.7
Version: 1.26.2
Release: 0
Summary: Python Bindings for GStreamer
License: LGPL-2.1-or-later
Group: System/Libraries
URL: https://gstreamer.freedesktop.org
Source0: %{url}/src/gst-python/%{_name}-%{version}.tar.xz
Source0: %{_name}-%{version}.tar.zst
BuildRequires: %{python_module devel}
BuildRequires: c++_compiler
@@ -35,7 +35,9 @@ BuildRequires: meson >= 1.1
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(gstreamer-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-analytics-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-rtsp-server-1.0) >= %{version}
BuildRequires: pkgconfig(pygobject-3.0) >= 3.0
Requires: gstreamer >= %{version}
%{python_subpackages}
@@ -53,7 +55,7 @@ This module contains a wrapper that allows GStreamer applications to be
written in Python.
%prep
%autosetup -p1 -n %{_name}-%{version}
%autosetup -p3 -n %{_name}-%{version}
%build
%{python_expand py_var=$python
@@ -61,7 +63,7 @@ written in Python.
cp -rp * ../$py_var
pushd ../$py_var
%meson \
-Dpython=$py_var \
-Dpython-exe=$py_var \
%{nil}
%meson_build
popd