[packages/chromium-browser] build with system libusb

glen glen at pld-linux.org
Wed Nov 14 23:58:13 CET 2012


commit 581aec44943bfdbfee504cbd9b837a0fdf28021f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 15 00:38:42 2012 +0200

    build with system libusb

 chromium-browser.spec | 3 +++
 clean-source.sh       | 1 +
 2 files changed, 4 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index b8cfc56..3bee6f0 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -16,6 +16,7 @@
 %bcond_with		system_sqlite	# with system sqlite
 %bcond_without	system_flac		# with system flac
 %bcond_without	system_jsoncpp	# with system jsoncpp
+%bcond_without	system_libusb	# with system libusb-1
 %bcond_without	system_libwebp	# with system libwebp
 %bcond_without	system_speex	# with system speex
 %bcond_with		system_v8		# with system v8
@@ -128,6 +129,7 @@ BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 %{?with_system_vpx:BuildRequires:	libvpx-devel >= 0.9.5-2}
 %{?with_system_libwebp:BuildRequires:	libwebp-devel >= 0.1.99}
+%{?with_system_libusb:BuildRequires:	libusb-devel >= 1.0}
 BuildRequires:	libxml2-devel
 BuildRequires:	libxslt-devel
 BuildRequires:	lzma
@@ -343,6 +345,7 @@ test -e Makefile || %{__python} build/gyp_chromium --format=make build/all.gyp \
 	%{gyp_with pulseaudio} \
 	%{gyp_with system_flac} \
 	%{gyp_with system_libwebp} \
+	%{gyp_with system_libusb} \
 	%{gyp_with system_speex} \
 	%{gyp_with system_sqlite} \
 	%{gyp_with system_v8} \
diff --git a/clean-source.sh b/clean-source.sh
index a3a2bbb..14e599d 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -458,6 +458,7 @@ strip_system_dirs \
 	third_party/libevent \
 	third_party/libjpeg \
 	third_party/libpng \
+	third_party/libusb \
 	_third_party/libvpx \
 	third_party/libwebp \
 	third_party/libxml \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/581aec44943bfdbfee504cbd9b837a0fdf28021f



More information about the pld-cvs-commit mailing list