| 1 |
# |
| 2 |
# Knowthelist |
| 3 |
# Copyright (C) 2014 Mario Stephan <[email protected]> |
| 4 |
# License: LGPL-3.0+ |
| 5 |
# |
| 6 |
# Patched version of GStreamer sink plugin for Windows to enable selection of audio output device |
| 7 |
|
| 8 |
DEFINES += PACKAGE="\\\"knowthelist\\\"" \ |
| 9 |
VERSION="\\\"1.0\\\"" \ |
| 10 |
GST_PACKAGE_NAME="\\\"knowthelist\\\"" \ |
| 11 |
GST_PACKAGE_ORIGIN="\\\"gst-plugins-good\\\"" \ |
| 12 |
|
| 13 |
TARGET = libgstdirectsoundsink |
| 14 |
|
| 15 |
|
| 16 |
TEMPLATE = lib |
| 17 |
CONFIG += dll |
| 18 |
DESTDIR = $${OUT_PWD}/../ |
| 19 |
|
| 20 |
win32 { |
| 21 |
GST_HOME = $$quote($$(GSTREAMER_1_0_ROOT_X86)) |
| 22 |
isEmpty(GST_HOME) { |
| 23 |
message(\"GSTREAMER_1_0_ROOT_X86\" not detected ...) |
| 24 |
} |
| 25 |
else { |
| 26 |
message(\"GSTREAMER_1_0_ROOT_X86\" detected in \"$${GST_HOME}\") |
| 27 |
} |
| 28 |
|
| 29 |
INCLUDEPATH += $${GST_HOME}\include\gstreamer-1.0 \ |
| 30 |
$${GST_HOME}\include\glib-2.0 \ |
| 31 |
$${GST_HOME}\lib\glib-2.0\include \ |
| 32 |
$${GST_HOME}\include \ |
| 33 |
|
| 34 |
LIBS += $${GST_HOME}\lib\libgstreamer-1.0.dll.a \ |
| 35 |
$${GST_HOME}\lib\glib-2.0.lib \ |
| 36 |
$${GST_HOME}\lib\gobject-2.0.lib \ |
| 37 |
$${GST_HOME}\lib\libgstaudio-1.0.dll.a \ |
| 38 |
$${GST_HOME}\lib\libgstbase-1.0.dll.a \ |
| 39 |
-ldsound \ |
| 40 |
-lwinmm \ |
| 41 |
-ldxerr9 \ |
| 42 |
-lole32 |
| 43 |
} |
| 44 |
|
| 45 |
HEADERS += \ |
| 46 |
directsound/gstdirectsoundsink.h |
| 47 |
|
| 48 |
SOURCES += \ |
| 49 |
directsound/gstdirectsoundplugin.c \ |
| 50 |
directsound/gstdirectsoundsink.c |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|