- 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 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gavl?expand=0&rev=13
This commit is contained in:
commit
7b6ae7e10e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
gavl-4256.tar.gz
Normal file
3
gavl-4256.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0ffe6a37ffbe34afb4937269e4b0598079ab8f4a289792cfd827677ffb5a45c0
|
||||
size 4332484
|
15
gavl-fix-mpeg2-entry.patch
Normal file
15
gavl-fix-mpeg2-entry.patch
Normal 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, },
|
47
gavl.changes
Normal file
47
gavl.changes
Normal file
@ -0,0 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Fix build in packman 11.4:
|
||||
* fix permission denied: add BuildRoot
|
||||
* fix rm -rf %doc: change of installation directory for doc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 01:35:48 UTC 2015 - avvissu@yandex.ru
|
||||
|
||||
- Update to rsvn4256
|
||||
- Remove gavl-autoconf.patch (solved in upstream)
|
||||
- Fix file-contains-date-and-time: add HTML_TIMESTAMP = NO
|
||||
- Add /bin/gavfdump for package devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 12:49:11 CEST 2014 - ohering@suse.de
|
||||
|
||||
- Run autogen.sh instead of autoconf to fix build in packman 11.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 27 11:53:44 UTC 2012 - meissner@suse.com
|
||||
|
||||
- fixed the -lm detection to actually work in --as-needed
|
||||
scenarios
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 15 16:20:54 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
- Update to 1.4.0
|
||||
+ Brings a generic metadata container
|
||||
- Remove gavl-1.2.0-overflow.patch, applied upstream
|
||||
- Add --without-cpuflags to %configure call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 8 16:43:14 UTC 2011 - reddwarf@opensuse.org
|
||||
|
||||
- Initial package
|
||||
|
116
gavl.spec
Normal file
116
gavl.spec
Normal file
@ -0,0 +1,116 @@
|
||||
#
|
||||
# spec file for package gavl
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define soname 1
|
||||
%define rev 4256
|
||||
|
||||
Name: gavl
|
||||
Version: 1.4.0rsvn%{rev}
|
||||
Release: 0
|
||||
Summary: Library which provides basic support for uncompressed multimedia data
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
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
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Gavl is short for Gmerlin Audio Video Library. It is a low level library, upon
|
||||
which multimedia APIs can be built. Gavl handles all the details of audio and
|
||||
video formats like colorspaces, samplerates, multichannel configurations etc. It
|
||||
provides standardized definitions for those formats as well as container
|
||||
structures for carrying audio samples or video images inside an application.
|
||||
|
||||
In addition, it handles the sometimes ugly task to convert between all these
|
||||
formats and provides some elementary operations (copying, scaling, alpha
|
||||
blending etc).
|
||||
|
||||
%package -n libgavl%{soname}
|
||||
Summary: Library which provides basic support for uncompressed multimedia data
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgavl%{soname}
|
||||
Gavl is short for Gmerlin Audio Video Library. It is a low level library, upon
|
||||
which multimedia APIs can be built. Gavl handles all the details of audio and
|
||||
video formats like colorspaces, samplerates, multichannel configurations etc. It
|
||||
provides standardized definitions for those formats as well as container
|
||||
structures for carrying audio samples or video images inside an application.
|
||||
|
||||
In addition, it handles the sometimes ugly task to convert between all these
|
||||
formats and provides some elementary operations (copying, scaling, alpha
|
||||
|
||||
%package -n libgavl-devel
|
||||
Summary: Library which provides basic support for uncompressed multimedia data
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libgavl%{soname} = %{version}
|
||||
|
||||
%description -n libgavl-devel
|
||||
Gavl is short for Gmerlin Audio Video Library. It is a low level library, upon
|
||||
which multimedia APIs can be built. Gavl handles all the details of audio and
|
||||
video formats like colorspaces, samplerates, multichannel configurations etc. It
|
||||
provides standardized definitions for those formats as well as container
|
||||
structures for carrying audio samples or video images inside an application.
|
||||
|
||||
In addition, it handles the sometimes ugly task to convert between all these
|
||||
formats and provides some elementary operations (copying, scaling, alpha
|
||||
blending etc).
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}
|
||||
|
||||
#Do not compile in DATE and TIME
|
||||
echo 'HTML_TIMESTAMP = NO' >> doc/Doxyfile.in
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --docdir=%{_docdir}/lib%{name} --without-cpuflags
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
|
||||
%post -n libgavl%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgavl%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README TODO
|
||||
%license COPYING
|
||||
%{_bindir}/gavfdump
|
||||
|
||||
%files -n libgavl%{soname}
|
||||
%defattr(0644, root, root, 0755)
|
||||
%{_libdir}/libgavl.so.%{soname}*
|
||||
|
||||
%files -n libgavl-devel
|
||||
%defattr(0644, root, root, 0755)
|
||||
%{_docdir}/lib%{name}
|
||||
%{_libdir}/libgavl.so
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user