-
Notifications
You must be signed in to change notification settings - Fork 1
/
webkitgtk-cmake-buildapi.patch
26 lines (23 loc) · 1.09 KB
/
webkitgtk-cmake-buildapi.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From d979d6bfe8f53bded7fbb65047de8059672c790f Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@gnome.org>
Date: Fri, 21 Nov 2014 11:12:07 +0100
Subject: [PATCH] build: Add a "configure" script implementing the GNOME Build
API
See https://github.com/cgwalters/build-api
---
Source/cmake/FindGStreamer.cmake | 2 ++
configure | 58 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100755 configure
diff --git a/Source/cmake/FindGStreamer.cmake b/Source/cmake/FindGStreamer.cmake
index acd1243..6a66a56 100644
--- a/Source/cmake/FindGStreamer.cmake
+++ b/Source/cmake/FindGStreamer.cmake
@@ -103,6 +103,8 @@ foreach (_component ${GStreamer_FIND_COMPONENTS})
list(APPEND _GSTREAMER_REQUIRED_VARS ${_UPPER_NAME}_INCLUDE_DIRS ${_UPPER_NAME}_LIBRARIES)
endforeach ()
+list(APPEND GSTREAMER_INCLUDE_DIRS ${prefix}/lib/gstreamer-1.0/include/)
+
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GStreamer REQUIRED_VARS _GSTREAMER_REQUIRED_VARS
VERSION_VAR GSTREAMER_VERSION)