1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
%:
dh $@ --with kf6
override_dh_auto_configure:
dh_auto_configure '--buildsystem=kf6' -- \
-DR_EXECUTABLE=/usr/bin/R/ \
-DCMAKE_SKIP_RPATH=YES
override_dh_auto_test:
xvfb-run -a --server-args="-screen 0 1024x768x24+32" dh_auto_test
override_dh_gencontrol-arch:
# We need to know the R version
dh_gencontrol -a -- \
-V'rvers=r-base-core (>= $(shell dpkg-query -W --showformat='$${Version}' r-base-core))' \
-V'rapivers=$(shell dpkg-query -W --showformat='$${Provides}' r-base-core | grep -o 'r-api[^, ]*')' \
-V'rgraphicsenginevers=$(shell dpkg-query -W --showformat='$${Provides}' r-base-core | grep -o 'r-graphics-engine[^, ]*')'
|