Skip to content

Commit

Permalink
meson: Generate pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu committed Apr 4, 2024
1 parent d59b689 commit 0041482
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ install_headers(api_headers,
subdir: 'bestsource',
)

pkg = import('pkgconfig')
pkg.generate(libbestsource,
description: 'A super great audio/video source and FFmpeg wrapper',
filebase: 'bestsource',
name: 'bestsource',
subdirs: 'bestsource',
)

bestsource_dep = declare_dependency(
include_directories: include_directories('src'),
link_with: libbestsource,
Expand Down

0 comments on commit 0041482

Please sign in to comment.