opus icon indicating copy to clipboard operation
opus copied to clipboard

meson: Use pkgconfig generator

Open xclaesse opened this issue 2 years ago • 1 comments

It is much less error prone because Meson can detect dependencies automatically. As bonus Meson will also generate the opus-uninstalled.pc file.

xclaesse avatar Jun 20 '23 12:06 xclaesse

Is there an ETA on this ?

luzpaz avatar Jul 21 '23 14:07 luzpaz

It would indeed be nice if we could have this merged

diizzyy avatar Mar 10 '24 20:03 diizzyy

I did a quick test on this and the .pc file is operationally the same as before.

diff -Nu opus.pc opus.pc.286
--- opus.pc     2024-03-14 13:24:42.326119773 +0000
+++ opus.pc.286 2024-03-14 13:30:32.419416360 +0000
@@ -1,16 +1,9 @@
-# Opus codec reference implementation pkg-config file
-
 prefix=/usr
-exec_prefix=${prefix}
-libdir=${prefix}/lib
 includedir=${prefix}/include
+libdir=${prefix}/lib
 
-Name: Opus
+Name: opus
 Description: Opus IETF audio codec (floating-point build)
-URL: https://opus-codec.org/
 Version: 1.4-git-a8e4ebb
-Requires:
-Conflicts:
-Libs: -L${libdir} -lopus
-Libs.private: -lm
+Libs: -L${libdir} -lopus -lm
 Cflags: -I${includedir}/opus

heitbaum avatar Mar 14 '24 13:03 heitbaum

merged

jmvalin avatar Mar 14 '24 18:03 jmvalin