%else
Version: %{branch}.%{basever}
%endif
-Release: 1
+Release: 2
License: BSD%{!?with_system_ffmpeg:, LGPL v2+ (ffmpeg)}
Group: X11/Applications/Networking
Source0: http://carme.pld-linux.org/~glen/chromium-browser/src/stable/%{name}-%{branch}.%{basever}.tar.xz
Patch32: remove_bundled_libraries-stale.patch
Patch33: gn.patch
Patch34: depot-tools.patch
+Patch35: etc-dir.patch
URL: http://www.chromium.org/Home
%{?with_gconf:BuildRequires: GConf2-devel}
%{?with_system_mesa:BuildRequires: Mesa-libGL-devel >= 9.1}
%patch32 -p1
%patch33 -p1
%patch34 -p0
+%patch35 -p1
sh -x clean-source.sh \
%{!?with_nacl:nacl=0} \
--- /dev/null
+fix /etc/ path.
+
+should we switch to /etc/chromium instead?
+--- chromium-browser-34.0.1847.116/./chrome/common/chrome_paths.cc~ 2014-04-18 02:50:48.000000000 +0300
++++ chromium-browser-34.0.1847.116/./chrome/common/chrome_paths.cc 2014-04-18 04:01:17.224283548 +0300
+@@ -525,7 +525,7 @@
+ "/etc/opt/chrome/native-messaging-hosts"));
+ #else
+ cur = base::FilePath(FILE_PATH_LITERAL(
+- "/etc/chromium/native-messaging-hosts"));
++ "/etc/chromium-browser/native-messaging-hosts"));
+ #endif
+ #endif // !defined(OS_MACOSX)
+ break;