Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2014 18:10:37 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366919 - in head/audio: libcanberra libcanberra-gtk3
Message-ID:  <201409011810.s81IAbVP072402@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Sep  1 18:10:36 2014
New Revision: 366919
URL: http://svnweb.freebsd.org/changeset/ports/366919
QAT: https://qat.redports.org/buildarchive/r366919/

Log:
  - Convert to USES=libtool and USES=pathfix
  - Add INSTALL_TARGET=install-strip

Modified:
  head/audio/libcanberra-gtk3/Makefile
  head/audio/libcanberra-gtk3/pkg-plist
  head/audio/libcanberra/Makefile
  head/audio/libcanberra/pkg-plist

Modified: head/audio/libcanberra-gtk3/Makefile
==============================================================================
--- head/audio/libcanberra-gtk3/Makefile	Mon Sep  1 18:09:41 2014	(r366918)
+++ head/audio/libcanberra-gtk3/Makefile	Mon Sep  1 18:10:36 2014	(r366919)
@@ -2,7 +2,6 @@
 # $FreeBSD$
 #   $MCom: ports/audio/libcanberra-gtk3/Makefile,v 1.8 2011/03/16 10:24:48 kwm Exp $
 
-PORTREVISION=	1
 CATEGORIES=	audio devel
 PKGNAMESUFFIX=	-gtk3
 
@@ -19,17 +18,11 @@ ALL_TARGET=	libcanberra-gtk3.la libcanbe
 pre-build:
 	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} libcanberra-gtk3.pc
 
-post-build:
-# fix the .la file so it doesn't point to the build dir anymore.
-	@${REINPLACE_CMD} -e '/^relink_command/ d' \
-		-e 's|${WRKSRC}/src/libcanberra.la|${LOCALBASE}/lib/libcanberra.la|g' \
-		${WRKSRC}/src/.libs/libcanberra-gtk3.la
-
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libcanberra-gtk3.pc \
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/
-.for i in .a .la .so .so.0
-	${INSTALL_DATA} ${WRKSRC}/src/.libs/libcanberra-gtk3${i} \
+.for i in .so .so.0 .so.0.1.8
+	${INSTALL_LIB} ${WRKSRC}/src/.libs/libcanberra-gtk3${i} \
 		${STAGEDIR}${PREFIX}/lib/
 .endfor
 	cd ${WRKSRC}/src && ${SETENV} DESTDIR=${STAGEDIR} \

Modified: head/audio/libcanberra-gtk3/pkg-plist
==============================================================================
--- head/audio/libcanberra-gtk3/pkg-plist	Mon Sep  1 18:09:41 2014	(r366918)
+++ head/audio/libcanberra-gtk3/pkg-plist	Mon Sep  1 18:10:36 2014	(r366919)
@@ -1,9 +1,6 @@
 lib/gtk-3.0/modules/libcanberra-gtk-module.so
-lib/gtk-3.0/modules/libcanberra-gtk3-module.a
-lib/gtk-3.0/modules/libcanberra-gtk3-module.la
 lib/gtk-3.0/modules/libcanberra-gtk3-module.so
-lib/libcanberra-gtk3.a
-lib/libcanberra-gtk3.la
 lib/libcanberra-gtk3.so
 lib/libcanberra-gtk3.so.0
+lib/libcanberra-gtk3.so.0.1.8
 libdata/pkgconfig/libcanberra-gtk3.pc

Modified: head/audio/libcanberra/Makefile
==============================================================================
--- head/audio/libcanberra/Makefile	Mon Sep  1 18:09:41 2014	(r366918)
+++ head/audio/libcanberra/Makefile	Mon Sep  1 18:10:36 2014	(r366919)
@@ -4,7 +4,7 @@
 
 PORTNAME=	libcanberra
 PORTVERSION=	0.28
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio devel
 MASTER_SITES=	http://0pointer.de/lennart/projects/libcanberra/
 
@@ -16,13 +16,15 @@ LICENSE_FILE=	${WRKSRC}/LGPL
 
 LIB_DEPENDS=	libvorbisfile.so:${PORTSDIR}/audio/libvorbis
 
-USES=		gmake pkgconfig
-USE_GNOME=	gnomeprefix gnomehack gtk20 ltverhack gconf2
+USES=		gmake libtool pathfix pkgconfig
+USE_GNOME=	gnomeprefix gtk20 gconf2
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	libtool libltdl
+GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	libltdl
 CONFIGURE_ARGS=	--disable-lynx --disable-tdb --disable-alsa
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
 .if !defined(SLAVEPORT)
 GCONF_SCHEMAS=	libcanberra.schemas

Modified: head/audio/libcanberra/pkg-plist
==============================================================================
--- head/audio/libcanberra/pkg-plist	Mon Sep  1 18:09:41 2014	(r366918)
+++ head/audio/libcanberra/pkg-plist	Mon Sep  1 18:10:36 2014	(r366919)
@@ -2,31 +2,17 @@ bin/canberra-gtk-play
 include/canberra-gtk.h
 include/canberra.h
 lib/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
-lib/gtk-2.0/modules/libcanberra-gtk-module.a
-lib/gtk-2.0/modules/libcanberra-gtk-module.la
 lib/gtk-2.0/modules/libcanberra-gtk-module.so
-lib/libcanberra-gtk.a
-lib/libcanberra-gtk.la
 lib/libcanberra-gtk.so
 lib/libcanberra-gtk.so.0
-lib/libcanberra.a
-lib/libcanberra.la
+lib/libcanberra-gtk.so.0.1.8
 lib/libcanberra.so
 lib/libcanberra.so.0
-%%GSTREAMER%%lib/libcanberra-%%VERSION%%/libcanberra-gstreamer.a
-%%GSTREAMER%%lib/libcanberra-%%VERSION%%/libcanberra-gstreamer.la
+lib/libcanberra.so.0.2.5
 %%GSTREAMER%%lib/libcanberra-%%VERSION%%/libcanberra-gstreamer.so
-lib/libcanberra-%%VERSION%%/libcanberra-multi.a
-lib/libcanberra-%%VERSION%%/libcanberra-multi.la
 lib/libcanberra-%%VERSION%%/libcanberra-multi.so
-lib/libcanberra-%%VERSION%%/libcanberra-null.a
-lib/libcanberra-%%VERSION%%/libcanberra-null.la
 lib/libcanberra-%%VERSION%%/libcanberra-null.so
-lib/libcanberra-%%VERSION%%/libcanberra-oss.a
-lib/libcanberra-%%VERSION%%/libcanberra-oss.la
 lib/libcanberra-%%VERSION%%/libcanberra-oss.so
-%%PULSE%%lib/libcanberra-%%VERSION%%/libcanberra-pulse.a
-%%PULSE%%lib/libcanberra-%%VERSION%%/libcanberra-pulse.la
 %%PULSE%%lib/libcanberra-%%VERSION%%/libcanberra-pulse.so
 libdata/pkgconfig/libcanberra-gtk.pc
 libdata/pkgconfig/libcanberra.pc



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