diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-06-17 09:23:52 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-06-17 09:23:52 +0000 |
commit | 7ec1aad297bbbac3bb837ef0a8c60ef600f3ae00 (patch) | |
tree | 5611b9db986cfe8ff44aa62ad074736f273baa0b /multimedia/handbrake/Makefile | |
parent | Trim header. (diff) |
Handbrake tries to dlopen() libdvdcss.so.2, while library installed by the
libdvdcss package is actually libdvdcss.so.3, so the call always fails and
handbrake is unable to properly read CSS-encoded DVDs.
Patch in the PR suggested bumping requested shlib version accordingly, but
methinks it is better to just remove it completely from CSS_LIB definition.
While here, register run-time dependency on `multimedia/libdvdcss'.
PR: ports/171473
Submitted by: Heath Nielson
Approved by: maintainer timeout (dmarion, over 9 months)
Notes
Notes:
svn path=/head/; revision=321090
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r-- | multimedia/handbrake/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index 8ce75ca64b28..e0ff071fc019 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -3,7 +3,7 @@ PORTNAME= handbrake PORTVERSION= 0.9.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} \ http://download.handbrake.fr/handbrake/contrib/:contrib @@ -38,6 +38,7 @@ LICENSE= GPLv2 BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm LIB_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi +RUN_DEPENDS= ${LOCALBASE}/lib/libdvdcss.so:${PORTSDIR}/multimedia/libdvdcss USE_AUTOTOOLS= libtool aclocal LIBTOOLFILES= configure @@ -125,6 +126,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/contrib/libass/module.defs \ ${WRKSRC}/libhb/module.defs ${WRKSRC}/test/module.defs + @${REINPLACE_CMD} -e 's|libdvdcss\.so\.2|libdvdcss.so|' \ + ${BUILD_WRKSRC}/contrib/libdvdread/libdvdread/src/dvd_input.c do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/HandBrakeCLI ${PREFIX}/bin |