diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-10-10 02:15:58 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-10-10 02:15:58 +0000 |
commit | da91f959a01ef53423d1b89335f202507033b403 (patch) | |
tree | 6742719f4ec9db11c9a66a877b3dbe75703d501c /multimedia/xbmc-pvr | |
parent | 65055c31a8e0f28bd483a62fa837feafea94105e (diff) | |
download | ports-da91f959a01ef53423d1b89335f202507033b403.tar.gz ports-da91f959a01ef53423d1b89335f202507033b403.zip |
Notes
Diffstat (limited to 'multimedia/xbmc-pvr')
-rw-r--r-- | multimedia/xbmc-pvr/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/multimedia/xbmc-pvr/Makefile b/multimedia/xbmc-pvr/Makefile index deb3ad87d4d2..b290e4827896 100644 --- a/multimedia/xbmc-pvr/Makefile +++ b/multimedia/xbmc-pvr/Makefile @@ -3,7 +3,7 @@ PORTNAME= xbmc PORTVERSION= 70 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= LOCAL/nox PKGNAMESUFFIX= -pvr-ppa-odk @@ -30,7 +30,7 @@ LIB_DEPENDS= asound:${PORTSDIR}/audio/alsa-lib \ dbus-1:${PORTSDIR}/devel/dbus \ enca:${PORTSDIR}/converters/enca \ GLEW:${PORTSDIR}/graphics/glew \ - avcodec:${PORTSDIR}/multimedia/ffmpeg \ + avcodec0:${PORTSDIR}/multimedia/ffmpeg0 \ fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ freetype:${PORTSDIR}/print/freetype2 \ fribidi:${PORTSDIR}/converters/fribidi \ @@ -94,7 +94,9 @@ DESKTOP_ENTRIES="XBMC" \ "AudioVideo;Video;" \ true -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${LOCALBASE}/include/ffmpeg0 +CXXFLAGS+= -I${LOCALBASE}/include/ffmpeg0 +CFLAGS+= -I${LOCALBASE}/include/ffmpeg0 LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --enable-external-libraries @@ -218,6 +220,15 @@ post-patch: ${WRKSRC}/lib/libsidplay2/libsidplay/unix/my_macros.m4 \ ${WRKSRC}/lib/timidity/configure.in \ ${WRKSRC}/xbmc/screensavers/rsxs-0.9/acinclude.m4 + @${REINPLACE_CMD} \ + -e 's|libavcodec |libavcodec0 |g' \ + -e 's|libavfilter |libavfilter0 |g' \ + -e 's|libavformat |libavformat0 |g' \ + -e 's|libavutil |libavutil0 |g' \ + -e 's|libpostproc |libpostproc0 |g' \ + -e 's|libswscale"|libswscale0"|g' \ + -e 's|avcodec\]|avcodec0\]|g' \ + ${WRKSRC}/configure.in ${RM} ${WRKSRC}/addons/library.xbmc.addon/libXBMC_addon.h.orig # XXX somehow there are still references to linux libraries, if you find # where they come from please tell us! |