summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am42
-rw-r--r--configure.ac2
-rw-r--r--gst-plugins.spec.in8
3 files changed, 42 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index 6c5ae33e..b2903b26 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,14 @@ else
GCONF_DIR=
endif
+if USE_GCONF
+GCONF_PC=gstreamer-gconf-@GST_MAJORMINOR@.pc
+GCONF_PC_UNINSTALLED=gstreamer-gconf-@GST_MAJORMINOR@-uninstalled.pc
+else
+GCONF_PC=
+GCONF_PC_UNINSTALLED=
+endif
+
if BUILD_EXTERNAL
EXT_DIR=ext
else
@@ -16,21 +24,36 @@ else
EXAMPLES_DIR=
endif
-all-local: gstreamer-libs-@GST_MAJORMINOR@.pc gstreamer-play-@GST_MAJORMINOR@.pc gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc gst-element-check-@GST_MAJORMINOR@.m4
+### all of the standard pc files we need to generate
+pcfiles = \
+ gstreamer-libs-@GST_MAJORMINOR@.pc \
+ gstreamer-play-@GST_MAJORMINOR@.pc
+pcfiles_uninstalled = \
+ gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \
+ gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc
+
+all-local: $(pcfiles) $(pcfiles_uninstalled) \
+ $(GCONF_PC) \
+ $(GCONF_PC_UNINSTALLED) \
+ gst-element-check-@GST_MAJORMINOR@.m4
+
+### how to generate pc files
+$(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc
+ cp $< $@
+$(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
+ cp $< $@
+
+gstreamer-gconf-@GST_MAJORMINOR@.pc: $(srcdir)/gst-libs/gst/gconf/gstreamer-gconf.pc
+ cp $< $@
+gstreamer-gconf-@GST_MAJORMINOR@-uninstalled.pc: $(srcdir)/gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc
+ cp $< $@
-gstreamer-libs-@GST_MAJORMINOR@.pc: gstreamer-libs.pc gstreamer-libs.pc.in
- cp gstreamer-libs.pc gstreamer-libs-@GST_MAJORMINOR@.pc
-gstreamer-play-@GST_MAJORMINOR@.pc: gstreamer-play.pc gstreamer-play.pc.in
- cp gstreamer-play.pc gstreamer-play-@GST_MAJORMINOR@.pc
-gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc: gstreamer-libs-uninstalled.pc gstreamer-libs-uninstalled.pc.in
- cp gstreamer-libs-uninstalled.pc gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc
-gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc: gstreamer-play-uninstalled.pc gstreamer-play-uninstalled.pc.in
- cp gstreamer-play-uninstalled.pc gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc
gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
+ $(GCONF_PC) \
gstreamer-libs-@GST_MAJORMINOR@.pc \
gstreamer-play-@GST_MAJORMINOR@.pc
@@ -44,6 +67,7 @@ DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite
EXTRA_DIST=gst-plugins.spec depcomp gst-element-check.m4 \
gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in \
+ gstreamer-gconf.pc.in gstreamer-gconf.pc-uninstalled.in \
AUTHORS COPYING README RELEASE REQUIREMENTS \
ChangeLog autogen.sh common m4
diff --git a/configure.ac b/configure.ac
index 899b99c2..7b9798b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1117,6 +1117,8 @@ gst-libs/gst/Makefile
gst-libs/gst/audio/Makefile
gst-libs/gst/floatcast/Makefile
gst-libs/gst/gconf/Makefile
+gst-libs/gst/gconf/gstreamer-gconf.pc
+gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc
gst-libs/gst/idct/Makefile
gst-libs/gst/media-info/Makefile
gst-libs/gst/play/Makefile
diff --git a/gst-plugins.spec.in b/gst-plugins.spec.in
index 093acba0..3e0a988e 100644
--- a/gst-plugins.spec.in
+++ b/gst-plugins.spec.in
@@ -116,13 +116,14 @@ Summary: GStreamer Plugin Library Headers.
Group: Development/Libraries
Requires: gstreamer-plugins = %{version}
Provides: gstreamer-play-devel = %{version}
+Provides: gstreamer-gconf-devel = %{version}
%description -n gstreamer-plugins-devel
GStreamer support libraries header files.
%files -n gstreamer-plugins-devel
%defattr(-, root, root)
-%{_includedir}/gstreamer-%{majorminor}/gst/gconf/gconf.h
+@USE_GCONF_TRUE@%{_includedir}/gstreamer-%{majorminor}/gst/gconf/gconf.h
%{_includedir}/gstreamer-%{majorminor}/gst/play/play.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
%{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
@@ -133,6 +134,7 @@ GStreamer support libraries header files.
%{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
%{_libdir}/pkgconfig/gstreamer-libs-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-play-%{majorminor}.pc
+@USE_GCONF_TRUE@%{_libdir}/pkgconfig/gstreamer-gconf-%{majorminor}.pc
@USE_GCONF_TRUE@%{_libdir}/libgstgconf-%{majorminor}.so
%{_libdir}/libgstplay-%{majorminor}.so
@@ -1570,6 +1572,10 @@ This package contains a basic audio and video playback library.
/sbin/ldconfig
%changelog
+* Mon Jan 27 2003 Thomas Vander Stichele <thomas at apestaart dot org>
+- added gconf-devel virtual provide in gstreamer-plugins-devel, as well
+ as .pc files
+
* Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
- various fixes
- make video output packages provide gstreamer-videosink