From owner-svn-ports-head@freebsd.org Mon Dec 18 21:25:59 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29536E89335; Mon, 18 Dec 2017 21:25:59 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03D6670B5D; Mon, 18 Dec 2017 21:25:58 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBILPwPD015075; Mon, 18 Dec 2017 21:25:58 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBILPvFa015072; Mon, 18 Dec 2017 21:25:57 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201712182125.vBILPvFa015072@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Mon, 18 Dec 2017 21:25:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456673 - in head/multimedia: libva libva-intel-driver libva-vdpau-driver X-SVN-Group: ports-head X-SVN-Commit-Author: madpilot X-SVN-Commit-Paths: in head/multimedia: libva libva-intel-driver libva-vdpau-driver X-SVN-Commit-Revision: 456673 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2017 21:25:59 -0000 Author: madpilot Date: Mon Dec 18 21:25:57 2017 New Revision: 456673 URL: https://svnweb.freebsd.org/changeset/ports/456673 Log: Make libva and it's drivers install modules in the standard location PREFIX/lib/dri. This is the same location where other ports(mesa) install drivers, so that everything works out of the box. PR: 224424 Submitted by: Greg V Modified: head/multimedia/libva-intel-driver/Makefile head/multimedia/libva-vdpau-driver/Makefile head/multimedia/libva/Makefile Modified: head/multimedia/libva-intel-driver/Makefile ============================================================================== --- head/multimedia/libva-intel-driver/Makefile Mon Dec 18 20:45:48 2017 (r456672) +++ head/multimedia/libva-intel-driver/Makefile Mon Dec 18 21:25:57 2017 (r456673) @@ -3,6 +3,7 @@ PORTNAME= libva-intel-driver PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org @@ -24,7 +25,7 @@ USE_GITHUB= yes GH_ACCOUNT= 01org GH_PROJECT= intel-vaapi-driver -PLIST_FILES= lib/va/i915_drv_video.so lib/va/i965_drv_video.so +PLIST_FILES= lib/dri/i915_drv_video.so lib/dri/i965_drv_video.so ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Driver for hardware present only on intel i386 and amd64 CPUs @@ -36,6 +37,6 @@ post-patch: .SILENT ${WRKSRC}/configure.ac post-install: - ${LN} -sf i965_drv_video.so ${STAGEDIR}${PREFIX}/lib/va/i915_drv_video.so + ${LN} -sf i965_drv_video.so ${STAGEDIR}${PREFIX}/lib/dri/i915_drv_video.so .include Modified: head/multimedia/libva-vdpau-driver/Makefile ============================================================================== --- head/multimedia/libva-vdpau-driver/Makefile Mon Dec 18 20:45:48 2017 (r456672) +++ head/multimedia/libva-vdpau-driver/Makefile Mon Dec 18 21:25:57 2017 (r456673) @@ -2,7 +2,7 @@ PORTNAME= libva-vdpau-driver PORTVERSION= 0.7.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/ @@ -23,7 +23,7 @@ USE_GL= gl GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -PLIST_FILES= lib/va/nvidia_drv_video.so lib/va/s3g_drv_video.so lib/va/vdpau_drv_video.so +PLIST_FILES= lib/dri/nvidia_drv_video.so lib/dri/s3g_drv_video.so lib/dri/vdpau_drv_video.so OPTIONS_DEFINE= DEBUG Modified: head/multimedia/libva/Makefile ============================================================================== --- head/multimedia/libva/Makefile Mon Dec 18 20:45:48 2017 (r456672) +++ head/multimedia/libva/Makefile Mon Dec 18 21:25:57 2017 (r456673) @@ -2,6 +2,7 @@ PORTNAME= libva PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= madpilot@FreeBSD.org @@ -41,8 +42,7 @@ WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/way WAYLAND_BUILD_DEPENDS= gsed:textproc/gsed post-patch: .SILENT - ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ - -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ + ${REINPLACE_CMD} -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} '/^export VA_HEADER_/d' \ ${WRKSRC}/doc/Makefile.am