[pkg-remote-commits] [freerdp2] 06/12: debian/{control, rules}: Explicitly have libsystemd-dev as B-D. Disable building against libsystemd-dev for non-Linux host.

Mike Gabriel sunweaver at debian.org
Sat Oct 21 22:31:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository freerdp2.

commit 4d436eaf96d7d1642a92ace5f15d00263d4c5698
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Oct 21 22:31:16 2017 +0200

    debian/{control,rules}: Explicitly have libsystemd-dev as B-D. Disable building against libsystemd-dev for non-Linux host.
---
 debian/control | 1 +
 debian/rules   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/control b/debian/control
index 7941311..02f5eab 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,7 @@ Build-Depends:
  libpcsclite-dev,
  libpulse-dev,
  libssl-dev,
+ libsystemd-dev [linux-any],
  libudev-dev [linux-any],
  libusb-1.0-0-dev [linux-any],
  libwayland-dev [linux-any],
diff --git a/debian/rules b/debian/rules
index dcd5f2c..f2a5e72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,11 @@ endif
 DEB_HOST_ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 ifeq (,$(filter linux, $(DEB_HOST_ARCH_OS)))
 WITH_WAYLAND = -DWITH_WAYLAND=OFF
+WITH_LIBSYSTEMD = -DWITH_LIBSYSTEMD=OFF
 WITH_ALSA = -DWITH_ALSA=OFF
 else
 WITH_WAYLAND =
+WITH_LIBSYSTEMD =
 WITH_ALSA =
 endif
 
@@ -53,6 +55,7 @@ DEB_CMAKE_EXTRA_FLAGS :=  -DCMAKE_INSTALL_INCLUDEDIR=include/$(shell dpkg-archit
                           -DBUILD_TESTING=OFF \
                           -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
                           $(WITH_WAYLAND) \
+                          $(WITH_LIBSYSTEMD) \
                           -DWITH_CLIENT_INTERFACE=OFF \
                           $(WITH_NEON) \
                           $(NULL)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/freerdp2.git



More information about the pkg-remote-commits mailing list