mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Restore functionaity to read encrypted DVDs.
PR: ports/134016 Approved by: linimon (mentor)
This commit is contained in:
parent
2f3fa0d7bc
commit
0bd2f6ce4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232868
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libdvdread
|
||||
PORTVERSION= 4.1.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
@ -19,6 +20,10 @@ MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
||||
MAINTAINER= ganael.laplanche@martymac.com
|
||||
COMMENT= MPlayer version of the libdvdread project
|
||||
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss
|
||||
.endif
|
||||
|
||||
USE_BZIP2= yes
|
||||
CFLAGS+= "-I${LOCALBASE}/include"
|
||||
LDFLAGS+= "-L${LOCALBASE}/lib"
|
||||
@ -36,8 +41,13 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
# DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed)
|
||||
DVDCSS_LIBVERSION= 3
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-ldl ||g' \
|
||||
${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \
|
||||
${WRKSRC}/src/dvd_input.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user