From 0e722af9b42d71cc5e0b796d6c7a8680fe7f9617 Mon Sep 17 00:00:00 2001 From: kwm Date: Fri, 18 Feb 2005 00:13:16 +0000 Subject: Fix a nasty bug in the new(TM) gstreamer framework. Run gst-register when deinstall, installing/deinstalling a gst-plugin packages. Remove half-cooked attempt to fix the bug above. Fix a whitespace nit in plist. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3668 df743ca5-7f9a-e211-a948-0013205c9059 --- multimedia/gstreamer-plugins80/Makefile.common | 7 +++---- multimedia/gstreamer-plugins80/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'multimedia/gstreamer-plugins80') diff --git a/multimedia/gstreamer-plugins80/Makefile.common b/multimedia/gstreamer-plugins80/Makefile.common index 6a56aa0b3..d5fecbf3a 100644 --- a/multimedia/gstreamer-plugins80/Makefile.common +++ b/multimedia/gstreamer-plugins80/Makefile.common @@ -420,15 +420,14 @@ LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid LIB_DEPENDS+= gstgconf-${VERSION}.${SHLIB_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins +PLIST_FILES+= '@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true' +PLIST_FILES+= '@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true' + do-build: .for dir in ${GST_PREBUILD_DIR} ${GST_PLUGIN_DIR} ${GST_POSTBUILD_DIR} @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} .endfor - @${ECHO_CMD} "@unexec ${PREFIX}/bin/gst-register-${GST_VERSION} \ - --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml" \ - >> ${TMPPLIST} - post-build: @${ECHO_CMD} ${PREFIX}/bin/gst-register-${GST_VERSION} \ diff --git a/multimedia/gstreamer-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist index a8ac681ae..96213ced8 100644 --- a/multimedia/gstreamer-plugins80/pkg-plist +++ b/multimedia/gstreamer-plugins80/pkg-plist @@ -38,7 +38,7 @@ lib/gstreamer-%%VERSION%%/libgstadder.so lib/gstreamer-%%VERSION%%/libgstalaw.so lib/gstreamer-%%VERSION%%/libgstalpha.so lib/gstreamer-%%VERSION%%/libgstalphacolor.so -lib/gstreamer-%%VERSION%%/libgstapetag.so +lib/gstreamer-%%VERSION%%/libgstapetag.so lib/gstreamer-%%VERSION%%/libgstasf.so lib/gstreamer-%%VERSION%%/libgstaudio.so lib/gstreamer-%%VERSION%%/libgstaudioconvert.so -- cgit v1.2.3