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
commit45dde001e4d0752bfbb754dbc9cda0fdd6cd4821 (patch)
treeec8a7d38441845375a13304430af905604aed618
parent37d7c4307762aceb977c6577c0151dfc97ab8f96 (diff)
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}