Date: Thu, 30 Jan 2014 11:40:17 GMT From: Mickael Maillot <mickael.maillot@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/186271: multimedia/xbmc iconv and vdpau fix Message-ID: <201401301140.s0UBeHhp015243@oldred.freebsd.org> Resent-Message-ID: <201401301150.s0UBo0hQ002605@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186271 >Category: misc >Synopsis: multimedia/xbmc iconv and vdpau fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 30 11:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mickael Maillot >Release: >Organization: >Environment: >Description: 2 problems: - vdpau is a lib depends and not a build depends - iconv is used with wchar_t so it failed on FreeBSD >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2014-01-30 10:18:33.000000000 +0100 +++ Makefile 2014-01-30 11:50:47.000000000 +0100 @@ -56,7 +56,7 @@ ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ xdpyinfo:${PORTSDIR}/x11/xdpyinfo -USES= gmake iconv pkgconfig +USES= gmake iconv:wchar_t pkgconfig USE_AUTOTOOLS= autoconf libtool automake libltdl GNU_CONFIGURE= yes USE_XORG= xt xmu xtst @@ -125,7 +125,7 @@ VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi -VDPAU_BUILD_DEPENDS= ${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau +VDPAU_LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VORBIS_LIB_DEPENDS= libvorbisenc.so:${PORTSDIR}/audio/libvorbis @@ -193,6 +193,7 @@ cd ${WRKSRC}/lib/cpluff && ${SH} ./autogen.sh ${REINPLACE_CMD} '/lib\/cpluff/d' ${WRKSRC}/bootstrap.mk cd ${WRKSRC} && ${SH} ./bootstrap + ${REINPLACE_CMD} "s;'' iconv;iconv;" ${WRKSRC}/configure post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/xbmc.bin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401301140.s0UBeHhp015243>