aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-02-20 14:05:04 +0000
committerDima Panov <fluffy@FreeBSD.org>2022-02-20 14:05:04 +0000
commit7beae5bb0fa6b7a5c35418ada41b5016a52157ba (patch)
treec9fc86384ef3f6cc426dead3d41114e6605fcd7c
parentd38d94a03cb0e739c2779d2b35314f2650f42a51 (diff)
downloadports-7beae5bb0fa6b7a5c35418ada41b5016a52157ba.tar.gz
ports-7beae5bb0fa6b7a5c35418ada41b5016a52157ba.zip
multimedia/m{player|encoder}: switch to graphics/openjpeg (+)
Mplayer engine indeed require openjpeg >= 2.1.0. Depend on openjpeg15 is irrelevant, player even connot link with it. MFH: 2022Q1 Approved by: portmgr (fix build blanket) Sponsored by: Netzkommune GmbH
-rw-r--r--multimedia/mencoder/Makefile1
-rw-r--r--multimedia/mplayer/Makefile2
-rw-r--r--multimedia/mplayer/Makefile.optvars5
3 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/mencoder/Makefile b/multimedia/mencoder/Makefile
index 2df6b5c12581..5cce54e130c2 100644
--- a/multimedia/mencoder/Makefile
+++ b/multimedia/mencoder/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mencoder
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
+PORTREVISION= 2
CATEGORIES= multimedia audio
MAINTAINER= riggs@FreeBSD.org
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index d9cb87a4df7d..62c25b154dbd 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mplayer
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia audio
MAINTAINER= riggs@FreeBSD.org
diff --git a/multimedia/mplayer/Makefile.optvars b/multimedia/mplayer/Makefile.optvars
index da9155ed0ce9..6beab30a82e3 100644
--- a/multimedia/mplayer/Makefile.optvars
+++ b/multimedia/mplayer/Makefile.optvars
@@ -87,9 +87,8 @@ OPENGL_USES= gl
OPENGL_CONFIGURE_OFF= --disable-gl
OPENGL_IMPLIES= X11
-OPENJPEG_CFLAGS= -I${LOCALBASE}/include/openjpeg-1.5
-OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15
-OPENJPEG_CONFIGURE_OFF= --disable-libopenjpeg
+OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
+OPENJPEG_CONFIGURE_ENABLE= libopenjpeg
OPUS_LIB_DEPENDS= libopus.so:audio/opus
OPUS_CONFIGURE_OFF= --disable-libopus