1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build error during staging phase

- Pet portlint

PR:		ports/186529
Submitted by:	Matthew Rezny <matthew@reztek.cz>, mickael.maillot@gmail.com (maintainer)
Approved by:	jadawin (co-mentor), mickael.maillot@gmail.com (maintainer)
This commit is contained in:
Thomas Zander 2014-02-17 16:18:24 +00:00
parent f983befbc3
commit 652243af0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344790
2 changed files with 14 additions and 22 deletions

View File

@ -10,11 +10,6 @@ COMMENT= Award winning media center application
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= xbmc
GH_COMMIT= 8eb49b3
GH_TAGNAME= Gotham_alpha11
BUILD_DEPENDS= enca:${PORTSDIR}/converters/enca \
gawk:${PORTSDIR}/lang/gawk \
gperf:${PORTSDIR}/devel/gperf \
@ -57,6 +52,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
xdpyinfo:${PORTSDIR}/x11/xdpyinfo
USE_GITHUB= yes
GH_ACCOUNT= xbmc
GH_COMMIT= 8eb49b3
GH_TAGNAME= Gotham_alpha11
USES= gmake iconv:wchar_t pkgconfig
USE_AUTOTOOLS= autoconf libtool automake libltdl
GNU_CONFIGURE= yes
@ -77,6 +77,7 @@ DESKTOP_ENTRIES="XBMC" \
"AudioVideo;Video;" \
true
OPTIONS_SUB= yes
OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC LAME \
LIBBLURAY HAL LIRC MYSQL NONFREE PULSEAUDIO RTMP SFTP \
SMB VAAPI VDPAU VORBIS WEBSERVER XRANDR
@ -111,9 +112,13 @@ HAL_CONFIGURE_ENABLE= hal
LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame
LAME_CONFIGURE_ENABLE= libmp3lame
LIRC_RUN_DEPENDS= lircd:${PORTSDIR}/comms/lirc
MYSQL_USE= MYSQL=yes
MYSQL_CONFIGURE_ENABLE= mysql
NONFREE_CONFIGURE_ENABLE= non-free
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
@ -139,6 +144,9 @@ SFTP_BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh
SFTP_RUN_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh
SFTP_CONFIGURE_ENABLE= ssh
XRANDR_USE= XORG=xrandr
XRANDR_CONFIGURE_ENABLE= xrandr
CONFIGURE_ARGS+= --disable-debug --disable-nfs --disable-alsa
.include <bsd.port.options.mk>
@ -155,25 +163,9 @@ CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
.endif
.if ${PORT_OPTIONS:MLIRC}
RUN_DEPENDS+= lircd:${PORTSDIR}/comms/lirc
.endif
.if ${PORT_OPTIONS:MNONFREE}
CONFIGURE_ARGS+= --enable-non-free
NO_CDROM= Restricted binary distribution
NO_PACKAGE= ${NO_CDROM}
.else
CONFIGURE_ARGS+= --disable-non-free
.endif
.if ${PORT_OPTIONS:MXRANDR}
CONFIGURE_ARGS+= --enable-xrandr
USE_XORG+= xrandr
PLIST_SUB+= XRANDR=""
.else
CONFIGURE_ARGS+= --disable-xrandr
PLIST_SUB+= XRANDR="@comment "
.endif
post-patch:

View File

@ -31,7 +31,7 @@ lib/xbmc/addons/visualization.projectm/projectM.vis
lib/xbmc/addons/visualization.waveform/Waveform.vis
lib/xbmc/system/ImageLib-%%ARCH%%-freebsd.so
lib/xbmc/system/hdhomerun-%%ARCH%%-freebsd.so
lib/xbmc/system/libcmyth-%%ARCH%%-freebsd.so
%%MYSQL%%lib/xbmc/system/libcmyth-%%ARCH%%-freebsd.so
lib/xbmc/system/libcpluff-%%ARCH%%-freebsd.so
lib/xbmc/system/libexif-%%ARCH%%-freebsd.so
lib/xbmc/system/players/dvdplayer/avcodec-54-%%ARCH%%-freebsd.so