1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- Name: chromium-ffmpeg
- Summary: The ffmpeg lib for Google's opens source browser Chromium
- Summary(ja): Google オープンソースブラウザ Chromium 用 ffmpeg ライブラリ
- Version: 20.0.1132.54
- 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-20.0.1132.54-drop-dependencies-base-gyp.patch
- Requires: chromium >= %{version}
- #BuildRequires: libgnome-keyring-devel
- 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
- * Thu Jun 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 20.0.1132.54-1
- - updated to 20.0.1132.54
- # * Sun Jun 17 2012 Munehiro Yamamoto <munepi@vinelinux.org> 19.0.1084.50-2
- # - added BuildRequires: libgnome-keyring-devel
- * Tue May 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 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 <munepi@vinelinux.org> 17.0.963.54-1
- - updated to 17.0.963.54
- * Mon Jan 9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 16.0.912.75-1
- - updated to 16.0.912.75
- - added BuildRequires dependendies
- * Fri Dec 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 16.0.912.63-1
- - initial release for Vine Linux
|