Skip to content

Commit 8ccf8ad

Browse files
committed
ffmpegthumbnailer: fix compilation with macOS
Signed-off-by: Rosen Penev <[email protected]>
1 parent 3663092 commit 8ccf8ad

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

releases.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,6 +1999,7 @@
19991999
"libffmpegthumbnailer"
20002000
],
20012001
"versions": [
2002+
"2.2.3-2",
20022003
"2.2.3-1",
20032004
"2.2.2-4",
20042005
"2.2.2-3",

subprojects/libffmpegthumbnailer.wrap

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ source_hash = 8c9b9057c6cc8bce9d11701af224c8139c940f734c439a595525e073b09d19b8
66
patch_directory = libffmpegthumbnailer
77

88
[provide]
9-
libffmpegthumbnailer = libffmpegthumbnailer_dep
10-
9+
dependency_names = libffmpegthumbnailer

subprojects/packagefiles/libffmpegthumbnailer/meson.build

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
project(
22
'ffmpegthumbnailer',
33
'cpp',
4+
license: 'LGPL-2.1-or-later',
45
version: '2.2.3',
5-
default_options: ['warning_level=0', 'cpp_std=c++11'],
66
meson_version: '>=0.54.1',
77
)
88

@@ -81,6 +81,7 @@ endif
8181
libffmpegthumbnailer = library(
8282
'ffmpegthumbnailer',
8383
compfiles,
84+
override_options: 'cpp_std=c++11',
8485
dependencies: ffmpegthumbnailer_deps,
8586
install: true,
8687
version: '4.15.1',
@@ -103,10 +104,11 @@ install_headers(
103104
subdir: 'libffmpegthumbnailer',
104105
)
105106

106-
depinc = include_directories('.')
107107
libffmpegthumbnailer_dep = declare_dependency(
108-
include_directories: depinc,
108+
include_directories: '.',
109109
link_with: libffmpegthumbnailer,
110110
)
111111

112+
meson.override_dependency('libffmpegthumbnailer', libffmpegthumbnailer_dep)
113+
112114
subdir('test')

subprojects/packagefiles/libffmpegthumbnailer/test/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ testlib = static_library(
1515
dependencies: [ffmpegthumbnailer_deps, libffmpegthumbnailer_dep],
1616
)
1717

18-
tdepinc = [include_directories('.'), depinc]
1918
testdep = declare_dependency(
20-
include_directories: tdepinc,
19+
include_directories: ['.', depinc],
2120
link_with: testlib,
2221
)
2322

@@ -28,6 +27,7 @@ ffmpegthumbnailertest = executable(
2827
'videothumbnailertest.cpp',
2928
'videothumbnailerctest.cpp',
3029
cpp_args: '-DTEST_DATADIR="@0@"'.format(meson.current_source_dir()),
30+
override_options: 'cpp_std=c++11',
3131
dependencies: [catch_dep, testdep],
3232
)
3333

0 commit comments

Comments
 (0)