Skip to content

build: declare dependency to use it as subproject - #1451

Open
ylatuya wants to merge 1 commit into
Netflix:masterfrom
fluendo:vmaf_dep
Open

build: declare dependency to use it as subproject#1451
ylatuya wants to merge 1 commit into
Netflix:masterfrom
fluendo:vmaf_dep

Conversation

@ylatuya

@ylatuya ylatuya commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

As part of the work we are doing to add a new vmaf element in GStreamer, we are also adding vmaf as a subproject of GStreamer. In #1442 we fixed a linker issue with symbol names when building as a subproject.

In this PR we declare the libvmaf_dep dependency following https://mesonbuild.com/Subprojects.html#naming-convention-for-dependency-variables so that it can be used from other projects like:

libvmaf_dep = dependency('libvmaf', fallback : ['libvmaf', 'libvmaf_dep'])

One remaining issue is the lack of a meson.build in the repository root directory, for which I will open a new PR.

@ylatuya
ylatuya force-pushed the vmaf_dep branch 3 times, most recently from c93a3c6 to 3446ff8 Compare December 2, 2025 15:02
Comment thread libvmaf/src/meson.build Outdated
Declare the libvmaf_dep dependency so that libvmaf
can be used as a subproject.
@ylatuya

ylatuya commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Any chance of getting this merged? It's not possible to build libvmaf as a subproject without this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants