termux-packages/x11-packages/qt5-qtmultimedia/detect_libs_without_pkg_config.patch

36 lines
1.9 KiB
Diff
Raw Normal View History

--- src/src/multimedia/configure.json 2021-05-08 17:50:32.795445138 +0000
+++ src.mod/src/multimedia/configure.json 2021-05-08 17:49:30.639754395 +0000
2022-03-18 18:02:30 +01:00
@@ -76,8 +74,7 @@
"use": "gstreamer_1_0",
"sources": [
2022-03-18 18:02:30 +01:00
{ "type": "pkgConfig", "args": "gstreamer-app-1.0" },
- { "libs": "-lgstapp-1.0", "condition": "config.win32 || config.macos" },
- { "libs": "", "condition": "config.android && input.gstreamer != ''" }
+ { "libs": "-lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0" }
]
},
"gstreamer_photography_0_10": {
@@ -120,7 +121,8 @@
"label": "PulseAudio >= 0.9.10",
"test": "pulseaudio",
"sources": [
- { "type": "pkgConfig", "args": "libpulse >= 0.9.10 libpulse-mainloop-glib" }
+ { "type": "pkgConfig", "args": "libpulse >= 0.9.10 libpulse-mainloop-glib" },
+ { "libs": "-lpulse", "condition": "config.unix" }
]
},
"wmf": {
--- src/src/multimedia/configure.json 2021-05-16 13:53:50.128205372 +0000
+++ src.mod/src/multimedia/configure.json 2021-05-16 13:41:51.186432131 +0000
2022-03-18 18:02:30 +01:00
@@ -55,9 +55,7 @@
"sources": [
{ "type": "pkgConfig",
2022-03-18 18:02:30 +01:00
"args": "gstreamer-1.0 gstreamer-base-1.0 gstreamer-audio-1.0 gstreamer-video-1.0 gstreamer-pbutils-1.0 gstreamer-allocators-1.0" },
- { "libs": "-lgstreamer-1.0 -lgstbase-1.0 -lgstaudio-1.0 -lgstvideo-1.0 -lgstpbutils-1.0 -lglib-2.0 -lgobject-2.0",
- "condition": "config.win32 || config.macos" },
- { "libs": "", "condition": "config.android && input.gstreamer != ''" }
+ { "libs": "-lgstpbutils-1.0 -lgstaudio-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgsttag-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0" }
]
},
"gstreamer_app_0_10": {