git: 8d035fdefc08 - 2022Q1 - multimedia/mplayer: use openjpeg15 includes in Right Way (tm)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Feb 2022 11:56:02 UTC
The branch 2022Q1 has been updated by riggs:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8d035fdefc08a65d470aeb8622bec31ce7180310
commit 8d035fdefc08a65d470aeb8622bec31ce7180310
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-02-18 09:03:26 +0000
Commit: Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2022-02-20 11:55:40 +0000
multimedia/mplayer: use openjpeg15 includes in Right Way (tm)
Sponsored by: Netzkommune GmbH
(cherry picked from commit ccdb7b7b9e0272bfd830f72657ccb9eca01af225)
---
multimedia/mplayer/Makefile | 1 +
multimedia/mplayer/Makefile.optvars | 1 +
2 files changed, 2 insertions(+)
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 09ddd828f6a4..d9cb87a4df7d 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mplayer
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
+PORTREVISION= 1
CATEGORIES= multimedia audio
MAINTAINER= riggs@FreeBSD.org
diff --git a/multimedia/mplayer/Makefile.optvars b/multimedia/mplayer/Makefile.optvars
index a25119f65f77..da9155ed0ce9 100644
--- a/multimedia/mplayer/Makefile.optvars
+++ b/multimedia/mplayer/Makefile.optvars
@@ -87,6 +87,7 @@ 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