1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
diff --git a/control b/control
index a010475..da60418 100644
--- a/control
+++ b/control
@@ -33,7 +33,6 @@ Build-Depends: autotools-dev,
llvm-dev,
libclang-dev,
clang,
- cbindgen (>= 0.19.0),
nodejs (>= 10),
zip,
unzip,
diff --git a/control.in b/control.in
index b6acf1b..089cbf7 100644
--- a/control.in
+++ b/control.in
@@ -58,7 +58,6 @@ Build-Depends: autotools-dev,
libclang-dev,
clang,
%endif
- cbindgen (>= 0.19.0),
%if DIST == stretch
nodejs-mozilla (>= 10),
%else
diff --git a/rules b/rules
index 117197e..e1b7858 100755
--- a/rules
+++ b/rules
@@ -239,11 +239,14 @@ stamps/configure-$(PRODUCT):: stamps/prepare-configure debian/$($(PRODUCT)).mozc
$(COMMON_CONFIGURE_FLAGS) \
$(CONFIGURE_FLAGS)
-stamps/build-$(PRODUCT):: stamps/configure-check-$(PRODUCT)
+stamps/build-$(PRODUCT):: $(CARGO_HOME)/bin/cbindgen stamps/configure-check-$(PRODUCT)
+dh_auto_build --parallel --builddirectory=build-$(PRODUCT) -- \
LD_LIBS=-Wl,--no-gc-sections \
_LEAKTEST_FILES=leaktest.py
+$(CARGO_HOME)/bin/cbindgen:
+ cargo install --version 0.19.0 cbindgen
+
L10N_BUILD_STAMPS = $(foreach lang,$(L10N_LANGS),stamps/build-l10n-$(lang))
stamps/build-l10n:: $(L10N_BUILD_STAMPS)
|