termux-packages/x11-packages/qt5-qtmultimedia/detect_libs_without_pkg_con...

35 lines
1.7 KiB
Diff

--- 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
@@ -71,7 +71,8 @@
"test": "gstreamer_appsrc",
"use": "gstreamer_1_0",
"sources": [
- { "type": "pkgConfig", "args": "gstreamer-app-1.0" }
+ { "type": "pkgConfig", "args": "gstreamer-app-1.0" },
+ { "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
@@ -53,7 +53,8 @@
"test": "gstreamer",
"sources": [
{ "type": "pkgConfig",
- "args": "gstreamer-1.0 gstreamer-base-1.0 gstreamer-audio-1.0 gstreamer-video-1.0 gstreamer-pbutils-1.0" }
+ "args": "gstreamer-1.0 gstreamer-base-1.0 gstreamer-audio-1.0 gstreamer-video-1.0 gstreamer-pbutils-1.0" },
+ { "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": {