Accepting request 1196289 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1196289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gavl?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2024-08-27 17:39:38 +00:00 committed by Git OBS Bridge
commit 30cecbb20d
3 changed files with 31 additions and 6 deletions

View File

@ -0,0 +1,15 @@
---
gavl/compression.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/gavl/compression.c
+++ b/gavl/compression.c
@@ -74,7 +74,7 @@ compression_ids[] =
{ GAVL_CODEC_ID_TIFF, "tif", "tiff", "TIFF image", "image/tiff", FLAG_SEPARATE | FLAG_NEEDS_PIXELFORMAT },
{ GAVL_CODEC_ID_TGA, "tga", "tga", "TGA image", "image/x-tga", FLAG_SEPARATE | FLAG_NEEDS_PIXELFORMAT },
{ GAVL_CODEC_ID_MPEG1, "mpv", "mpeg1", "MPEG-1", "video/mpeg", },
- { GAVL_CODEC_ID_MPEG2, "mpv", "mpeg2", "MPEG-2", "video/mpeg", NULL, FLAG_NEEDS_PIXELFORMAT },
+ { GAVL_CODEC_ID_MPEG2, "mpv", "mpeg2", "MPEG-2", NULL, FLAG_NEEDS_PIXELFORMAT },
{ GAVL_CODEC_ID_MPEG4_ASP, "m4v", "mpeg4", "MPEG-4", NULL, }, // ISO/IEC 14496-2
{ GAVL_CODEC_ID_H264, "h264", "h264", "H.264", NULL, },
{ GAVL_CODEC_ID_THEORA, NULL, "theora", "Theora", NULL, },

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Aug 27 13:00:41 UTC 2024 - Takashi Iwai <tiwai@suse.com>
- Fix the invalid table entry for mpeg2, which eventually leading to
a build error with gcc14:
gavl-fix-mpeg2-entry.patch
- Move COPYING to license section
-------------------------------------------------------------------
Sun Mar 1 13:17:50 UTC 2015 - avvissu@yandex.ru

View File

@ -1,7 +1,7 @@
#
# spec file for package gavl
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -23,11 +23,12 @@ Name: gavl
Version: 1.4.0rsvn%{rev}
Release: 0
Summary: Library which provides basic support for uncompressed multimedia data
License: GPL-3.0+
License: GPL-3.0-or-later
Group: System/Libraries
Url: http://gmerlin.sourceforge.net/
URL: http://gmerlin.sourceforge.net/
#svn checkout http://svn.code.sf.net/p/gmerlin/code/trunk/gavl/
Source0: gavl-%{rev}.tar.gz
Patch1: gavl-fix-mpeg2-entry.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
@ -77,7 +78,7 @@ formats and provides some elementary operations (copying, scaling, alpha
blending etc).
%prep
%setup -q -n %{name}
%autosetup -p1 -n %{name}
#Do not compile in DATE and TIME
echo 'HTML_TIMESTAMP = NO' >> doc/Doxyfile.in
@ -97,7 +98,8 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO
%doc AUTHORS README TODO
%license COPYING
%{_bindir}/gavfdump
%files -n libgavl%{soname}