| 1 |
manifest-version: '0.1' |
| 2 |
default-build-environment: |
| 3 |
set: |
| 4 |
# optimize=-lto because I use CMake's LTO |
| 5 |
DEB_BUILD_MAINT_OPTIONS: "hardening=+all optimize=-lto qa=+all" |
| 6 |
builds: |
| 7 |
- cmake: |
| 8 |
target-build-system: make |
| 9 |
configure-args: |
| 10 |
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON' |
| 11 |
- '-DBUILD_SHARED_LIBS=ON' |
| 12 |
- '-DBUILD_RUST_LIBS=OFF' |
| 13 |
|
| 14 |
# Tests can't be run because they require access to the host's |
| 15 |
# audio peripherals, and for some reason it seems that the |
| 16 |
# tests can't access them when ran under debuild |
| 17 |
- '-DBUILD_TESTS=OFF' |
| 18 |
- '-DBUILD_TOOLS=OFF' |
| 19 |
- '-DBUNDLE_SPEEX=OFF' |
| 20 |
- '-DLAZY_LOAD_LIBS=OFF' |
| 21 |
- '-DUSE_SANITIZERS=OFF' |
| 22 |
|
| 23 |
installations: |
| 24 |
- install: |
| 25 |
source: usr/lib/*/libcubeb.so.* |
| 26 |
into: libcubeb0 |
| 27 |
- install: |
| 28 |
sources: |
| 29 |
- usr/include |
| 30 |
- usr/lib/*/cmake |
| 31 |
- usr/lib/*/libcubeb.so |
| 32 |
into: libcubeb-dev |
| 33 |
- install-docs: |
| 34 |
source: usr/share/doc/cubeb |
| 35 |
into: libcubeb-doc |
| 36 |
packages: |
| 37 |
libcubeb-doc: |
| 38 |
transformations: |
| 39 |
- create-symlink: |
| 40 |
path: usr/share/doc/libcubeb-doc/cubeb/jquery.js |
| 41 |
target: /usr/share/javascript/jquery/jquery.js |