author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 10:37:55 +0300 | |
changeset 33 | 3e2da88830cd |
parent 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 1 |
# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 |
# |
|
3 |
# This library is free software: you can redistribute it and/or modify |
|
4 |
# it under the terms of the GNU Lesser General Public License as published by |
|
5 |
# the Free Software Foundation, either version 2 or 3 of the License. |
|
6 |
# |
|
7 |
# This library is distributed in the hope that it will be useful, |
|
8 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
9 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
10 |
# GNU Lesser General Public License for more details. |
|
11 |
# |
|
12 |
# You should have received a copy of the GNU Lesser General Public License |
|
13 |
# along with this library. If not, see <http://www.gnu.org/licenses/>. |
|
14 |
||
15 |
macro_optional_find_package(GStreamer) |
|
16 |
macro_log_feature(GSTREAMER_FOUND "GStreamer" "gstreamer 0.10 is required for the multimedia backend" "http://gstreamer.freedesktop.org/modules/" FALSE "0.10") |
|
17 |
||
18 |
macro_optional_find_package(GStreamerPlugins) |
|
19 |
macro_log_feature(GSTREAMER_PLUGIN_VIDEO_LIBRARIES "GStreamer video plugin" "The gstreamer video plugin (part of gstreamer-plugins-base 0.10) is required for the multimedia gstreamer backend" "http://gstreamer.freedesktop.org/modules/" FALSE "0.10") |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
20 |
macro_log_feature(GSTREAMER_PLUGIN_AUDIO_LIBRARIES "GStreamer audio plugin" "The gstreamer audio plugin (part of gstreamer-plugins-base 0.10) is required for the multimedia gstreamer backend" "http://gstreamer.freedesktop.org/modules/" FALSE "0.10") |
0 | 21 |
|
22 |
macro_optional_find_package(GLIB2) |
|
23 |
macro_log_feature(GLIB2_FOUND "GLib2" "GLib 2 is required to compile the gstreamer backend for Phonon" "http://www.gtk.org/download/" FALSE) |
|
24 |
||
25 |
macro_optional_find_package(GObject) |
|
26 |
# No log, since GObject is bundled with GLib |
|
27 |
||
28 |
macro_optional_find_package(LibXml2) |
|
29 |
macro_log_feature(LIBXML2_FOUND "LibXml2" "LibXml2 is required to compile the gstreamer backend for Phonon" "http://xmlsoft.org/downloads.html" FALSE) |
|
30 |
||
31 |
macro_optional_find_package(OpenGL) |
|
32 |
macro_log_feature(OPENGL_FOUND "OpenGL" "OpenGL support is required to compile the gstreamer backend for Phonon" "" FALSE) |
|
33 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
34 |
if (GSTREAMER_FOUND AND GSTREAMER_PLUGIN_VIDEO_LIBRARIES AND GSTREAMER_PLUGIN_AUDIO_LIBRARIES AND GLIB2_FOUND AND GOBJECT_FOUND AND LIBXML2_FOUND AND OPENGL_FOUND) |
0 | 35 |
set(BUILD_PHONON_GSTREAMER TRUE) |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
36 |
else (GSTREAMER_FOUND AND GSTREAMER_PLUGIN_VIDEO_LIBRARIES AND GSTREAMER_PLUGIN_AUDIO_LIBRARIES AND GLIB2_FOUND AND GOBJECT_FOUND AND LIBXML2_FOUND AND OPENGL_FOUND) |
0 | 37 |
set(BUILD_PHONON_GSTREAMER FALSE) |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
38 |
endif (GSTREAMER_FOUND AND GSTREAMER_PLUGIN_VIDEO_LIBRARIES AND GSTREAMER_PLUGIN_AUDIO_LIBRARIES AND GLIB2_FOUND AND GOBJECT_FOUND AND LIBXML2_FOUND AND OPENGL_FOUND) |