Accepting request 46165 from multimedia:libs
Copy from multimedia:libs/libvpx based on submit request 46165 from user vuntz OBS-URL: https://build.opensuse.org/request/show/46165 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvpx?expand=0&rev=1
This commit is contained in:
commit
4e52342b7f
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
libvpx-0.9.1.tar.bz2
Normal file
3
libvpx-0.9.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c4e8e463e079ffde5b6948366a1d0873f1bf685dccd89ca137585c2b8247ec59
|
||||||
|
size 1191203
|
11
libvpx-define-config_pic.patch
Normal file
11
libvpx-define-config_pic.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -ur libvpx-0.9.1/vpx_ports/x86_abi_support.asm libvpx-0.9.1.patched//vpx_ports/x86_abi_support.asm
|
||||||
|
--- libvpx-0.9.1/vpx_ports/x86_abi_support.asm 2010-06-17 15:08:56.000000000 +0200
|
||||||
|
+++ libvpx-0.9.1.patched//vpx_ports/x86_abi_support.asm 2010-08-24 23:47:17.721137912 +0200
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
%include "vpx_config.asm"
|
||||||
|
+%define CONFIG_PIC 0
|
||||||
|
|
||||||
|
; 32/64 bit compatibility macros
|
||||||
|
;
|
28
libvpx.changes
Normal file
28
libvpx.changes
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 24 21:00:00 UTC 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.9.1:
|
||||||
|
+ Enhancements:
|
||||||
|
- ivfenc/ivfdec now support YUV4MPEG2 input and pipe I/O
|
||||||
|
- Speed optimizations
|
||||||
|
+ Bugfixes:
|
||||||
|
- Rate control
|
||||||
|
- Prevent out-of-bounds accesses on invalid data
|
||||||
|
+ Build system updates:
|
||||||
|
- Detect toolchain to be used automatically for native builds
|
||||||
|
- Support building shared libraries
|
||||||
|
- Better autotools emulation (--prefix, --libdir, DESTDIR)
|
||||||
|
- Pass --enable-pic, enable-shared & --enable-debug to configure
|
||||||
|
- Split out libvpx0 according SLPP.
|
||||||
|
- Drop upstream.diff (merged)
|
||||||
|
- Rename buildfix.diff to libvpx-define-config_pic.patch and tag
|
||||||
|
the patch line.
|
||||||
|
- clean spec-file (spec-cleaner).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 4 10:26:37 UTC 2010 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
- Initial package
|
||||||
|
* based on the latest svn snapshot
|
||||||
|
* Included patch to fix build for openSUSE <= 11.2
|
||||||
|
|
129
libvpx.spec
Normal file
129
libvpx.spec
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libvpx (Version 0.9.1)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: libvpx
|
||||||
|
Version: 0.9.1
|
||||||
|
Release: 1
|
||||||
|
License: BSD-style license,GPLv2+
|
||||||
|
Summary: VP8 codec library
|
||||||
|
Url: http://www.webmproject.org/
|
||||||
|
Group: Productivity/Multimedia/Other
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
# PATCH-FIX-UPSTREAM libvpx-define-config_pic.patch dimstar@opensuse.org -- For older compilers, CONFIG_PIC need to be defined.
|
||||||
|
Patch0: libvpx-define-config_pic.patch
|
||||||
|
BuildRequires: yasm
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
WebM is an open, royalty-free, media file format designed for the web.
|
||||||
|
|
||||||
|
WebM defines the file container structure, video and audio formats.
|
||||||
|
WebM files consist of video streams compressed with the VP8 video codec
|
||||||
|
and audio streams compressed with the Vorbis audio codec.
|
||||||
|
The WebM file structure is based on the Matroska container.
|
||||||
|
|
||||||
|
%package -n vpx-tools
|
||||||
|
License: BSD-style license,GPLv2+
|
||||||
|
Summary: VP8 codec library - Utilities
|
||||||
|
Group: Productivity/Multimedia/Other
|
||||||
|
|
||||||
|
%description -n vpx-tools
|
||||||
|
This package contains utilities around the vp8 codec sdk.
|
||||||
|
|
||||||
|
WebM is an open, royalty-free, media file format designed for the web.
|
||||||
|
|
||||||
|
WebM defines the file container structure, video and audio formats.
|
||||||
|
WebM files consist of video streams compressed with the VP8 video codec
|
||||||
|
and audio streams compressed with the Vorbis audio codec.
|
||||||
|
The WebM file structure is based on the Matroska container.
|
||||||
|
|
||||||
|
%package -n %{name}0
|
||||||
|
|
||||||
|
Summary: VP8 codec library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{name}0
|
||||||
|
WebM is an open, royalty-free, media file format designed for the web.
|
||||||
|
|
||||||
|
WebM defines the file container structure, video and audio formats.
|
||||||
|
WebM files consist of video streams compressed with the VP8 video codec
|
||||||
|
and audio streams compressed with the Vorbis audio codec.
|
||||||
|
The WebM file structure is based on the Matroska container.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
License: BSD-style license,GPLv2+
|
||||||
|
Summary: VP8 codec library - Development headers
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{name}0 = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development headers and library
|
||||||
|
|
||||||
|
WebM is an open, royalty-free, media file format designed for the web.
|
||||||
|
|
||||||
|
WebM defines the file container structure, video and audio formats.
|
||||||
|
WebM files consist of video streams compressed with the VP8 video codec
|
||||||
|
and audio streams compressed with the Vorbis audio codec.
|
||||||
|
The WebM file structure is based on the Matroska container.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
# It is only an emulation of autotools configure; the macro does not work
|
||||||
|
../configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--enable-debug \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pic
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
cd build
|
||||||
|
%makeinstall
|
||||||
|
# Remove static library
|
||||||
|
rm %{buildroot}%{_libdir}/libvpx.a
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post -n %{name}0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{name}0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n vpx-tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%files -n %{name}0
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc LICENSE AUTHORS README CHANGELOG
|
||||||
|
%{_libdir}/libvpx.so.0*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc vp8_api1_migration.txt
|
||||||
|
%{_includedir}/vpx/
|
||||||
|
%{_libdir}/libvpx.so
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user