limit firebird/ibase support only where available

also explicitly enable/disable it at cmake time
ci/unstable
Pino Toscano 3 years ago
parent c1f03bef42
commit 115093600b

2
debian/control vendored

@ -5,7 +5,7 @@ Uploaders: Patrick Franz <deltaone@debian.org>
Build-Depends: cmake (>= 3.18~),
debhelper-compat (= 13),
dh-exec,
firebird-dev,
firebird-dev [kfreebsd-any linux-any],
libatspi2.0-dev,
libb2-dev,
libcups2-dev,

9
debian/rules vendored

@ -6,6 +6,12 @@ include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifneq (,$(filter libqt5sql5-ibase,$(shell dh_listpackages)))
extra_cmake_args += -DFEATURE_sql_ibase=ON
else
extra_cmake_args += -DFEATURE_sql_ibase=OFF
endif
%:
dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
@ -52,7 +58,8 @@ override_dh_auto_configure:
-DFEATURE_sql_psql=ON \
-DFEATURE_sql_sqlite=ON \
-DFEATURE_system_sqlite=ON \
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
$(extra_cmake_args)
override_dh_auto_install-arch:

Loading…
Cancel
Save