5 Summary: VP8 codec library
6 Url: http://www.webmproject.org/
7 #X-Vc-Url: https://chromium.googlesource.com/webm/libvpx
8 Group: Multimedia/Libraries
9 Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2
10 Source1001: libvpx.manifest
14 WebM is an open, royalty-free, media file format designed for the web.
16 WebM defines the file container structure, video and audio formats.
17 WebM files consist of video streams compressed with the VP8 video codec
18 and audio streams compressed with the Vorbis audio codec.
19 The WebM file structure is based on the Matroska container.
22 Summary: VP8 codec library - Utilities
24 %description -n vpx-tools
25 This package contains utilities around the vp8 codec sdk.
27 WebM is an open, royalty-free, media file format designed for the web.
29 WebM defines the file container structure, video and audio formats.
30 WebM files consist of video streams compressed with the VP8 video codec
31 and audio streams compressed with the Vorbis audio codec.
32 The WebM file structure is based on the Matroska container.
34 Summary: VP8 codec library - Development headers
35 Requires: %{name} = %{version}-%{release}
38 Development headers and library
40 WebM is an open, royalty-free, media file format designed for the web.
42 WebM defines the file container structure, video and audio formats.
43 WebM files consist of video streams compressed with the VP8 video codec
44 and audio streams compressed with the Vorbis audio codec.
45 The WebM file structure is based on the Matroska container.
48 %setup -q -n %name-v%version
53 export CFLAGS="%{optflags}"
54 export LDFLAGS+=" -Wl,-z,relro"
56 export LDFLAGS+=" -lasan"
58 # It is only an emulation of autotools configure; the macro does not work
60 # libvpx default enable NEON support on ARMv7, unfortunately some ARMv7
61 # CPU doesn't have NEON, e.g. NVIDIA Tegra 2.
62 # So, we still set -mfpu=neon when build libvpx rpm, but also enable
63 # runtime-cpu-detect for runtime detect NEON.
69 %ifarch armv7l armv7hl
70 --target=armv7-linux-gcc \
71 --enable-runtime-cpu-detect \
75 %__make %{?_smp_mflags}
81 %post -n %{name} -p /sbin/ldconfig
83 %postun -n %{name} -p /sbin/ldconfig
86 %manifest %{name}.manifest
91 %manifest %{name}.manifest
92 %defattr(-, root, root)
94 %{_libdir}/libvpx.so.*
97 %manifest %{name}.manifest
100 %{_libdir}/pkgconfig/vpx.pc