diff options
author | danfe <danfe@FreeBSD.org> | 2013-06-17 17:23:52 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-06-17 17:23:52 +0800 |
commit | 5d0780971d16ac0000a19932d032142f28e9042d (patch) | |
tree | 5611b9db986cfe8ff44aa62ad074736f273baa0b /multimedia | |
parent | 26c9dcf2f3684f92c84c256a2c74dd1581f3c108 (diff) | |
download | freebsd-ports-gnome-5d0780971d16ac0000a19932d032142f28e9042d.tar.gz freebsd-ports-gnome-5d0780971d16ac0000a19932d032142f28e9042d.tar.zst freebsd-ports-gnome-5d0780971d16ac0000a19932d032142f28e9042d.zip |
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)
Diffstat (limited to 'multimedia')
-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 |