Provide an option to link to libdvdcss instead of using dlopen()
While here: - clean up master sites - remove useless dependency to gmake - add a license file PR: 252322 Submitted by: daniel.engberg.lists@pyret.net
This commit is contained in:
parent
75bcc73134
commit
ff17d27942
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560720
@ -4,17 +4,15 @@
|
||||
PORTNAME= libdvdread
|
||||
PORTVERSION= 6.1.0
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://download.videolan.org/pub/videolan/libdvdread/${PORTVERSION}/ \
|
||||
http://dvdnav.mplayerhq.hu/releases/ \
|
||||
http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
|
||||
LOCAL/martymac
|
||||
MASTER_SITES= https://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/
|
||||
|
||||
MAINTAINER= martymac@FreeBSD.org
|
||||
COMMENT= Videolan version of the libdvdread project
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= tar:bz2 gmake libtool pathfix pkgconfig
|
||||
USES= libtool pathfix pkgconfig tar:bz2
|
||||
USE_CSTD= c99
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
@ -23,12 +21,20 @@ INSTALL_TARGET= install-strip
|
||||
|
||||
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO
|
||||
|
||||
OPTIONS_DEFINE= DVDCSS DOCS
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_RADIO= DVDCSS
|
||||
OPTIONS_RADIO_DVDCSS= DVDCSS_DLOPEN DVDCSS_LINK
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
OPTIONS_DEFAULT= DVDCSS
|
||||
OPTIONS_DEFAULT= DVDCSS_DLOPEN
|
||||
.endif
|
||||
|
||||
# DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed)
|
||||
DVDCSS_LIB_DEPENDS= libdvdcss.so.2:multimedia/libdvdcss
|
||||
DVDCSS_DLOPEN_DESC= Use library via dlopen() function (recommended)
|
||||
# XXX DVDCSS version hardcoded in src/dvd_input.c
|
||||
DVDCSS_DLOPEN_LIB_DEPENDS= libdvdcss.so.2:multimedia/libdvdcss
|
||||
|
||||
DVDCSS_LINK_DESC= Link with library
|
||||
DVDCSS_LINK_LIB_DEPENDS= libdvdcss.so.2:multimedia/libdvdcss
|
||||
DVDCSS_LINK_USES= localbase
|
||||
DVDCSS_LINK_CONFIGURE_WITH= libdvdcss
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user