aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2017-04-19 17:29:33 +0800
committercpm <cpm@FreeBSD.org>2017-04-19 17:29:33 +0800
commit95714700cf32ea104d400afd254afdf6260f94ec (patch)
tree7ada940f20c8492d2228e8f6aca90c38ccaed523 /multimedia
parent81a4545715fe24eb8187de88bc198a6e336a05b2 (diff)
downloadfreebsd-ports-gnome-95714700cf32ea104d400afd254afdf6260f94ec.tar.gz
freebsd-ports-gnome-95714700cf32ea104d400afd254afdf6260f94ec.tar.zst
freebsd-ports-gnome-95714700cf32ea104d400afd254afdf6260f94ec.zip
- Add LIBARCHIVE option and enable it by default
- Fix indent in OPTIONS_DESC - Bump PORTREVISION Reported by: Claudiu Palincas <claudiuatris@gmail.com> via email
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 794ff509b20a..2b9b21cafb1b 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -4,7 +4,7 @@
PORTNAME= mpv
PORTVERSION= 0.24.0
DISTVERSIONPREFIX= v
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= multimedia audio
@@ -46,8 +46,8 @@ CONFIGURE_ARGS= --docdir=${EXAMPLESDIR} \
--disable-wayland \
--enable-libmpv-shared
-OPTIONS_DEFINE= ASS DOCS LCMS2 LUAJIT MANPAGES UCHARDET ZSH
-OPTIONS_DEFAULT= ASS DVDREAD DVDNAV MANPAGES OPENGL UCHARDET \
+OPTIONS_DEFINE= ASS DOCS LCMS2 LIBARCHIVE LUAJIT MANPAGES UCHARDET ZSH
+OPTIONS_DEFAULT= ASS DVDREAD DVDNAV LIBARCHIVE MANPAGES OPENGL UCHARDET \
V4L VAAPI VDPAU X11 XINERAMA YTDL ZSH
OPTIONS_GROUP= IN VO AO
OPTIONS_GROUP_IN= CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB
@@ -55,15 +55,16 @@ OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU X11 XINERAMA
OPTIONS_GROUP_AO= ALSA JACK PULSEAUDIO SDL SNDIO
OPTIONS_SUB= yes
-ASS_DESC= ASS/SSA subtitle and OSD rendering
-DVDREAD_DESC= DVD Playback support
-DVDNAV_DESC= DVD menu navigation
-LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support
-YTDL_DESC= Install youtube-dl
-UCHARDET_DESC= Guess subtitle encoding via uchardet
-IN_DESC= Input
-VO_DESC= Video Output
-AO_DESC= Audio Output
+ASS_DESC= ASS/SSA subtitle and OSD rendering
+DVDREAD_DESC= DVD Playback support
+DVDNAV_DESC= DVD menu navigation
+LIBARCHIVE_DESC= Enable libarchive support
+LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support
+YTDL_DESC= Install youtube-dl
+UCHARDET_DESC= Guess subtitle encoding via uchardet
+IN_DESC= Input
+VO_DESC= Video Output
+AO_DESC= Audio Output
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_OFF= --disable-alsa
@@ -92,6 +93,9 @@ JACK_CONFIGURE_OFF= --disable-jack
LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2
LCMS2_CONFIGURE_OFF= --disable-lcms2
+LIBARCHIVE_USES= libarchive
+LIBARCHIVE_CONFIGURE_ON= --enable-libarchive
+
LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray
LIBBLURAY_CONFIGURE_OFF= --disable-libbluray