From owner-svn-ports-all@FreeBSD.ORG Tue Oct 8 12:17:56 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8123D286; Tue, 8 Oct 2013 12:17:56 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F9782E84; Tue, 8 Oct 2013 12:17:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r98CHu26087812; Tue, 8 Oct 2013 12:17:56 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r98CHtIP087809; Tue, 8 Oct 2013 12:17:55 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201310081217.r98CHtIP087809@svn.freebsd.org> From: Guido Falsi Date: Tue, 8 Oct 2013 12:17:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329777 - in head/multimedia/xbmc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 12:17:56 -0000 Author: madpilot Date: Tue Oct 8 12:17:55 2013 New Revision: 329777 URL: http://svnweb.freebsd.org/changeset/ports/329777 Log: - Fix build with iconv from base on head While here: - Use new LIB_DEPENDS format - Convert to USES gmake - Support staging - Fix build with libc++ on head Approved by: portmgr (bapt) Added: head/multimedia/xbmc/files/patch-xbmc__linux__PlatformDefs.h (contents, props changed) Modified: head/multimedia/xbmc/Makefile head/multimedia/xbmc/pkg-plist Modified: head/multimedia/xbmc/Makefile ============================================================================== --- head/multimedia/xbmc/Makefile Tue Oct 8 11:52:54 2013 (r329776) +++ head/multimedia/xbmc/Makefile Tue Oct 8 12:17:55 2013 (r329777) @@ -21,31 +21,31 @@ BUILD_DEPENDS= enca:${PORTSDIR}/converte dvdread-config:${PORTSDIR}/multimedia/libdvdread \ gtk-update-icon-cache:${PORTSDIR}/x11-toolkits/gtk20 \ swig2.0:${PORTSDIR}/devel/swig20 -LIB_DEPENDS= ass:${PORTSDIR}/multimedia/libass \ - boost_thread:${PORTSDIR}/devel/boost-libs \ - cdio:${PORTSDIR}/sysutils/libcdio \ - curl:${PORTSDIR}/ftp/curl \ - dbus-1:${PORTSDIR}/devel/dbus \ - enca:${PORTSDIR}/converters/enca \ - GLEW:${PORTSDIR}/graphics/glew \ - FLAC:${PORTSDIR}/audio/flac \ - fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ - freetype:${PORTSDIR}/print/freetype2 \ - fribidi:${PORTSDIR}/converters/fribidi \ - lzo2:${PORTSDIR}/archivers/lzo2 \ - jasper:${PORTSDIR}/graphics/jasper \ - jpeg:${PORTSDIR}/graphics/jpeg \ - mad:${PORTSDIR}/audio/libmad \ - modplug:${PORTSDIR}/audio/libmodplug \ - mpeg2:${PORTSDIR}/multimedia/libmpeg2 \ - pcre:${PORTSDIR}/devel/pcre \ - png15:${PORTSDIR}/graphics/png \ - samplerate:${PORTSDIR}/audio/libsamplerate \ - sqlite3:${PORTSDIR}/databases/sqlite3 \ - tag:${PORTSDIR}/audio/taglib \ - tinyxml:${PORTSDIR}/textproc/tinyxml \ - vorbis:${PORTSDIR}/audio/libvorbis \ - yajl:${PORTSDIR}/devel/yajl +LIB_DEPENDS= libass.so:${PORTSDIR}/multimedia/libass \ + libboost_thread.so:${PORTSDIR}/devel/boost-libs \ + libcdio.so:${PORTSDIR}/sysutils/libcdio \ + libcurl.so:${PORTSDIR}/ftp/curl \ + libdbus-1.so:${PORTSDIR}/devel/dbus \ + libenca.so:${PORTSDIR}/converters/enca \ + libGLEW.so:${PORTSDIR}/graphics/glew \ + libFLAC.so:${PORTSDIR}/audio/flac \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libfribidi.so:${PORTSDIR}/converters/fribidi \ + liblzo2.so:${PORTSDIR}/archivers/lzo2 \ + libjasper.so:${PORTSDIR}/graphics/jasper \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libmad.so:${PORTSDIR}/audio/libmad \ + libmodplug.so:${PORTSDIR}/audio/libmodplug \ + libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2 \ + libpcre.so:${PORTSDIR}/devel/pcre \ + libpng15.so:${PORTSDIR}/graphics/png \ + libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ + libtag.so:${PORTSDIR}/audio/taglib \ + libtinyxml.so:${PORTSDIR}/textproc/tinyxml \ + libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libyajl.so:${PORTSDIR}/devel/yajl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ glxinfo:${PORTSDIR}/graphics/mesa-demos \ nmblookup:${PORTSDIR}/net/samba-nmblookup \ @@ -53,8 +53,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqli xdpyinfo:${PORTSDIR}/x11/xdpyinfo FETCH_ARGS= -Fpr -USES= pkgconfig -USE_GMAKE= yes +USES= gmake iconv pkgconfig USE_AUTOTOOLS= autoconf libtool automake libltdl GNU_CONFIGURE= yes USE_XORG= xt xmu xrandr xtst @@ -89,7 +88,6 @@ VORBIS_DESC= Ogg Vorbis audio encoder OPTIONS_DEFAULT= AIRPLAY AVAHI CEC LAME LIBBLURAY HAL MYSQL \ RTMP SFTP SMB VORBIS WEBSERVER -NO_STAGE= yes .include .if ${OSVERSION} < 900000 @@ -98,9 +96,6 @@ OPTIONS_DEFAULT+= EXTERNAL_FFMPEG CONFIGURE_ARGS+= --disable-nfs -MAN1= xbmc.bin.1 -MLINKS= xbmc.bin.1 xbmc.1 - .include .if ${ARCH} == i386 @@ -269,11 +264,16 @@ post-patch: ${WRKSRC}/lib/libsidplay2/libsidplay/src/mos656x/mos656x.h ${REINPLACE_CMD} 's;make;gmake;' ${WRKSRC}/bootstrap ${REINPLACE_CMD} 's;which swig;&2.0;' ${WRKSRC}/codegenerator.mk +.if empty(ICONV_LIB) + ${REINPLACE_CMD} -e 's;^checking for main in -liconv\.\.\.;checking for iconv...;' \ + -e 's;-liconv;${ICONV_LIB};' ${WRKSRC}/configure +.endif run-autotools: @cd ${WRKSRC} && ${SH} ./bootstrap post-install: - @${INSTALL_MAN} ${WRKSRC}/docs/manpages/xbmc.bin.1 ${MAN1PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/docs/manpages/xbmc.bin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @(cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -sf xbmc.bin.1.gz xbmc.1.gz) .include Added: head/multimedia/xbmc/files/patch-xbmc__linux__PlatformDefs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/xbmc/files/patch-xbmc__linux__PlatformDefs.h Tue Oct 8 12:17:55 2013 (r329777) @@ -0,0 +1,10 @@ +--- xbmc/linux/PlatformDefs.h.orig 2013-05-03 07:57:41.000000000 +0200 ++++ xbmc/linux/PlatformDefs.h 2013-10-07 23:03:51.032581268 +0200 +@@ -55,6 +55,7 @@ + #include + #include + #include ++#include + #else + #include + #endif Modified: head/multimedia/xbmc/pkg-plist ============================================================================== --- head/multimedia/xbmc/pkg-plist Tue Oct 8 11:52:54 2013 (r329776) +++ head/multimedia/xbmc/pkg-plist Tue Oct 8 12:17:55 2013 (r329777) @@ -31,6 +31,8 @@ lib/xbmc/system/players/paplayer/timidit lib/xbmc/system/players/paplayer/vgmstream-%%ARCH%%-freebsd.so lib/xbmc/xbmc-xrandr lib/xbmc/xbmc.bin +man/man1/xbmc.bin.1.gz +man/man1/xbmc.1.gz %%DOCSDIR%%/LICENSE.GPL %%DOCSDIR%%/README.linux %%DOCSDIR%%/copying.txt