[5626] | 1 | Name: chromium-ffmpeg |
---|
| 2 | Summary: The ffmpeg lib for Google's opens source browser Chromium |
---|
| 3 | Summary(ja): Google オープンソースブラウザ Chromium 用 ffmpeg ライブラリ |
---|
[6476] | 4 | Version: 20.0.1132.54 |
---|
[5626] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: BSD |
---|
| 7 | Group: Applications/Internet |
---|
| 8 | # use the official tarball: |
---|
| 9 | Source0: http://gsdview.appspot.com/chromium-browser-official/chromium-%{version}.tar.bz2 |
---|
[6476] | 10 | Patch0: chromium-ffmpeg-20.0.1132.54-drop-dependencies-base-gyp.patch |
---|
[5626] | 11 | |
---|
[6215] | 12 | Requires: chromium >= %{version} |
---|
[6476] | 13 | #BuildRequires: libgnome-keyring-devel |
---|
[5626] | 14 | BuildRequires: zlib-devel |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | FFMPEG library built from the chromium sources. |
---|
| 20 | |
---|
[6215] | 21 | %description -l ja |
---|
| 22 | chromium のソースから FFMPEG ライブラリをビルドします。 |
---|
| 23 | |
---|
[5626] | 24 | %prep |
---|
| 25 | %setup -q -c %{name}-%{version} |
---|
[6215] | 26 | %patch0 -p1 -b .vine |
---|
[5626] | 27 | |
---|
| 28 | %build |
---|
| 29 | |
---|
| 30 | ## create make files |
---|
| 31 | pushd chromium-%{version} |
---|
| 32 | |
---|
| 33 | ##NOTE: Use --depth as a workaround |
---|
| 34 | ./build/gyp_chromium -f make third_party/ffmpeg/ffmpeg.gyp \ |
---|
| 35 | -Dffmpeg_branding=Chrome \ |
---|
[6215] | 36 | -Dlinux_use_gold_flags=0 \ |
---|
| 37 | -Dlinux_use_gold_binary=0 \ |
---|
| 38 | -Ddisable_nacl=1 \ |
---|
[5626] | 39 | -Dlinux_fpic=1 \ |
---|
[6215] | 40 | -Ddisable_sse2=1 \ |
---|
[5626] | 41 | %ifarch %{ix86} |
---|
| 42 | -Dtarget_arch=ia32 \ |
---|
| 43 | %endif |
---|
| 44 | %ifarch x86_64 |
---|
| 45 | -Dtarget_arch=x64 \ |
---|
| 46 | %endif |
---|
| 47 | %if %{?_dist_release} == "vl6" |
---|
| 48 | -Dgcc_version=44 \ |
---|
| 49 | %endif |
---|
| 50 | \ |
---|
| 51 | --depth=. \ |
---|
| 52 | ; |
---|
| 53 | |
---|
| 54 | #%__make -r %{?_smp_mflags} ffmpeg BUILDTYPE=Release V=1 |
---|
| 55 | cd third_party/ffmpeg |
---|
[6215] | 56 | %__make -r %{?_smp_mflags} -f ffmpeg.Makefile BUILDTYPE=Release V=1 disable_nacl=1 |
---|
[5626] | 57 | |
---|
| 58 | popd |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | %__rm -rf %{buildroot} |
---|
| 62 | %__mkdir_p %{buildroot}%{_libdir}/chromium/ |
---|
| 63 | pushd chromium-%{version}/third_party/ffmpeg/out/Release |
---|
| 64 | %__cp -a lib*.so %{buildroot}%{_libdir}/chromium/ |
---|
| 65 | popd |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | %{__rm} -rf %{buildroot} |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %dir %{_libdir}/chromium |
---|
| 74 | %{_libdir}/chromium/libffmpegsumo.so |
---|
| 75 | |
---|
| 76 | %changelog |
---|
[6476] | 77 | * Thu Jun 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 20.0.1132.54-1 |
---|
| 78 | - updated to 20.0.1132.54 |
---|
| 79 | |
---|
| 80 | # * Sun Jun 17 2012 Munehiro Yamamoto <munepi@vinelinux.org> 19.0.1084.50-2 |
---|
| 81 | # - added BuildRequires: libgnome-keyring-devel |
---|
| 82 | |
---|
[6215] | 83 | * Tue May 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 19.0.1084.50-1 |
---|
| 84 | - updated to 19.0.1084.50 |
---|
| 85 | - applied chromium-ffmpeg-19.0.1084.50-drop-dependencies-base-gyp.patch |
---|
| 86 | |
---|
[5626] | 87 | * Sun Feb 12 2012 Munehiro Yamamoto <munepi@vinelinux.org> 17.0.963.54-1 |
---|
| 88 | - updated to 17.0.963.54 |
---|
| 89 | |
---|
| 90 | * Mon Jan 9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 16.0.912.75-1 |
---|
| 91 | - updated to 16.0.912.75 |
---|
| 92 | - added BuildRequires dependendies |
---|
| 93 | |
---|
| 94 | * Fri Dec 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 16.0.912.63-1 |
---|
| 95 | - initial release for Vine Linux |
---|