Use python3 in waf calls, Build-Depends on python3
VĂctor Cuadrado Juan
4 years ago
24 | 24 |
libzita-convolver-dev,
|
25 | 25 |
libzita-resampler-dev,
|
26 | 26 |
lv2-dev,
|
27 | |
python,
|
|
27 |
python3,
|
28 | 28 |
Build-Depends-Indep: doxygen, graphviz
|
29 | 29 |
Standards-Version: 4.5.0
|
30 | 30 |
Homepage: https://guitarix.org
|
11 | 11 |
dh $@
|
12 | 12 |
|
13 | 13 |
override_dh_auto_configure:
|
14 | |
./waf configure --prefix=/usr --no-faust \
|
|
14 |
python3 ./waf configure --prefix=/usr --no-faust \
|
15 | 15 |
--cxxflags="$(shell dpkg-buildflags --get CXXFLAGS) \
|
16 | 16 |
$(shell dpkg-buildflags --get CPPFLAGS)" \
|
17 | 17 |
--ldflags="$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed" -v \
|
|
21 | 21 |
dh_makeshlibs -V
|
22 | 22 |
|
23 | 23 |
override_dh_auto_build-arch:
|
24 | |
./waf build -v --jobs=$(NUMJOBS)
|
|
24 |
python3 ./waf build -v --jobs=$(NUMJOBS)
|
25 | 25 |
|
26 | 26 |
override_dh_auto_build-indep:
|
27 | 27 |
cd $(CURDIR)/documentation ; doxygen
|
|
30 | 30 |
cd $(CURDIR)/documentation/html && find . -name "*.map" -delete
|
31 | 31 |
|
32 | 32 |
override_dh_auto_clean:
|
33 | |
./waf distclean
|
|
33 |
python3 ./waf distclean
|
34 | 34 |
rm -rf build/*
|
35 | 35 |
rm -rf build/.conf*
|
36 | 36 |
rm -rf build/.waf*
|
|
38 | 38 |
rm -rf documentation/html
|
39 | 39 |
|
40 | 40 |
override_dh_auto_install:
|
41 | |
./waf install --destdir=$(CURDIR)/debian/tmp --libdir=$(CURDIR)/debian/tmp
|
|
41 |
python3 ./waf install --destdir=$(CURDIR)/debian/tmp --libdir=$(CURDIR)/debian/tmp
|
42 | 42 |
rm -f $(CURDIR)/debian/tmp/usr/share/gx_head/sounds/bands/LICENSE
|
43 | 43 |
rm -f $(CURDIR)/debian/tmp/usr/share/gx_head/sounds/amps/LICENSE
|
44 | 44 |
rm -f $(CURDIR)/debian/tmp/usr/lib/libgxwmm.so
|