Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 10:09:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352102 - in head/multimedia: gstreamer gstreamer-plugins
Message-ID:  <201404251009.s3PA9lvL061691@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Apr 25 10:09:46 2014
New Revision: 352102
URL: http://svnweb.freebsd.org/changeset/ports/352102
QAT: https://qat.redports.org/buildarchive/r352102/

Log:
  Switch to USES=libtool:keepla
  strip binaries

Modified:
  head/multimedia/gstreamer-plugins/Makefile
  head/multimedia/gstreamer-plugins/pkg-plist
  head/multimedia/gstreamer/Makefile
  head/multimedia/gstreamer/pkg-plist

Modified: head/multimedia/gstreamer-plugins/Makefile
==============================================================================
--- head/multimedia/gstreamer-plugins/Makefile	Fri Apr 25 09:53:21 2014	(r352101)
+++ head/multimedia/gstreamer-plugins/Makefile	Fri Apr 25 10:09:46 2014	(r352102)
@@ -6,7 +6,7 @@ PORTNAME=	gstreamer
 PORTVERSION?=	${BASE_PORTVERSION}
 # When chasing a shared library for a plug-in bump the PORTREVISION in the 
 # plug-in port instead, like ${category}/gstreamer-plugin-${PLUGIN}.
-PORTREVISION?=	3
+PORTREVISION?=	4
 PORTEPOCH=	3
 CATEGORIES?=	multimedia audio
 MASTER_SITES=	http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \
@@ -43,11 +43,11 @@ DIST?=		good
 SHLIB_VERSION=	1
 VERSION=	${GST_VERSION}
 WANT_GSTREAMER=	yes
-USE_BZIP2=	yes
-USE_GNOME+=	ltverhack ltasneededhack introspection:build
-USES=		gettext gmake pathfix pkgconfig shebangfix
-USE_AUTOTOOLS=	libtool
+USE_GNOME+=	introspection:build
+USES=		gettext gmake libtool:keepla pathfix pkgconfig shebangfix tar:bzip2
+GNU_CONFIGURE=	yes
 GST_PLUGIN?=	base
+INSTALL_TARGET=	install-strip
 
 CONFIGURE_ARGS=	--disable-option-checking
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -157,11 +157,6 @@ post-patch:
 		s|DEFAULT_AUDIOSRC="alsasrc"|DEFAULT_AUDIOSRC="${DEFAULT_AUDIOSRC}"|' \
         	-e 's|-Wmissing-include-dirs||g' \
 		${WRKSRC}/configure
