Projects
Extra
chromium-ffmpeg-extra
chromium-ffmpeg-extra.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-ffmpeg-extra.spec of Package chromium-ffmpeg-extra (Revision 9)
Currently displaying revision
9
,
Show latest
# # spec file for package chromium-ffmpeg-extra # # Copyright (c) 2017 SUSE LINUX 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: chromium-ffmpeg-extra Version: 64.0.3282.134 Release: 0 Summary: Extra ffmpeg codecs for browsers based on Chromium License: BSD-3-Clause and LGPL-2.1+ Group: Productivity/Networking/Web/Browsers Url: http://code.google.com/p/chromium/ Source0: http://commondatastorage.googleapis.com/chromium-browser-official/chromium-%{version}.tar.xz Source1: BUILD.gn Patch0: chromium-last-commit-position-r0.patch Patch1: chromium-dma-buf.patch Patch2: chromium-angle.patch Patch3: chromium-memcpy.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: ninja BuildRequires: python-xml BuildRequires: pkgconfig(dri) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(nss) BuildRequires: pkgconfig(python) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xtst) ExclusiveArch: %{ix86} x86_64 %description This package contains proprietary codecs needed for the HTML5 (audio and video tags). %prep %setup -q -n chromium-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 mkdir toolchain cp %{SOURCE1} toolchain/BUILD.gn if [ ! -f chrome/test/data/webui/i18n_process_css_test.html ]; then touch chrome/test/data/webui/i18n_process_css_test.html fi %build ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ -g$//g'`" export CFLAGS="${ARCH_FLAGS} -std=gnu11 -fpermissive" export CXXFLAGS="${ARCH_FLAGS} -fpermissive" %if 0%{?suse_version} < 1330 export CC=gcc-7 export CXX=g++-7 # some still call gcc/g++ mkdir -p "$HOME/bin/" ln -sfn /usr/bin/$CC $HOME/bin/gcc ln -sfn /usr/bin/$CXX $HOME/bin/g++ export PATH="$HOME/bin/:$PATH" %else export CC=gcc export CXX=g++ %endif ninjaproc="%{?jobs:%{jobs}}" myconf_gn="" myconf_gn+=" custom_toolchain=\"./toolchain:default\"" myconf_gn+=" ffmpeg_branding=\"Chrome\"" myconf_gn+=" proprietary_codecs=true" myconf_gn+=" enable_swiftshader=false" myconf_gn+=" enable_hevc_demuxing=true" myconf_gn+=" use_custom_libcxx=false" myconf_gn+=" use_gconf=false" myconf_gn+=" use_gio=false" myconf_gn+=" use_gnome_keyring=false" myconf_gn+=" use_kerberos=false" myconf_gn+=" use_cups=false" myconf_gn+=" use_sysroot=false" myconf_gn+=" use_gold=false" myconf_gn+=" linux_use_bundled_binutils=false" myconf_gn+=" fatal_linker_warnings=false" myconf_gn+=" treat_warnings_as_errors=false" myconf_gn+=" is_clang=false" myconf_gn+=" is_component_build=true" myconf_gn+=" is_debug=false" myconf_gn+=" symbol_level=0" myconf_gn+=" enable_vulkan=false" # fails to compile now tools/gn/bootstrap/bootstrap.py --gn-gen-args "${myconf_gn}" out/Release/gn gen --args="${myconf_gn}" out/Release out/Release/gn args --list out/Release/ ninja -j $ninjaproc -C out/Release media/ffmpeg %install install -Dm0644 out/Release/libffmpeg.so %{buildroot}%{_libdir}/%{name}/libffmpeg.so %files %defattr(-,root,root) %doc AUTHORS LICENSE %dir %{_libdir}/%{name} %{_libdir}/%{name}/libffmpeg.so %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.