@gjsify/webrtc-native 0.64.4 → 0.64.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/meson.build +24 -6
- package/package.json +10 -10
package/meson.build
CHANGED
|
@@ -8,14 +8,32 @@ project('GjsifyWebrtc', ['c', 'vala'], version: '0.1',
|
|
|
8
8
|
|
|
9
9
|
root_dir = meson.current_source_dir()
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
host_system = host_machine.system()
|
|
12
|
+
|
|
13
|
+
# On darwin every GNOME library is resolved against the HOST PROCESS rather than
|
|
14
|
+
# recorded as an `@rpath/` dependency: a second GLib beside the one the host
|
|
15
|
+
# already loaded gives the process two GType registries, then SIGSEGV.
|
|
16
|
+
# docs/prebuilds.md § One GLib. The gstreamer packages are in the list because
|
|
17
|
+
# their own `--libs` carry `-lglib-2.0 -lgobject-2.0` — stripping only the glib
|
|
18
|
+
# pair would still let ld64 record a GLib load command.
|
|
19
|
+
host_provided = [
|
|
20
|
+
'glib-2.0',
|
|
21
|
+
'gobject-2.0',
|
|
22
|
+
'gstreamer-1.0',
|
|
23
|
+
'gstreamer-sdp-1.0',
|
|
24
|
+
'gstreamer-webrtc-1.0',
|
|
17
25
|
]
|
|
18
26
|
|
|
27
|
+
dependencies = []
|
|
28
|
+
foreach pkg : host_provided
|
|
29
|
+
dep = dependency(pkg)
|
|
30
|
+
dependencies += host_system == 'darwin' \
|
|
31
|
+
? dep.partial_dependency(compile_args: true, includes: true) \
|
|
32
|
+
: dep
|
|
33
|
+
endforeach
|
|
34
|
+
|
|
35
|
+
host_provided_link_args = host_system == 'darwin' ? ['-Wl,-undefined,dynamic_lookup'] : []
|
|
36
|
+
|
|
19
37
|
sources = files(
|
|
20
38
|
'src/vala/promise-bridge.vala',
|
|
21
39
|
'src/vala/webrtcbin-bridge.vala',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/webrtc-native",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.6",
|
|
4
4
|
"description": "Vala-based main-thread signal bridge for @gjsify/webrtc. Marshals webrtcbin signals and GstPromise callbacks from GStreamer's streaming thread onto the GLib main context so GJS can safely handle them.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/esm/index.js",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"@girs/gobject-2.0": "5.4.0",
|
|
62
62
|
"@girs/gst-1.0": "5.4.0",
|
|
63
63
|
"@girs/gstwebrtc-1.0": "5.4.0",
|
|
64
|
-
"@gjsify/utils": "^0.64.
|
|
64
|
+
"@gjsify/utils": "^0.64.6"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@gjsify/cli": "^0.64.
|
|
67
|
+
"@gjsify/cli": "^0.64.6",
|
|
68
68
|
"@types/node": "^25.9.2",
|
|
69
69
|
"typescript": "^6.0.3"
|
|
70
70
|
},
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
},
|
|
80
80
|
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/web/webrtc-native#readme",
|
|
81
81
|
"optionalDependencies": {
|
|
82
|
-
"@gjsify/webrtc-native-darwin-arm64": "0.64.
|
|
83
|
-
"@gjsify/webrtc-native-darwin-x64": "0.64.
|
|
84
|
-
"@gjsify/webrtc-native-linux-arm64": "0.64.
|
|
85
|
-
"@gjsify/webrtc-native-linux-ppc64": "0.64.
|
|
86
|
-
"@gjsify/webrtc-native-linux-riscv64": "0.64.
|
|
87
|
-
"@gjsify/webrtc-native-linux-s390x": "0.64.
|
|
88
|
-
"@gjsify/webrtc-native-linux-x64": "0.64.
|
|
82
|
+
"@gjsify/webrtc-native-darwin-arm64": "0.64.6",
|
|
83
|
+
"@gjsify/webrtc-native-darwin-x64": "0.64.6",
|
|
84
|
+
"@gjsify/webrtc-native-linux-arm64": "0.64.6",
|
|
85
|
+
"@gjsify/webrtc-native-linux-ppc64": "0.64.6",
|
|
86
|
+
"@gjsify/webrtc-native-linux-riscv64": "0.64.6",
|
|
87
|
+
"@gjsify/webrtc-native-linux-s390x": "0.64.6",
|
|
88
|
+
"@gjsify/webrtc-native-linux-x64": "0.64.6"
|
|
89
89
|
}
|
|
90
90
|
}
|