File tree Expand file tree Collapse file tree 4 files changed +15
-17
lines changed Expand file tree Collapse file tree 4 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 5
5
linux-package :
6
6
runs-on : ubuntu-24.04
7
7
container :
8
- image : node:16.20.2-bookworm
8
+ image : ubuntu:24.04
9
9
steps :
10
10
- uses : actions/checkout@v2
11
11
with :
12
12
lfs : true
13
13
14
+ - name : check Linux dependencies
15
+ shell : bash
16
+ run : |
17
+ apt update
18
+ DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y libxcb1 unzip nodejs curl nodejs npm
19
+ DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y python3-setuptools build-essential
20
+
14
21
- name : npm install
15
22
run : npm install
16
23
env :
17
24
PREBUILD : true
18
25
19
-
20
26
- name : check Linux dependencies
21
27
run : node ./install_ffmpeg.js
22
28
23
29
- name : prebuild for Linux (x64)
24
30
run : npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
25
31
26
- - name : prebuild for Linux (arm64)
27
- run : npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
32
+ # - name: prebuild for Linux (arm64)
33
+ # run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
28
34
29
35
package :
30
36
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 34
34
],
35
35
36
36
"link_settings" : {
37
- "library_dirs" : [
38
- "<(module_root_dir)/ffmpeg/ffmpeg-ffprobe-shared-linux-<(target_arch_override).<(ffmpeg_version)/"
39
- ],
40
37
"libraries" : [
41
- "-lavcodec" ,
42
- "-lavdevice" ,
43
- "-lavfilter" ,
44
- "-lavformat" ,
45
- "-lavutil" ,
46
- "-lpostproc" ,
47
- "-lswresample" ,
48
- "-lswscale" ,
49
- "-lzimg"
38
+ "-L<(module_root_dir)/ffmpeg/ffmpeg-ffprobe-shared-linux-<(target_arch_override).<(ffmpeg_version)/"
50
39
]
51
40
},
52
41
"copies" : [
Original file line number Diff line number Diff line change @@ -176,7 +176,10 @@ async function linux() {
176
176
} ) ;
177
177
178
178
await exec ( `unzip ffmpeg/${ ffmpegFilename } .zip -d ffmpeg/${ ffmpegFilename } /` ) ;
179
+
180
+ console . log ( 'Adding path "$PWD/ffmpeg/${ffmpegFilename}/" to ldconfig path' ) ;
179
181
await exec ( `echo "$PWD/ffmpeg/${ ffmpegFilename } /" | tee -a /etc/ld.so.conf.d/ffmpeg.conf` )
182
+ console . log ( 'Running LDCONFIG' ) ;
180
183
await exec ( `ldconfig` )
181
184
} ) ;
182
185
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " beamcoder-prebuild" ,
3
- "version" : " 0.7.1-rc.6 " ,
3
+ "version" : " 0.7.1-rc.7 " ,
4
4
"description" : " Node.js native bindings to FFmpeg." ,
5
5
"main" : " index.js" ,
6
6
"types" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments