Changeset View
Changeset View
Standalone View
Standalone View
head/multimedia/vlc/Makefile
Show First 20 Lines • Show All 310 Lines • ▼ Show 20 Lines | |||||
X265_CONFIGURE_ENABLE= x265 | X265_CONFIGURE_ENABLE= x265 | ||||
ZVBI_LIB_DEPENDS= libzvbi.so:${PORTSDIR}/devel/libzvbi | ZVBI_LIB_DEPENDS= libzvbi.so:${PORTSDIR}/devel/libzvbi | ||||
ZVBI_CONFIGURE_ENABLE= zvbi | ZVBI_CONFIGURE_ENABLE= zvbi | ||||
PORTDATA= * | PORTDATA= * | ||||
PORTDOCS= * | PORTDOCS= * | ||||
WITH_CDROM_DEVICE?=/dev/cd0 | |||||
WITH_DVD_DEVICE?=/dev/cd0 | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MPULSEAUDIO} && ${OSVERSION} <= 900044 | |||||
IGNORE= Pulseaudio is unsupported with rtld prior to FreeBSD-9.x | |||||
.endif | |||||
.if ${PORT_OPTIONS:MX11} | .if ${PORT_OPTIONS:MX11} | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MQT4} | .if ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MQT4} | ||||
CONFIGURE_ARGS+= --enable-qt | CONFIGURE_ARGS+= --enable-qt | ||||
.else | .else | ||||
CONFIGURE_ARGS+= --disable-qt | CONFIGURE_ARGS+= --disable-qt | ||||
Show All 9 Lines | LIB_DEPENDS+= libminizip.so:${PORTSDIR}/archivers/minizip \ | ||||
libtar.so:${PORTSDIR}/devel/libtar | libtar.so:${PORTSDIR}/devel/libtar | ||||
USE_XORG+= xext xinerama xpm | USE_XORG+= xext xinerama xpm | ||||
CONFIGURE_ARGS+=--enable-skins2 --enable-libtar | CONFIGURE_ARGS+=--enable-skins2 --enable-libtar | ||||
.else | .else | ||||
IGNORE= SKINS option requires QT4 or QT5 option | IGNORE= SKINS option requires QT4 or QT5 option | ||||
.endif | .endif | ||||
.else | .else | ||||
CONFIGURE_ARGS+=--disable-skins2 --disable-libtar | CONFIGURE_ARGS+=--disable-skins2 --disable-libtar | ||||
.endif | |||||
# Define these to override | |||||
# FreeBSD 9.x uses CAM devices | |||||
.if (${OSVERSION} > 900037) | |||||
WITH_CDROM_DEVICE?=/dev/cd0 | |||||
WITH_DVD_DEVICE?=/dev/cd0 | |||||
.else | |||||
WITH_CDROM_DEVICE?=/dev/acd0 | |||||
WITH_DVD_DEVICE?=/dev/acd0 | |||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} \ | @${REINPLACE_CMD} \ | ||||
-e '\|LIBS|s|-lrt||' \ | -e '\|LIBS|s|-lrt||' \ | ||||
-e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \ | -e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
@${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \ | @${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \ | ||||
Show All 17 Lines |