summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-08-28 03:56:29 +0400
committerAnton <anton@picapica.im>2026-08-28 03:56:29 +0400
commit363eae9e2b6ba7d3a22c5dd5d63fd58d73a40f40 (patch)
tree100511484cf19ef56d15240c0c2d48ca6a9279a8 /debian/rules
parentacba2cd3eec20b31415e4b1d8e3bed85e9ab821b (diff)
downloadpica-pica-363eae9e2b6ba7d3a22c5dd5d63fd58d73a40f40.tar.gz
pica-pica-363eae9e2b6ba7d3a22c5dd5d63fd58d73a40f40.zip
debian: build dependencies for audio/video calls
The branch added FFmpeg, speexdsp, ALSA, libpulse and VAAPI to the client's dependencies, none of which were in debian/control. Add them, along with pkg-config, sqlite3 and zlib1g-dev, which configure has always needed but which used to be pulled in indirectly. VAAPI, its X11 rendering path and PulseAudio device enumeration are autodetected, so a missing build dependency would have quietly produced a package without them - ask for all three explicitly in debian/rules now that they are guaranteed to be installed. Package names are as found in Ubuntu 22.04, 24.04 and 26.04 and in Debian 13; Ubuntu 20.04 is not covered, it has no libegl-dev. Also bump the version to 0.9.0dev, in configure.ac and in the macOS bundle. The two version keys of Info.plist stay numeric because Launch Services will not take anything else. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BQci8cPPnyCde7qQX1jaN5
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index a66a4ef..85c4951 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,13 @@ export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS=-v
+# VAAPI, its X11 rendering path and PulseAudio device enumeration are
+# autodetected by configure, which means a missing build dependency would
+# silently produce a package without them. All three are in Build-Depends,
+# so ask for them explicitly and let the build fail if they are not there.
override_dh_auto_configure:
- dh_auto_configure -- --localstatedir=/var/lib
+ dh_auto_configure -- --localstatedir=/var/lib \
+ --enable-vaapi --enable-vaapi-x11 --enable-pulse
%:
dh $@