bare-ffmpeg 1.0.0-0 → 1.0.0-10

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/CMakeLists.txt CHANGED
@@ -1,25 +1,33 @@
1
1
  cmake_minimum_required(VERSION 3.25)
2
2
 
3
3
  find_package(cmake-bare REQUIRED PATHS node_modules/cmake-bare)
4
+ find_package(cmake-harden REQUIRED PATHS node_modules/cmake-harden)
4
5
  find_package(cmake-ports REQUIRED PATHS node_modules/cmake-ports)
5
6
 
6
- project(bare_ffmpeg C)
7
+ project(bare_ffmpeg C CXX)
7
8
 
8
- find_port(ffmpeg FEATURES dav1d)
9
+ fetch_package("github:holepunchto/libjstl#5b85a24")
10
+
11
+ find_port(ffmpeg FEATURES gpl dav1d svt-av1 x264 opus)
9
12
 
10
13
  add_bare_module(bare_ffmpeg)
11
14
 
15
+ harden(${bare_ffmpeg})
16
+
12
17
  target_sources(
13
18
  ${bare_ffmpeg}
14
19
  PRIVATE
15
- binding.c
20
+ binding.cc
16
21
  )
17
22
 
18
23
  target_link_libraries(
19
24
  ${bare_ffmpeg}
20
25
  PRIVATE
21
26
  avcodec
27
+ avdevice
22
28
  avformat
23
29
  avutil
30
+ swresample
24
31
  swscale
32
+ jstl
25
33
  )