summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-10-29 16:43:56 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-10-29 16:43:56 +0000
commitb93cb588fd14c1f033eab3f8d109eacac3b67ee5 (patch)
treed401ffe7aa9c4d37a16e68d06eb7b81c0ec56c7a
parentdccdb477f1129df55c6d72ac7a12502babf576e3 (diff)
downloadgstreamer-plugins-bad-b93cb588fd14c1f033eab3f8d109eacac3b67ee5.tar.gz
ok, redo from start
Original commit message from CVS: ok, redo from start
-rw-r--r--Makefile.am3
-rw-r--r--gst-plugins.spec.in8
-rw-r--r--gstreamer-play-uninstalled.pc.in13
-rw-r--r--gstreamer-play.pc.in12
4 files changed, 32 insertions, 4 deletions
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}