patches: add 0001-Fix-gstreamer-1.0-detection
Fixes gstreamer detection with recent version of cmake.
This commit is contained in:
parent
e2d65082d7
commit
2e5396a00a
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -11,6 +11,9 @@ freerdp2 (2.0.0~git20170725.1.1648deb+dfsg1-1) UNRELEASED; urgency=medium
|
||||
* debian/control:
|
||||
- Remove B:/R: rules (freerdp2-dev): libfreerdp-dev and freerdp2-dev don't
|
||||
have conflicting file names anymore
|
||||
* debian/patches
|
||||
+ add 0001-Fix-gstreamer-1.0-detection.patch - fix gstreamer detection with
|
||||
recent cmake versions
|
||||
|
||||
-- Bernhard Miklautz <bernhard.miklautz@shacknet.at> Wed, 26 Jul 2017 12:50:41 +0200
|
||||
|
||||
|
||||
25
debian/patches/0001-Fix-gstreamer-1.0-detection.patch
vendored
Normal file
25
debian/patches/0001-Fix-gstreamer-1.0-detection.patch
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
From 368989526c32cdf9d680a397fede3cb773fa2609 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Fri, 28 Jul 2017 16:31:41 -0400
|
||||
Subject: [PATCH] Fix gstreamer-1.0 detection
|
||||
|
||||
---
|
||||
cmake/FindGStreamer_1_0.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/FindGStreamer_1_0.cmake b/cmake/FindGStreamer_1_0.cmake
|
||||
index 3aa8fc6..6fbc0ec 100644
|
||||
--- a/cmake/FindGStreamer_1_0.cmake
|
||||
+++ b/cmake/FindGStreamer_1_0.cmake
|
||||
@@ -59,7 +59,7 @@ macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _library)
|
||||
|
||||
string(REGEX MATCH "(.*)>=(.*)" _dummy "${_pkgconfig_name}")
|
||||
if ("${CMAKE_MATCH_2}" STREQUAL "")
|
||||
- pkg_check_modules(PC_${_component_prefix} "${_pkgconfig_name} >= ${GStreamer_FIND_VERSION}")
|
||||
+ pkg_check_modules(PC_${_component_prefix} "${_pkgconfig_name} >= ${GSTREAMER_1_0_MINIMUM_VERSION}")
|
||||
else ()
|
||||
pkg_check_modules(PC_${_component_prefix} ${_pkgconfig_name})
|
||||
endif ()
|
||||
--
|
||||
2.1.4
|
||||
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -0,0 +1 @@
|
||||
0001-Fix-gstreamer-1.0-detection.patch
|
||||
Loading…
Reference in New Issue
Block a user