Accepting request 85462 from home:RedDwarf

To submit to Factory. It's needed by frei0r-plugins from GNOME:Apps.

OBS-URL: https://build.opensuse.org/request/show/85462
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gavl?expand=0&rev=1
This commit is contained in:
Ismail Dönmez 2011-09-29 14:17:55 +00:00 committed by Git OBS Bridge
commit 178e952444
6 changed files with 148 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

13
gavl-1.2.0-overflow.patch Normal file
View File

@ -0,0 +1,13 @@
Index: gavl/videoframe.c
===================================================================
--- gavl/videoframe.c.orig
+++ gavl/videoframe.c
@@ -1510,7 +1510,7 @@ void gavl_video_frame_fill(gavl_video_fr
uint16_t packed_16;
uint8_t packed_32[4];
uint16_t packed_64[4];
- float color_float[2];
+ float color_float[4];
gavl_init_memcpy();

3
gavl-1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:814120339f7a99d35c36e0eb61ba6cf60bd939ee4a47d73a17f3ba1438c5f88e
size 4589139

5
gavl.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Jan 8 16:43:14 UTC 2011 - reddwarf@opensuse.org
- Initial package

103
gavl.spec Normal file
View File

@ -0,0 +1,103 @@
#
# spec file for package gavl
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define soname 1
Name: gavl
Version: 1.2.0
Release: 0
License: GPLv3+
Summary: Library which provides basic support for uncompressed multimedia data
Url: http://gmerlin.sourceforge.net/
Group: System/Libraries
Source0: http://sourceforge.net/projects/gmerlin/files/gavl/%{version}/gavl-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gavl-1.2.0-overflow.patch gmerlin-general_ML_2011-01-08 19:12 reddwarf@opensuse.org -- Fix buffer overflow
Patch0: gavl-1.2.0-overflow.patch
BuildRequires: doxygen
BuildRequires: pkg-config
%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
%setup -q
%patch0
%build
%configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%post -n libgavl%{soname} -p /sbin/ldconfig
%postun -n libgavl%{soname} -p /sbin/ldconfig
%files -n libgavl%{soname}
%defattr(0644, root, root, 0755)
%doc AUTHORS COPYING README TODO
%{_libdir}/libgavl.so.%{soname}*
%files -n libgavl-devel
%defattr(0644, root, root, 0755)
%{_docdir}/%{name}/
%{_libdir}/libgavl.so
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%changelog