source: projects/specs/trunk/nonfree/self-build-chromium-ffmpeg/chromium-ffmpeg-vl.spec @ 6474

Revision 6474, 2.6 KB checked in by munepi, 12 years ago (diff)

updated to 20.0.1132.54

Line 
1Name:           chromium-ffmpeg
2Summary:        The ffmpeg lib for Google's opens source browser Chromium
3Summary(ja):    Google オープンソースブラウザ Chromium 用 ffmpeg ライブラリ
4Version:        20.0.1132.54
5Release:        1%{?_dist_release}
6License:        BSD
7Group:          Applications/Internet
8# use the official tarball:
9Source0:        http://gsdview.appspot.com/chromium-browser-official/chromium-%{version}.tar.bz2
10Patch0:         chromium-ffmpeg-20.0.1132.54-drop-dependencies-base-gyp.patch
11
12Requires:       chromium >= %{version}
13#BuildRequires: libgnome-keyring-devel
14BuildRequires:  zlib-devel
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18%description
19FFMPEG library built from the chromium sources.
20
21%description -l ja
22chromium のソースから FFMPEG ライブラリをビルドします。
23
24%prep
25%setup -q -c %{name}-%{version}
26%patch0 -p1 -b .vine
27
28%build
29
30## create make files
31pushd 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 \
36    -Dlinux_use_gold_flags=0 \
37    -Dlinux_use_gold_binary=0 \
38    -Ddisable_nacl=1 \
39    -Dlinux_fpic=1 \
40    -Ddisable_sse2=1 \
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
55cd third_party/ffmpeg
56%__make -r %{?_smp_mflags} -f ffmpeg.Makefile BUILDTYPE=Release V=1 disable_nacl=1
57
58popd
59
60%install
61%__rm -rf %{buildroot}
62%__mkdir_p %{buildroot}%{_libdir}/chromium/
63pushd chromium-%{version}/third_party/ffmpeg/out/Release
64%__cp -a lib*.so %{buildroot}%{_libdir}/chromium/
65popd
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
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
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
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
Note: See TracBrowser for help on using the repository browser.