Bug 186271 - multimedia/xbmc iconv and vdpau fix
Summary: multimedia/xbmc iconv and vdpau fix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 11:50 UTC by mickael.maillot
Modified: 2014-01-30 17:29 UTC (History)
0 users

See Also:


Attachments
file.diff (1.05 KB, patch)
2014-01-30 11:50 UTC, mickael.maillot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mickael.maillot 2014-01-30 11:50:00 UTC
2 problems:
- vdpau is a lib depends and not a build depends
- iconv is used with wchar_t so it failed on FreeBSD

Fix: Patch attached with submission follows:
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-01-30 16:39:41 UTC
Author: tijl
Date: Thu Jan 30 16:39:34 2014
New Revision: 341860
URL: http://svnweb.freebsd.org/changeset/ports/341860
QAT: https://qat.redports.org/buildarchive/r341860/

Log:
  - vdpau is a lib depends and not a build depends
  - iconv is used with wchar_t
  
  PR:		ports/186271
  Submitted by:	Mickael Maillot <mickael.maillot@gmail.com> (maintainer)

Modified:
  head/multimedia/xbmc/Makefile

Modified: head/multimedia/xbmc/Makefile
==============================================================================
--- head/multimedia/xbmc/Makefile	Thu Jan 30 16:37:32 2014	(r341859)
+++ head/multimedia/xbmc/Makefile	Thu Jan 30 16:39:34 2014	(r341860)
@@ -2,6 +2,7 @@
 
 PORTNAME=	xbmc
 DISTVERSION=	13.0.alpha11
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	mickael.maillot@gmail.com
@@ -56,7 +57,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqli
 		${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 +126,7 @@ SMB_CONFIGURE_ENABLE=	samba
 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 +194,7 @@ run-autotools:
 	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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2014-01-30 16:39:46 UTC
State Changed
From-To: open->closed

Committed in r341860. 


Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2014-01-30 16:39:46 UTC
Responsible Changed
From-To: freebsd-bugs->tijl

Committed in r341860.