diff options
author | wg <wg@FreeBSD.org> | 2013-10-10 10:15:58 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-10 10:15:58 +0800 |
commit | da0e84df83f842adffbf4ee8a56c6e3c635c9d00 (patch) | |
tree | 6742719f4ec9db11c9a66a877b3dbe75703d501c | |
parent | e52fe6767c8af460eae926854fc841ee79df299f (diff) | |
download | freebsd-ports-gnome-da0e84df83f842adffbf4ee8a56c6e3c635c9d00.tar.gz freebsd-ports-gnome-da0e84df83f842adffbf4ee8a56c6e3c635c9d00.tar.zst freebsd-ports-gnome-da0e84df83f842adffbf4ee8a56c6e3c635c9d00.zip |
multimedia/xbmc-pvr: link using ffmpeg0
- Link using ffmpeg0
Approved by: portmgr (bapt, implicit)
-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! |