From f5cae3acf6f604155e33ba98c52a962ad0517186 Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 9 Mar 2011 16:49:36 +0000 Subject: - Update to 1.0.8 PR: 154369 Submitted by: Anonymous (maintainer) --- multimedia/libva/Makefile | 5 +++-- multimedia/libva/distinfo | 4 ++-- .../libva/files/patch-test-encode-h264encode.c | 20 ++++++++++++++++++++ multimedia/libva/pkg-plist | 6 ++++++ 4 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 multimedia/libva/files/patch-test-encode-h264encode.c (limited to 'multimedia') diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index 06780d874c0e..9a997fb41c1d 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libva -PORTVERSION= 1.0.7 +PORTVERSION= 1.0.10 CATEGORIES= multimedia MASTER_SITES= http://cgit.freedesktop.org/${PORTNAME}/snapshot/ @@ -50,7 +50,8 @@ post-patch: .SILENT ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ -e 's|$${libdir}/\(pkgconfig\)|$${prefix}/libdata/\1|' \ ${WRKSRC}/configure.ac - ${REINPLACE_CMD} 's/va\(info\)/\1/' ${WRKSRC}/test/Makefile.am + ${REINPLACE_CMD} 's/va\(info\)/\1/' \ + ${WRKSRC}/test/vainfo/Makefile.am ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am ${REINPLACE_CMD} 's/LDFLAGS.*/& -Wl,-lc/' \ ${WRKSRC}/dummy_drv_video/Makefile.am \ diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo index 4bdb9622324b..576bb57d489e 100644 --- a/multimedia/libva/distinfo +++ b/multimedia/libva/distinfo @@ -1,2 +1,2 @@ -SHA256 (libva-1.0.7.tar.bz2) = 4c33ceb3cef3a7be542ed0f87f3cb75838b5d0c1246a39319138ca4df98c73fb -SIZE (libva-1.0.7.tar.bz2) = 462067 +SHA256 (libva-1.0.10.tar.bz2) = 05f757f0043dce9f753d354d15e0cb772b1240cc9d29d26bbb5526285a203693 +SIZE (libva-1.0.10.tar.bz2) = 459017 diff --git a/multimedia/libva/files/patch-test-encode-h264encode.c b/multimedia/libva/files/patch-test-encode-h264encode.c new file mode 100644 index 000000000000..30c7ebe03aa4 --- /dev/null +++ b/multimedia/libva/files/patch-test-encode-h264encode.c @@ -0,0 +1,20 @@ +--- test/encode/h264encode.c~ ++++ test/encode/h264encode.c +@@ -144,7 +144,7 @@ static int save_coded_buf(VABufferID cod + printf("(SKipped)"); + printf(" "); + +- return; ++ return 0; + } + + +@@ -188,7 +188,7 @@ static int display_surface(int frame_id, + } + } + +- return; ++ return 0; + } + + enum { diff --git a/multimedia/libva/pkg-plist b/multimedia/libva/pkg-plist index 2fa2543254ca..3763d5c6aca2 100644 --- a/multimedia/libva/pkg-plist +++ b/multimedia/libva/pkg-plist @@ -15,16 +15,21 @@ bin/vatest_10 bin/vatest_11 include/va/va.h include/va/va_backend.h +include/va/va_backend_egl.h include/va/va_backend_glx.h include/va/va_backend_tpi.h include/va/va_dri.h include/va/va_dri2.h include/va/va_dricommon.h include/va/va_dummy.h +include/va/va_egl.h include/va/va_glx.h include/va/va_tpi.h include/va/va_version.h include/va/va_x11.h +lib/libva-egl.la +lib/libva-egl.so +lib/libva-egl.so.1 lib/libva-glx.la lib/libva-glx.so lib/libva-glx.so.1 @@ -39,6 +44,7 @@ lib/libva.so lib/libva.so.1 lib/va/dummy_drv_video.la lib/va/dummy_drv_video.so +libdata/pkgconfig/libva-egl.pc libdata/pkgconfig/libva-glx.pc libdata/pkgconfig/libva-tpi.pc libdata/pkgconfig/libva-x11.pc -- cgit