From b93cb588fd14c1f033eab3f8d109eacac3b67ee5 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 29 Oct 2002 16:43:56 +0000 Subject: ok, redo from start Original commit message from CVS: ok, redo from start --- Makefile.am | 3 ++- gst-plugins.spec.in | 8 +++++--- gstreamer-play-uninstalled.pc.in | 13 +++++++++++++ gstreamer-play.pc.in | 12 ++++++++++++ 4 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 gstreamer-play-uninstalled.pc.in create mode 100644 gstreamer-play.pc.in diff --git a/Makefile.am b/Makefile.am index 45b60f973..545008587 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,7 @@ EXT_DIR= endif pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = gstreamer-libs.pc +pkgconfig_DATA = gstreamer-libs.pc gstreamer-play.pc aclocaldir = $(datadir)/aclocal aclocal_DATA = gst-element-check.m4 @@ -22,6 +22,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 \ AUTHORS COPYING README RELEASE \ ChangeLog autogen.sh common m4 diff --git a/gst-plugins.spec.in b/gst-plugins.spec.in index 77fad3b94..0106901f0 100644 --- a/gst-plugins.spec.in +++ b/gst-plugins.spec.in @@ -1471,9 +1471,11 @@ This package contains a basic audio and video playback library. %{_sysconfdir}/gconf/schemas/gstreamer.schemas %{_libdir}/libgstplay-%{version}.so.* -%post -n gstreamer-GConf -export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` -gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer.schemas > /dev/null +%post -n gstreamer-play +/sbin/ldconfig + +%postun -n gstreamer-play +/sbin/ldconfig # %changelog diff --git a/gstreamer-play-uninstalled.pc.in b/gstreamer-play-uninstalled.pc.in new file mode 100644 index 000000000..b3060d314 --- /dev/null +++ b/gstreamer-play-uninstalled.pc.in @@ -0,0 +1,13 @@ +# the standard variables don't make sense for an uninstalled copy +prefix= +exec_prefix= +libdir=${pcfiledir} +includedir=${pcfiledir} + +Name: GStreamer Play Library, uninstalled +Description: Streaming-media framework, play libraries, not installed +Requires: gstreamer >= @GSTREAMER_REQ@ +Version: @VERSION@ + +Libs: ${pcfiledir}/libs/gst/play/libgstplay.la -lgstcontrol +Cflags: -I${pcfiledir}/libs diff --git a/gstreamer-play.pc.in b/gstreamer-play.pc.in new file mode 100644 index 000000000..e52267175 --- /dev/null +++ b/gstreamer-play.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/@PACKAGE@-@VERSION@ + +Name: GStreamer Play Library +Description: Streaming-media framework, play libraries +Requires: gstreamer >= @GSTREAMER_REQ@ +Version: @VERSION@ + +Libs: -L${libdir} -lgstplay -lgstcontrol +Cflags: -I${includedir} -- cgit v1.2.1