- Fix plist [1]

- Add post-patch line to speed up configure for non-gstreamer-plugins-*

Pointed out by:	krion via pointyhat [1]
This commit is contained in:
Michael Johnson 2005-03-17 07:03:20 +00:00
parent 12c6f69fa5
commit 8cc150076a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131472
4 changed files with 18 additions and 8 deletions

View File

@ -137,6 +137,11 @@ post-patch:
.if ${GST_PLUGIN}!="base"
@${REINPLACE_CMD} -E -e 's|ac_config_files=\"*\"|ac_config_files="$$ac_config_files Makefile ${GST_PLUGIN_MAKEFILES}" #|' \
${WRKSRC}/configure
.else
.for f in ${GST_ALL_PLUGINS}
@${REINPLACE_CMD} -e 's|ext/${f}/Makefile||g' \
${WRKSRC}/configure
.endfor
.endif
post-build:
@ -153,7 +158,7 @@ post-install:
. endfor
.endif
# register plugins
-@${X11BASE}/bin/gst-register-${GST_VERSION} \
--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null
-@${X11BASE}/bin/gst-register-${VERSION} \
--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null
.include <bsd.port.post.mk>

View File

@ -186,5 +186,5 @@ share/locale/vi/LC_MESSAGES/gst-plugins-%%VERSION%%.mo
@dirrm include/gstreamer-%%VERSION%%/gst/audio
@unexec rmdir %D/include/gstreamer-%%VERSION%%/gst 2>/dev/null || true
@unexec rmdir %D/include/gstreamer-%%VERSION%% 2>/dev/null || true
@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true
@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true
@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true

View File

@ -137,6 +137,11 @@ post-patch:
.if ${GST_PLUGIN}!="base"
@${REINPLACE_CMD} -E -e 's|ac_config_files=\"*\"|ac_config_files="$$ac_config_files Makefile ${GST_PLUGIN_MAKEFILES}" #|' \
${WRKSRC}/configure
.else
.for f in ${GST_ALL_PLUGINS}
@${REINPLACE_CMD} -e 's|ext/${f}/Makefile||g' \
${WRKSRC}/configure
.endfor
.endif
post-build:
@ -153,7 +158,7 @@ post-install:
. endfor
.endif
# register plugins
-@${X11BASE}/bin/gst-register-${GST_VERSION} \
--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null
-@${X11BASE}/bin/gst-register-${VERSION} \
--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null
.include <bsd.port.post.mk>

View File

@ -186,5 +186,5 @@ share/locale/vi/LC_MESSAGES/gst-plugins-%%VERSION%%.mo
@dirrm include/gstreamer-%%VERSION%%/gst/audio
@unexec rmdir %D/include/gstreamer-%%VERSION%%/gst 2>/dev/null || true
@unexec rmdir %D/include/gstreamer-%%VERSION%% 2>/dev/null || true
@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true
@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-${VERSION}/registry.xml 2>/dev/null || true
@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true
@unexec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true