place new icons to the chromium heart

This commit is contained in:
Tigro 2014-05-29 12:59:28 +04:00
parent 4c547b1ddd
commit d55e562b77
2 changed files with 5 additions and 6 deletions

View file

@ -3,3 +3,4 @@ sources:
gn-binaries.tar.xz: 312d6a6addabeed98f3357d34dbc87ccfd43026b
depot_tools.tar.xz: 082b7f9a4dfa7eb03900755b4866aef2d73543a5
chromium-35.0.1916.114.tar.xz: 4e0b101ebb906decbcc33a9a1c80cbed0b0646d7
new-system-icons.tar.xz: 89339b8b3b05359a8745ed7968fe148902a2fa28

View file

@ -18,6 +18,7 @@ Source2: chromium-browser.desktop
Source100: icons.tar.bz2
Source997: depot_tools.tar.xz
Source998: gn-binaries.tar.xz
Source999: new-system-icons.tar.xz
Source1000: README.urpmi
Patch4: chromium-30.0.1599.66-master-prefs-path.patch
Patch5: chromium-browser-big-icon.patch
@ -92,7 +93,7 @@ implements WebDriver's wire protocol for Chromium. It is being developed by
members of the Chromium and WebDriver teams.
%prep
%setup -q -n chromium-%{version} -a 998 -a 997
%setup -q -n chromium-%{version} -a 998 -a 997 -a 999
%patch4 -p1 -b .prefs
%patch5 -p1 -b .big-icon
@ -217,11 +218,8 @@ mkdir -p %{buildroot}%{_datadir}/applications
install -m 644 %{_src}/%{crname}.desktop %{buildroot}%{_datadir}/applications/
# icon
for i in 22 24 48 64 128 256; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
install -m 644 chrome/app/theme/chromium/product_logo_$i.png \
%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{crname}.png
done
mkdir -p %{buildroot}%{_iconsdir}/hicolor/
tar xjf %{SOURCE100} -C %{buildroot}%{_iconsdir}/hicolor/
mkdir -p %{buildroot}%{_sysconfdir}/%{crname}
install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{crname}/