Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37612419
en ru br
Репозитории ALT

Группа :: Видео
Пакет: libvpx6

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%ifarch %ix86
%define platform x86-linux-gcc
%else
%ifarch arm
%define platform armv5te-linux-gcc
%else
%ifarch armh
%define platform armv7-linux-gcc
%else
%ifarch %e2k
%define platform generic-gnu
%else
%ifarch aarch64
%define platform arm64-linux-gcc
%else
%define platform %_arch-linux-gcc
%endif
%endif
%endif
%endif
%endif

Name: libvpx6
Version: 1.11.0
Release: alt2
Summary: VP8 video codec
Group: Video
License: BSD
Url: http://www.webmproject.org/

Source0: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires: doxygen gcc-c++
%ifarch %ix86 x86_64
BuildRequires: yasm
%endif

%description
VP8 is an open video codec, originally developed by On2 and released
as open source by Google Inc. It is the successor of the VP3 codec,
on which the Theora codec was based

%package -n libvpx-devel
Summary: VP8 Libraries and Header Files
Group: Development/C
Requires: %name = %EVR

%description -n libvpx-devel
%name-devel contains the libraries and header files needed to
develop programs which make use of %name

%package -n libvpx-utils
Summary: VP8 utilities and tools
Group: Video
Requires: %name = %EVR

%description -n libvpx-utils
A selection of utilities and tools for VP8, including a sample encoder
and decoder.

%prep
%setup
%patch -p1
%ifarch armh
sed -i -e 's,softfp,hard,' build/make/configure.sh
%endif

%build
%ifarch %ix86 x86_64 %arm
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%endif
./configure \
--prefix=%prefix \
--libdir=%_libdir \
--enable-pic \
--target=%platform \
--enable-shared \
%ifnarch x86_64
--disable-avx \
--disable-avx2 \
%endif
--disable-install-srcs \
--enable-vp9-decoder \
--enable-vp9-encoder \
--enable-experimental \
--enable-vp9-highbitdepth \
--disable-static
%make_build

%install
%makeinstall_std

%files
%doc AUTHORS LICENSE PATENTS CHANGELOG
%_libdir/*.so.*

%files -n libvpx-devel
%_includedir/vpx
%_libdir/*.so
%_pkgconfigdir/*.pc

%files -n libvpx-utils
%_bindir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin