The generated .pc files have hardcoded references to prefix instead of ${prefix}
Hi, after building a gstreamer 1.20 distribution for centos7, the generated build is not relocatable, because of some hardcoded path references in pkg-config files.
What i do is run pkg-config --libs gstreamer-webrtc-1.0 --cflags --define-variable=prefix=/myprefix (where myprefix corresponds to the installed location on the client machine (please correct me if this is the wrong usage)
Unfortunately this results in things like -I/usr/local/gstreamer-1.0/include/orc-0.4, which are the paths i used when building the tarball on the build machine.
In short: not all .pc files have a variable prefix resulting in non-relocatable builds
Thanks
Update: 20221104
Based on gstreamer-1.0 linux packaging with cerbero
includedir:
-
libavformat -
taglib_c -
libavfilter -
libavutil -
taglib -
libswresample -
libavcodec -
orc 0.4.31 -> 0.4.33 -
freetype2 -
pango -
pangocairo -
pangoft2 -
x264
libdir
-
dvdnav -
dvdread -
expat -
flac -
gobject-introspection-1.0 -
gobject-introspection-no-export-1.0 -
libass -
libavcodec -
libavfilter -
libavformat -
libavutil -
libcroco-0.6 -
libdca -
libdts -
libjpeg -
libmpg123 -
libpng16 -
librsvg-2.0 -
librtmp -
libswresample -
libtiff-4 -
libturbojpeg -
libunwind -
libunwind-coredump -
libunwind-generic -
libunwind-ptrace -
libunwind-setjmp -
libxml-2.0 -
ogg -
opencore-amrnb -
opencore-amrwb -
sbc -
spandsp -
speex -
taglib -
taglib_c -
theora -
theoradec -
theoraenc -
vo-aacenc -
vorbis -
vorbisenc -
vorbisfile -
x264 -
zbar