Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opus: add custom pc file #1283

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions gvsbuild/patches/opus/pc-files/opus.pc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Opus codec reference implementation pkg-config file

prefix=C:/gtk-build/gtk/x64/release
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: Opus
Description: Opus IETF audio codec (floating-point build)
URL: https://opus-codec.org/
Version: 1.5.1
Requires:
Conflicts:
Libs: -L${libdir} -lopus
Libs.private:
Cflags: -I${includedir}/opus
3 changes: 3 additions & 0 deletions gvsbuild/projects/opus.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ def build(self):
self, use_ninja=True, cmake_params="-DOPUS_BUILD_TESTING=OFF"
)
self.install(r"COPYING share\doc\opus")

# FIXME: remove once we switch back to meson
self.install_pc_files()
Loading