1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
build-arch build-indep build clean install-indep install-arch install binary-arch binary-indep binary: %:
dh $@
override_dh_auto_configure:
# set GSTREAMER and GLIB2 _LIBS to smaller list
# to avoid linking with useless libraries
GSTREAMER_1_0_LIBS="-lgstapp-1.0 -lgstreamer-1.0" \
GLIB2_LIBS="-lgio-2.0 -lgobject-2.0 -lglib-2.0" \
dh_auto_configure -- --disable-silent-rules \
--enable-smartcard \
--with-gstreamer=1.0 \
--with-sasl \
--enable-lz4 \
# remove Requires.private and Libs.private defs from .pc file -- we're not building static libs
sed -E -i '/^(Libs|Requires)\.private:/D' spice-server.pc
|