mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
- Add option for enca charset detection
- Fix v4l support PR: 164639 Submitted by: "Marat N.Afanasyev" <amarat@ksu.ru> Fix by: Thomas Zander <thomas.e.zander@googlemail.com> (maintainer)
This commit is contained in:
parent
ab7ccea2a3
commit
e1feca74ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290888
@ -86,6 +86,7 @@ CONFIGURE_ARGS+= --disable-mplayer \
|
|||||||
--disable-joystick \
|
--disable-joystick \
|
||||||
--disable-directfb \
|
--disable-directfb \
|
||||||
--disable-mpg123 \
|
--disable-mpg123 \
|
||||||
|
--disable-enca \
|
||||||
--disable-musepack
|
--disable-musepack
|
||||||
|
|
||||||
ALL_TARGET= mencoder
|
ALL_TARGET= mencoder
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= mplayer
|
PORTNAME= mplayer
|
||||||
PORTVERSION= ${MPLAYER_PORT_VERSION}
|
PORTVERSION= ${MPLAYER_PORT_VERSION}
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
COMMENT= High performance media player supporting many formats
|
COMMENT= High performance media player supporting many formats
|
||||||
|
|
||||||
.include "${.CURDIR}/Makefile.shared"
|
.include "${.CURDIR}/Makefile.shared"
|
||||||
@ -66,6 +66,7 @@ OPTIONS+= LIBLZO "Enable external liblzo library" off
|
|||||||
OPTIONS+= JOYSTICK "Enable joystick support" off
|
OPTIONS+= JOYSTICK "Enable joystick support" off
|
||||||
OPTIONS+= V4L "Enable Video4Linux TV support" off
|
OPTIONS+= V4L "Enable Video4Linux TV support" off
|
||||||
OPTIONS+= LIBRTMP "Enable RTMPDump Streaming Media support" off
|
OPTIONS+= LIBRTMP "Enable RTMPDump Streaming Media support" off
|
||||||
|
OPTIONS+= ENCA "Enable enca charset detection" off
|
||||||
|
|
||||||
MAN1= mplayer.1
|
MAN1= mplayer.1
|
||||||
MANCOMPRESSED= no
|
MANCOMPRESSED= no
|
||||||
@ -221,6 +222,12 @@ CONFIGURE_ARGS+=--enable-joystick
|
|||||||
CONFIGURE_ARGS+=--disable-joystick
|
CONFIGURE_ARGS+=--disable-joystick
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_ENCA)
|
||||||
|
LIB_DEPENDS+= enca.5:${PORTSDIR}/converters/enca
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-enca
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO_MSG} "N - O - T - E"
|
@${ECHO_MSG} "N - O - T - E"
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
|
@ -244,6 +244,8 @@ CONFIGURE_ARGS+= --disable-libgsm
|
|||||||
.if defined(WITH_V4L)
|
.if defined(WITH_V4L)
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
|
BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
|
||||||
LIB_DEPENDS+= v4l2.0:${PORTSDIR}/multimedia/libv4l
|
LIB_DEPENDS+= v4l2.0:${PORTSDIR}/multimedia/libv4l
|
||||||
|
CONFIGURE_ARGS+= --enable-tv-v4l1 \
|
||||||
|
--enable-tv-v4l2
|
||||||
EXTRA_LIBS+= -lv4l1 -lv4l2
|
EXTRA_LIBS+= -lv4l1 -lv4l2
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-tv-v4l1 \
|
CONFIGURE_ARGS+= --disable-tv-v4l1 \
|
||||||
|
@ -39,8 +39,7 @@ CONFIGURE_ARGS= --cc="${CC}" \
|
|||||||
--disable-bitmap-font \
|
--disable-bitmap-font \
|
||||||
--disable-liba52 \
|
--disable-liba52 \
|
||||||
--disable-alsa \
|
--disable-alsa \
|
||||||
--enable-ass-internal \
|
--enable-ass-internal
|
||||||
--disable-enca
|
|
||||||
|
|
||||||
WANT_GNOME= yes
|
WANT_GNOME= yes
|
||||||
WANT_SDL= yes
|
WANT_SDL= yes
|
||||||
|
Loading…
Reference in New Issue
Block a user