[packages/chromium-browser/dev-28: 4/6] use system snappy

glen glen at pld-linux.org
Fri May 31 14:16:31 CEST 2013


commit 7e634b46333d01817acbe818949be9cbaeb47eef
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 30 12:15:37 2013 +0300

    use system snappy

 chromium-browser.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index e54cfe6..7cc2bb0 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -27,6 +27,7 @@
 %bcond_without	system_opus		# system opus codec support, http://www.opus-codec.org/examples/
 %bcond_without	system_protobuf	# system protobuf
 %bcond_without	system_re2		# system re2
+%bcond_without	system_snappy	# system snappy
 %bcond_without	system_speex	# system speex
 %bcond_with	system_sqlite	# system sqlite WebSQL (http://www.w3.org/TR/webdatabase/) will not work
 %bcond_without	system_libsrtp	# system srtp (can be used if using bundled libjingle)
@@ -167,6 +168,7 @@ BuildRequires:	python
 BuildRequires:	python-modules
 BuildRequires:	python-ply
 %{?with_system_re2:BuildRequires:	re2-devel >= 20130115-2}
+%{?with_system_snappy:BuildRequires:	snappy-devel}
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 1.453
 BuildRequires:	speech-dispatcher-devel >= 0.8
@@ -298,6 +300,7 @@ sh -x clean-source.sh \
 	%{!?with_system_mesa:mesa=0} \
 	%{!?with_system_protobuf:protobuf=0} \
 	%{!?with_system_re2:re2=0} \
+	%{!?with_system_snappy:snappy=0} \
 	%{!?with_system_sqlite:sqlite=0} \
 	%{!?with_system_v8:v8=0} \
 	%{!?with_system_zlib:zlib=0} \
@@ -399,6 +402,7 @@ flags="
 	%{gyp_with system_opus} \
 	%{gyp_with system_protobuf} \
 	%{gyp_with system_re2} \
+	%{gyp_with system_snappy} \
 	%{gyp_with system_speex} \
 	%{gyp_with system_sqlite} %{?with_system_sqlite:-Denable_sql_database=0} \
 	%{gyp_with system_v8} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/9245150b876ee2d96f57b259ff344071be66224d



More information about the pld-cvs-commit mailing list