Name: chromium-ffmpeg Summary: The ffmpeg lib for Google's opens source browser Chromium Summary(ja): Google オープンソースブラウザ Chromium 用 ffmpeg ライブラリ Version: 19.0.1084.50 Release: 1%{?_dist_release} License: BSD Group: Applications/Internet # use the official tarball: Source0: http://gsdview.appspot.com/chromium-browser-official/chromium-%{version}.tar.bz2 Patch0: chromium-ffmpeg-19.0.1084.50-drop-dependencies-base-gyp.patch Requires: chromium >= %{version} BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description FFMPEG library built from the chromium sources. %description -l ja chromium のソースから FFMPEG ライブラリをビルドします。 %prep %setup -q -c %{name}-%{version} %patch0 -p1 -b .vine %build ## create make files pushd chromium-%{version} ##NOTE: Use --depth as a workaround ./build/gyp_chromium -f make third_party/ffmpeg/ffmpeg.gyp \ -Dffmpeg_branding=Chrome \ -Dlinux_use_gold_flags=0 \ -Dlinux_use_gold_binary=0 \ -Ddisable_nacl=1 \ -Dlinux_fpic=1 \ -Ddisable_sse2=1 \ %ifarch %{ix86} -Dtarget_arch=ia32 \ %endif %ifarch x86_64 -Dtarget_arch=x64 \ %endif %if %{?_dist_release} == "vl6" -Dgcc_version=44 \ %endif \ --depth=. \ ; #%__make -r %{?_smp_mflags} ffmpeg BUILDTYPE=Release V=1 cd third_party/ffmpeg %__make -r %{?_smp_mflags} -f ffmpeg.Makefile BUILDTYPE=Release V=1 disable_nacl=1 popd %install %__rm -rf %{buildroot} %__mkdir_p %{buildroot}%{_libdir}/chromium/ pushd chromium-%{version}/third_party/ffmpeg/out/Release %__cp -a lib*.so %{buildroot}%{_libdir}/chromium/ popd %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{_libdir}/chromium %{_libdir}/chromium/libffmpegsumo.so %changelog * Tue May 22 2012 Munehiro Yamamoto 19.0.1084.50-1 - updated to 19.0.1084.50 - applied chromium-ffmpeg-19.0.1084.50-drop-dependencies-base-gyp.patch * Sun Feb 12 2012 Munehiro Yamamoto 17.0.963.54-1 - updated to 17.0.963.54 * Mon Jan 9 2012 Munehiro Yamamoto 16.0.912.75-1 - updated to 16.0.912.75 - added BuildRequires dependendies * Fri Dec 30 2011 Munehiro Yamamoto 16.0.912.63-1 - initial release for Vine Linux