View | Details | Raw Unified | Return to bug 159249
Collapse All | Expand All

(-)multimedia/libva/Makefile (-3 / +7 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	libva
8
PORTNAME=	libva
9
PORTVERSION=	1.0.13
9
PORTVERSION=	1.0.14
10
CATEGORIES=	multimedia
10
CATEGORIES=	multimedia
11
MASTER_SITES=	http://cgit.freedesktop.org/${PORTNAME}/snapshot/
11
MASTER_SITES=	http://cgit.freedesktop.org/${PORTNAME}/snapshot/
12
12
Lines 27-33 ACLOCAL_ARGS= -I. Link Here
27
AUTOMAKE_ARGS=	--add-missing
27
AUTOMAKE_ARGS=	--add-missing
28
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}"
28
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}"
29
CONFIGURE_ARGS=	--program-prefix=va
29
CONFIGURE_ARGS=	--program-prefix=va
30
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
31
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
32
31
33
CPPFLAGS+=	-isystem${LOCALBASE}/include
32
CPPFLAGS+=	-isystem${LOCALBASE}/include
Lines 43-49 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch- Link Here
43
.endif
42
.endif
44
43
45
.if ${ARCH} == "sparc64"
44
.if ${ARCH} == "sparc64"
46
BROKEN=		Does not install on sparc64
45
BROKEN=		glXCreateContext fails during configure
47
.endif
46
.endif
48
47
49
.if !defined(WITH_DEBUG)
48
.if !defined(WITH_DEBUG)
Lines 64-67 post-patch: .SILENT Link Here
64
		${WRKSRC}/test/vainfo/Makefile.am
63
		${WRKSRC}/test/vainfo/Makefile.am
65
	${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am
64
	${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am
66
65
66
post-configure:	.SILENT
67
	${REINPLACE_CMD} 's/-lpthread/${PTHREAD_LIBS}/' \
68
		${WRKSRC}/i965_drv_video/Makefile \
69
		${WRKSRC}/test/putsurface/Makefile
70
67
.include <bsd.port.post.mk>
71
.include <bsd.port.post.mk>
(-)multimedia/libva/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libva-1.0.13.tar.bz2) = 4e192c1704e9b571dfcb1073d4ead6a2ccab81cc62e2a3759cad4338609d835b
1
SHA256 (libva-1.0.14.tar.bz2) = b15ab93b549651a07664ced831b20e559e0f7edabb57169af8049b3e761ea764
2
SIZE (libva-1.0.13.tar.bz2) = 486709
2
SIZE (libva-1.0.14.tar.bz2) = 769706
(-)multimedia/libva/pkg-plist (-11 lines)
Lines 3-19 bin/vah264encode Link Here
3
bin/vainfo
3
bin/vainfo
4
bin/vampeg2vldemo
4
bin/vampeg2vldemo
5
bin/vaputsurface
5
bin/vaputsurface
6
bin/vatest_01
7
bin/vatest_02
8
bin/vatest_03
9
bin/vatest_04
10
bin/vatest_05
11
bin/vatest_06
12
bin/vatest_07
13
bin/vatest_08
14
bin/vatest_09
15
bin/vatest_10
16
bin/vatest_11
17
include/va/va.h
6
include/va/va.h
18
include/va/va_backend.h
7
include/va/va_backend.h
19
include/va/va_backend_egl.h
8
include/va/va_backend_egl.h
(-)multimedia/libva/files/patch-i965_drv_video-Makefile.am (-13 lines)
Removed Link Here
1
--- i965_drv_video/Makefile.am~
2
+++ i965_drv_video/Makefile.am
3
@@ -26,8 +26,8 @@ AM_CFLAGS = -Wall -I$(top_srcdir) -I$(to
4
 
5
 i965_drv_video_la_LTLIBRARIES = i965_drv_video.la
6
 i965_drv_video_ladir = @LIBVA_DRIVERS_PATH@
7
-i965_drv_video_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,--no-undefined @DRM_LIBS@ -ldrm_intel
8
-i965_drv_video_la_LIBADD = ../va/libva-x11.la -lpthread
9
+i965_drv_video_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,--no-undefined @DRM_LIBS@ -ldrm_intel $(PTHREAD_LIBS)
10
+i965_drv_video_la_LIBADD = ../va/libva-x11.la
11
 
12
 i965_drv_video_la_SOURCES =	\
13
 	object_heap.c		\
(-)multimedia/libva/files/patch-test-encode-h264encode_x11.c (-11 lines)
Removed Link Here
1
--- test/encode/h264encode_x11.c~
2
+++ test/encode/h264encode_x11.c
3
@@ -93,7 +93,7 @@ static int display_surface(int frame_id,
4
         }	
5
     }	
6
 
7
-    return;
8
+    return 0;
9
 }
10
 
11
 #include "h264encode_common.c"
(-)multimedia/libva/files/patch-test-putsurface-Makefile.am (-13 lines)
Removed Link Here
1
--- test/putsurface/Makefile.am~
2
+++ test/putsurface/Makefile.am
3
@@ -23,8 +23,9 @@
4
 bin_PROGRAMS = putsurface
5
 
6
 AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
7
+AM_LDFLAGS = $(PTHREAD_LIBS)
8
 
9
-TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) -lpthread
10
+TEST_LIBS = $(top_builddir)/va/$(libvabackendlib)
11
 
12
 putsurface_LDADD = $(TEST_LIBS)
13
 putsurface_SOURCES = putsurface.c

Return to bug 159249