From eea1ac156c305efbb47a96bb104b4eb585f9a0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 3 Jul 2020 11:45:36 +0300 Subject: [PATCH] ptp: Add GNU Hurd to the list of supported platforms and fix the Solaris name https://mesonbuild.com/Reference-tables.html#operating-system-names has the table of all supported names right now. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/583 Part-of: --- libs/gst/helpers/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/gst/helpers/meson.build b/libs/gst/helpers/meson.build index f706ab00c2..9e5a4ae68c 100644 --- a/libs/gst/helpers/meson.build +++ b/libs/gst/helpers/meson.build @@ -29,9 +29,11 @@ elif host_system == 'windows' message('PTP not supported on Windows, not ported yet.') elif host_system == 'ios' message('PTP not supported on iOS because of permissions.') -elif ['linux', 'darwin', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'solaris'].contains(host_system) +elif ['linux', 'darwin', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'sunos', 'gnu'].contains(host_system) message('PTP supported on ' + host_system + '.') have_ptp = true +else + message('PTP not supported on ' + host_system + ', not ported yet.') endif if have_ptp