[Bug 791538] New: meson: Need to generate a .pc file for each plugin for static compilation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 12 19:27:32 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=791538

            Bug ID: 791538
           Summary: meson: Need to generate a .pc file for each plugin for
                    static compilation
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-build
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: olivier.crete at ocrete.ca
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When building against a static plugin, you need to have explicit dependencies
that it uses as those are not stored in the .a file. With libtool, those are
store in a ".la" files. Meson does not use .la files adn prefers to use
pkgconfig files for this, so it need to provide the same information in the
Libs.private/Requires.private sections.

Therefore, we need to generate a .pc file for every single plugin in GStreamer
to know what external libraries it should be compiled against.


Afaik, this should be a meson feature, so I also filed it upstream:
https://github.com/mesonbuild/meson/issues/2772

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list