Commit graph

12 commits

Author SHA1 Message Date
Tim-Philipp Müller
fc964b2e44 pkgconfig: also add libdir to -uninstalled .pc files
This way we can find the paths to pass e.g. g-ir-scanner for
uninstalled setups.

https://bugzilla.gnome.org/show_bug.cgi?id=639039
2011-01-11 14:41:27 +00:00
Tim-Philipp Müller
05fd9d0aba pkgconfig: add girdir and typelibdir variables to .pc files
So that the -base libs can figure out the right include paths for the
gobject-introspection tools even if core got installed into a prefix
that's not the same prefix as gobject-introspection is installed in
or it's being build in an uninstalled gstreamer setup.
2010-03-30 15:56:39 +01:00
Tim-Philipp Müller
b2383c78c3 pkgconfig: add back support for builddir != srcdir case in uninstalled setup
Attempt to add back support for builddir != srcdir. Use absolute paths
instead of relative paths based on pcfiledir this time to make things
clearer - there's not really any need for uninstalled trees to be
relocatable without re-running configure.
2010-03-19 01:10:53 +00:00
Tim-Philipp Müller
1ca329b4e9 Revert "Add srcdir to includes for out-of-source builds"
I don't know how this ever worked, as it seems to put -I./..
and -I./../libs verbatim into the includes, at least with
current autotools versions.

This reverts commit 279a80ff27.
2010-03-17 14:55:27 +00:00
Tim-Philipp Müller
79d3f1a2c1 pkgconfig: don't put -DG_THREADS_MANDATORY into our pkg-config CFLAGS
If we force -DG_THREADS_MANDATORY onto apps, then g_thread_supported()
will always evaluate to TRUE, so the typical thread initialisation
boilerplate code if (!g_thread_supported()) g_thread_init(NULL); will
no longer work, and the threading system not be initialised and us
printing a warning in gst_init. This may be fine in most cases, since
late initialisation is allowed and automatically done in g_type_init()
since GLib 2.23.2, but let's be cautious and only use this define when
compiling GStreamer itself.

See #608398.
2010-01-30 12:50:09 +00:00
Sebastian Dröge
f137d188cb build: Define G_THREADS_MANDATORY everywhere
We require threads to be supported in any case and defining this
will simplify the mutex, condition variable, etc. macros from gthread
to not always check if threads are really supported.

Fixes bug #607481.
2010-01-20 09:51:16 +01:00
David Flynn
279a80ff27 Add srcdir to includes for out-of-source builds
When you use gstreamer uninstalled and build outside
the source tree, the includes need to be specified for
both the source tree and the build tree.

Signed-off-by: David Schleef <ds@schleef.org>
2009-02-23 10:54:53 -08:00
Stefan Kost
2e0bac3794 pkgconfig/: Remove -lgstcontrol-0.10 which never worked anyway as the lib is called gstcontroller-0.10.
Original commit message from CVS:
* pkgconfig/gstreamer-uninstalled.pc.in:
* pkgconfig/gstreamer.pc.in:
Remove -lgstcontrol-0.10 which never worked anyway as the lib is
called gstcontroller-0.10.
2008-08-12 18:48:42 +00:00
Thomas Vander Stichele
9934f055e9 remove GST_PKG_CFLAGS
Original commit message from CVS:
remove GST_PKG_CFLAGS
2005-10-16 08:59:34 +00:00
Thomas Vander Stichele
01ca7865c5 clean up pc files
Original commit message from CVS:
clean up pc files
2005-10-15 13:24:54 +00:00
Thomas Vander Stichele
96a4f16dc3 add pluginsdir to pkgconfig files
Original commit message from CVS:
add pluginsdir to pkgconfig files
2005-08-24 16:46:10 +00:00
Ronald S. Bultje
d2499c35b3 Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
Original commit message from CVS:
Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
2003-04-07 21:28:57 +00:00