-.if ${GST_PLUGIN} == "flite"
-# Hack to get all the libraries linked to the flite plugin so it is useable.
-	-@${REINPLACE_CMD} -e 's|-Wl,--as-needed||g' \
-		${WRKSRC}/../gnome-libtool
-.endif
 
 # workaround a crash in clang 3.3 crash llvm bug # 15840
 .if ((${OSVERSION} >= 901504 && ${OSVERSION} < 902502) || \
@@ -169,10 +164,4 @@ post-patch:
 USE_GCC=	any
 .endif
 
-post-install:
-.if ${GST_PLUGIN}==base
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst*.so.0
-.endif
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-0.10/lib*.so
-
 .include <bsd.port.post.mk>

Modified: head/multimedia/gstreamer-plugins/pkg-plist
==============================================================================
--- head/multimedia/gstreamer-plugins/pkg-plist	Fri Apr 25 09:53:21 2014	(r352101)
+++ head/multimedia/gstreamer-plugins/pkg-plist	Fri Apr 25 10:09:46 2014	(r352102)
@@ -137,54 +137,67 @@ lib/gstreamer-%%VERSION%%/libgstxvimages
 lib/libgstapp-%%VERSION%%.la
 lib/libgstapp-%%VERSION%%.so
 lib/libgstapp-%%VERSION%%.so.0
+lib/libgstapp-%%VERSION%%.so.0.25.0
 lib/libgstaudio-%%VERSION%%.a
 lib/libgstaudio-%%VERSION%%.la
 lib/libgstaudio-%%VERSION%%.so
 lib/libgstaudio-%%VERSION%%.so.0
+lib/libgstaudio-%%VERSION%%.so.0.25.0
 lib/libgstcdda-%%VERSION%%.a
 lib/libgstcdda-%%VERSION%%.la
 lib/libgstcdda-%%VERSION%%.so
 lib/libgstcdda-%%VERSION%%.so.0
+lib/libgstcdda-%%VERSION%%.so.0.25.0
 lib/libgstfft-%%VERSION%%.a
 lib/libgstfft-%%VERSION%%.la
 lib/libgstfft-%%VERSION%%.so
 lib/libgstfft-%%VERSION%%.so.0
+lib/libgstfft-%%VERSION%%.so.0.25.0
 lib/libgstinterfaces-%%VERSION%%.a
 lib/libgstinterfaces-%%VERSION%%.la
 lib/libgstinterfaces-%%VERSION%%.so
 lib/libgstinterfaces-%%VERSION%%.so.0
+lib/libgstinterfaces-%%VERSION%%.so.0.25.0
 lib/libgstnetbuffer-%%VERSION%%.a
 lib/libgstnetbuffer-%%VERSION%%.la
 lib/libgstnetbuffer-%%VERSION%%.so
 lib/libgstnetbuffer-%%VERSION%%.so.0
+lib/libgstnetbuffer-%%VERSION%%.so.0.25.0
 lib/libgstpbutils-%%VERSION%%.a
 lib/libgstpbutils-%%VERSION%%.la
 lib/libgstpbutils-%%VERSION%%.so
 lib/libgstpbutils-%%VERSION%%.so.0
+lib/libgstpbutils-%%VERSION%%.so.0.25.0
 lib/libgstriff-%%VERSION%%.a
 lib/libgstriff-%%VERSION%%.la
 lib/libgstriff-%%VERSION%%.so
 lib/libgstriff-%%VERSION%%.so.0
+lib/libgstriff-%%VERSION%%.so.0.25.0
 lib/libgstrtp-%%VERSION%%.a
 lib/libgstrtp-%%VERSION%%.la
 lib/libgstrtp-%%VERSION%%.so
 lib/libgstrtp-%%VERSION%%.so.0
+lib/libgstrtp-%%VERSION%%.so.0.25.0
 lib/libgstrtsp-%%VERSION%%.a
 lib/libgstrtsp-%%VERSION%%.la
 lib/libgstrtsp-%%VERSION%%.so
 lib/libgstrtsp-%%VERSION%%.so.0
+lib/libgstrtsp-%%VERSION%%.so.0.25.0
 lib/libgstsdp-%%VERSION%%.a
 lib/libgstsdp-%%VERSION%%.la
 lib/libgstsdp-%%VERSION%%.so
 lib/libgstsdp-%%VERSION%%.so.0
+lib/libgstsdp-%%VERSION%%.so.0.25.0
 lib/libgsttag-%%VERSION%%.a
 lib/libgsttag-%%VERSION%%.la
 lib/libgsttag-%%VERSION%%.so
 lib/libgsttag-%%VERSION%%.so.0
+lib/libgsttag-%%VERSION%%.so.0.25.0
 lib/libgstvideo-%%VERSION%%.a
 lib/libgstvideo-%%VERSION%%.la
 lib/libgstvideo-%%VERSION%%.so
 lib/libgstvideo-%%VERSION%%.so.0
+lib/libgstvideo-%%VERSION%%.so.0.25.0
 libdata/pkgconfig/gstreamer-app-%%VERSION%%.pc
 libdata/pkgconfig/gstreamer-audio-%%VERSION%%.pc
 libdata/pkgconfig/gstreamer-cdda-%%VERSION%%.pc

Modified: head/multimedia/gstreamer/Makefile
==============================================================================
--- head/multimedia/gstreamer/Makefile	Fri Apr 25 09:53:21 2014	(r352101)
+++ head/multimedia/gstreamer/Makefile	Fri Apr 25 10:09:46 2014	(r352102)
@@ -4,7 +4,7 @@
 
 PORTNAME=	gstreamer
 PORTVERSION=	0.10.36
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://gstreamer.freedesktop.org/src/gstreamer/
 
@@ -15,10 +15,9 @@ LICENSE=	LGPL20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 CFLAGS:=	${CFLAGS} -O2 -Wno-format
-USES=		bison gettext gmake pathfix pkgconfig
-USE_BZIP2=	yes
-USE_GNOME=	glib20 introspection libxml2 ltverhack ltasneededhack
-USE_AUTOTOOLS=	libtool
+USES=		bison gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
+USE_GNOME=	glib20 introspection libxml2
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-tests \
 		--disable-examples \
 		--disable-failing-tests \
@@ -28,6 +27,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ENV=	ac_cv_func_register_printf_function="no"
 PLIST_SUB=	VERSION="${GST_VERSION}"
 USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
 GST_VERSION=	0.10
 
 OPTIONS_DEFINE=	LIBCHECK
@@ -58,8 +58,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
 		${WRKSRC}/configure
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst*.so*
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-0.10/libgst*.so
-
 .include <bsd.port.post.mk>

Modified: head/multimedia/gstreamer/pkg-plist
==============================================================================
--- head/multimedia/gstreamer/pkg-plist	Fri Apr 25 09:53:21 2014	(r352101)
+++ head/multimedia/gstreamer/pkg-plist	Fri Apr 25 10:09:46 2014	(r352102)
@@ -108,26 +108,32 @@ lib/libgstbase-%%VERSION%%.a
 lib/libgstbase-%%VERSION%%.la
 lib/libgstbase-%%VERSION%%.so
 lib/libgstbase-%%VERSION%%.so.0
+lib/libgstbase-%%VERSION%%.so.0.30.0
 %%CHECK%%lib/libgstcheck-%%VERSION%%.a
 %%CHECK%%lib/libgstcheck-%%VERSION%%.la
 %%CHECK%%lib/libgstcheck-%%VERSION%%.so
 %%CHECK%%lib/libgstcheck-%%VERSION%%.so.0
+%%CHECK%%lib/libgstcheck-%%VERSION%%.so.0.30.0
 lib/libgstcontroller-%%VERSION%%.a
 lib/libgstcontroller-%%VERSION%%.la
 lib/libgstcontroller-%%VERSION%%.so
 lib/libgstcontroller-%%VERSION%%.so.0
+lib/libgstcontroller-%%VERSION%%.so.0.30.0
 lib/libgstdataprotocol-%%VERSION%%.a
 lib/libgstdataprotocol-%%VERSION%%.la
 lib/libgstdataprotocol-%%VERSION%%.so
 lib/libgstdataprotocol-%%VERSION%%.so.0
+lib/libgstdataprotocol-%%VERSION%%.so.0.30.0
 lib/libgstnet-%%VERSION%%.a
 lib/libgstnet-%%VERSION%%.la
 lib/libgstnet-%%VERSION%%.so
 lib/libgstnet-%%VERSION%%.so.0
+lib/libgstnet-%%VERSION%%.so.0.30.0
 lib/libgstreamer-%%VERSION%%.a
 lib/libgstreamer-%%VERSION%%.la
 lib/libgstreamer-%%VERSION%%.so
 lib/libgstreamer-%%VERSION%%.so.0
+lib/libgstreamer-%%VERSION%%.so.0.30.0
 libdata/pkgconfig/gstreamer-%%VERSION%%.pc
 libdata/pkgconfig/gstreamer-base-%%VERSION%%.pc
 %%CHECK%%libdata/pkgconfig/gstreamer-check-%%VERSION%%.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404251009.s3PA9lvL061691>