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 8)
Currently displaying revision
8
,
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: 61.0.3163.100 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: gcc60-fixes.diff Patch2: chromium-dma-buf.patch Patch3: chromium-gcc5.patch Patch4: fix-gn-bootstrap.diff BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: ninja BuildRequires: pkgconfig 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 %patch4 -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 export CC=gcc export CXX=g++ export CFLAGS="$(echo "%{optflags} -std=gnu99" | sed 's/\ \-\<g\>//')" export CXXFLAGS="$(echo ${CFLAGS} | sed 's/\ \-std=gnu99//')" 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" 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 1 -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
.