Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 14:40:54 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368466 - head/multimedia/libva
Message-ID:  <201409181440.s8IEesa1074597@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Sep 18 14:40:54 2014
New Revision: 368466
URL: http://svnweb.freebsd.org/changeset/ports/368466
QAT: https://qat.redports.org/buildarchive/r368466/

Log:
  - Convert to USES autoreconf
  - Drop .la files
  - Remove hacks

Modified:
  head/multimedia/libva/Makefile
  head/multimedia/libva/pkg-plist

Modified: head/multimedia/libva/Makefile
==============================================================================
--- head/multimedia/libva/Makefile	Thu Sep 18 14:35:34 2014	(r368465)
+++ head/multimedia/libva/Makefile	Thu Sep 18 14:40:54 2014	(r368466)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libva
 PORTVERSION=	1.3.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	multimedia
 MASTER_SITES=	http://cgit.freedesktop.org/${PORTNAME}/snapshot/
 
@@ -15,12 +15,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
 LIB_DEPENDS=	libdrm.so:${PORTSDIR}/graphics/libdrm
 
-USES=		libtool:keepla pkgconfig tar:bzip2
+USES=		autoreconf libtool pkgconfig tar:bzip2
 USE_XORG=	glproto pciaccess xext xfixes
 USE_GL=		gl
-USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
-ACLOCAL_ARGS=	-I.
-AUTOMAKE_ARGS=	--add-missing
+HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-prefix=va
 USE_LDCONFIG=	yes
 
@@ -51,10 +49,7 @@ INSTALL_TARGET=	install-strip
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \
-		-e 's|$${libdir}/\(pkgconfig\)|$${prefix}/libdata/\1|' \
-		-e 's/\(LIBVA_LT_CURRENT\)=libva_lt_current/\1=1/' \
-		-e 's/\(LIBVA_LT_REV\)=libva_lt_revision/\1=3301/' \
-		-e 's/\(LIBVA_LT_AGE\)=libva_lt_age/\1=0/' \
+		-e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \
 		${WRKSRC}/configure.ac
 	${REINPLACE_CMD} -e 's/va\(info\)/\1/g' -e 's/info\.c/vainfo\.c/' \
 		${WRKSRC}/test/vainfo/Makefile.am
@@ -62,11 +57,6 @@ post-patch:	.SILENT
 		${WRKSRC}/doc/Makefile.am
 	${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am
 
-# XXX: work around an issue with automake-1.13 erroring out on a
-#      non-existent m4 directory before libtoolize creates it
-pre-configure::
-	@${MKDIR} ${WRKSRC}/m4
-
 post-configure:	.SILENT
 	${REINPLACE_CMD} 's/-lpthread/${PTHREAD_LIBS}/' \
 		${WRKSRC}/test/putsurface/Makefile

Modified: head/multimedia/libva/pkg-plist
==============================================================================
--- head/multimedia/libva/pkg-plist	Thu Sep 18 14:35:34 2014	(r368465)
+++ head/multimedia/libva/pkg-plist	Thu Sep 18 14:40:54 2014	(r368466)
@@ -24,27 +24,21 @@ include/va/va_tpi.h
 include/va/va_version.h
 include/va/va_vpp.h
 include/va/va_x11.h
-lib/libva-drm.la
 lib/libva-drm.so
 lib/libva-drm.so.1
-lib/libva-drm.so.1.0.3301
-lib/libva-glx.la
+lib/libva-drm.so.1.3501.0
 lib/libva-glx.so
 lib/libva-glx.so.1
-lib/libva-glx.so.1.0.3301
-lib/libva-tpi.la
+lib/libva-glx.so.1.3501.0
 lib/libva-tpi.so
 lib/libva-tpi.so.1
-lib/libva-tpi.so.1.0.3301
-lib/libva-x11.la
+lib/libva-tpi.so.1.3501.0
 lib/libva-x11.so
 lib/libva-x11.so.1
-lib/libva-x11.so.1.0.3301
-lib/libva.la
+lib/libva-x11.so.1.3501.0
 lib/libva.so
 lib/libva.so.1
-lib/libva.so.1.0.3301
-lib/va/dummy_drv_video.la
+lib/libva.so.1.3501.0
 lib/va/dummy_drv_video.so
 libdata/pkgconfig/libva-drm.pc
 libdata/pkgconfig/libva-glx.pc



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