@pproenca/webcodecs-ffmpeg-linux-arm64 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. package/link-flags.js +9 -0
  2. package/package.json +4 -2
package/link-flags.js ADDED
@@ -0,0 +1,9 @@
1
+ // link-flags.js - Generated from pkg-config
2
+ const path = require('path');
3
+
4
+ const libDir = path.join(__dirname, 'lib');
5
+
6
+ module.exports = {
7
+ libDir,
8
+ flags: `-L${libDir} -lm -lm -lm -lm -lm -lm -lm -lm -lavdevice -lavfilter -lm -lm -lm -lm -lm -lm -lm -lavformat -lm -lm -lm -lm -lavcodec -lvpx -ldav1d -ldl -laom -lmp3lame -lopus -lSvtAv1Enc -lpthread -lvorbisenc -lvorbis -logg -lm -lswresample -lm -lswscale -lavutil -pthread -lm -latomic -lpthread -lm -lz -lbz2 -ldl -lstdc++`
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pproenca/webcodecs-ffmpeg-linux-arm64",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Prebuilt FFmpeg with LGPL-safe codecs (VP8/9, AV1, Opus, Vorbis, MP3) for linux-arm64",
5
5
  "author": "Pedro Proenca",
6
6
  "homepage": "https://github.com/pproenca/webcodecs-ffmpeg",
@@ -16,12 +16,14 @@
16
16
  },
17
17
  "files": [
18
18
  "lib",
19
- "versions.json"
19
+ "versions.json",
20
+ "link-flags.js"
20
21
  ],
21
22
  "type": "commonjs",
22
23
  "exports": {
23
24
  "./lib": "./lib/index.js",
24
25
  "./pkgconfig": "./lib/pkgconfig/index.js",
26
+ "./link-flags": "./link-flags.js",
25
27
  "./package": "./package.json",
26
28
  "./versions": "./versions.json"
27
29
  },