2015-01-22 02:00:02 +03:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
NULL =
|
|
|
|
|
|
|
|
DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_SKIP_RPATH=FALSE \
|
|
|
|
-DCMAKE_SKIP_INSTALL_RPATH=FALSE \
|
|
|
|
-DWITH_PULSE=ON \
|
|
|
|
-DWITH_CHANNELS=ON \
|
2016-06-15 14:36:27 +03:00
|
|
|
-DBUILTIN_CHANNELS=ON \
|
2015-01-22 02:00:02 +03:00
|
|
|
-DWITH_CUPS=ON \
|
|
|
|
-DWITH_PCSC=ON \
|
|
|
|
-DWITH_JPEG=ON \
|
|
|
|
-DWITH_GSTREAMER_0_10=ON \
|
|
|
|
-DWITH_GSM=ON \
|
|
|
|
-DCHANNEL_URBDRC=ON \
|
|
|
|
-DCHANNEL_URBDRC_CLIENT=ON \
|
|
|
|
-DWITH_SERVER=ON \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ \
|
2015-01-22 03:35:38 +03:00
|
|
|
-DCMAKE_INSTALL_INCLUDEDIR=include \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2015-01-22 02:00:02 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --parallel
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
|
|
|
|
|
|
|
|
override_dh_shlibdeps:
|
2015-01-22 03:35:38 +03:00
|
|
|
dh_shlibdeps -l /opt/freerdp-nightly/lib/
|
2015-01-22 02:00:02 +03:00
|
|
|
|
|
|
|
override_dh_strip:
|
|
|
|
dh_strip --dbg-package=freerdp-nightly-dbg
|
|
|
|
|
|
|
|
override_dh_install:
|
2015-01-22 03:57:32 +03:00
|
|
|
mkdir -p debian/tmp/opt/freerdp-nightly/lib/cmake/
|
2016-03-14 11:38:35 +03:00
|
|
|
rm -rf debian/tmp/opt/freerdp-nightly/lib/freerdp2/*.a
|
2015-01-22 03:57:32 +03:00
|
|
|
|
2015-01-22 02:00:02 +03:00
|
|
|
dh_install --fail-missing
|
|
|
|
|
|
|
|
override_dh_clean:
|
|
|
|
rm -f config.h
|
|
|
|
dh_clean
|