diff --git a/Makefile.am b/Makefile.am index 45b60f973a..5450085877 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 77fad3b94d..0106901f07 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 0000000000..b3060d3149 --- /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 0000000000..e52267175a --- /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}