Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 08:01:06 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474062 - in head/multimedia/cinelerra-gg: . files
Message-ID:  <201807070801.w678169n056749@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jul  7 08:01:05 2018
New Revision: 474062
URL: https://svnweb.freebsd.org/changeset/ports/474062

Log:
  multimedia/cinelerra-gg: Add the option OPENGL

Added:
  head/multimedia/cinelerra-gg/files/patch-cinelerra-5.1_cinelerra_Makefile   (contents, props changed)
Modified:
  head/multimedia/cinelerra-gg/Makefile

Modified: head/multimedia/cinelerra-gg/Makefile
==============================================================================
--- head/multimedia/cinelerra-gg/Makefile	Sat Jul  7 07:20:08 2018	(r474061)
+++ head/multimedia/cinelerra-gg/Makefile	Sat Jul  7 08:01:05 2018	(r474062)
@@ -3,7 +3,7 @@
 PORTNAME=	cinelerra-gg
 DISTVERSION=	5.1-20180705
 DISTVERSIONSUFFIX=	-${REV:C/(.......).*/\1/}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	https://git.cinelerra-cv.org/gitweb?p=goodguy/cinelerra.git;a=snapshot;h=${REV};sf=tgz;dummy=/ # tarballs are @ https://cinelerra-cv.org/five/pkgs/src/
 
@@ -55,7 +55,7 @@ USE_XORG=	x11 xau xdmcp xext xfixes xft xinerama xv
 MAKE_ENV=	C_INCLUDE_PATH=${LOCALBASE}/include CPLUS_INCLUDE_PATH=${LOCALBASE}/include LIBRARY_PATH=${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-static-build --disable-lame --disable-twolame \
 		--with-oss --without-alsa \
-		--without-gl --without-firewire --without-dv --without-dvb \
+		--without-firewire --without-dv --without-dvb \
 		--without-video4linux2 --without-xxf86vm --without-ladspa-build \
 		--without-libzmpeg --without-commercial --without-thirdparty
 CFLAGS+=	-DFFMPEG3
@@ -69,8 +69,8 @@ INSTALL_WRKSRC=		${BUILD_WRKSRC}
 
 DATADIR=		${PREFIX}/share/cin
 
-OPTIONS_DEFINE=		LV2
-OPTIONS_DEFAULT=	LV2
+OPTIONS_DEFINE=		LV2 OPENGL
+OPTIONS_DEFAULT=	LV2 OPENGL
 OPTIONS_SUB=		yes
 
 LV2_DESC=		Use LV2 plugins
@@ -84,6 +84,9 @@ LV2_LIB_DEPENDS=	liblilv-0.so:audio/lilv \
 			libsord-0.so:devel/sord \
 			libsratom-0.so:audio/sratom \
 			libsuil-0.so:audio/suil
+
+OPENGL_CONFIGURE_WITH=	gl
+OPENGL_USE=		GL=gl,glu
 
 post-patch:
 	# the patch recommended by the upstream

Added: head/multimedia/cinelerra-gg/files/patch-cinelerra-5.1_cinelerra_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/cinelerra-gg/files/patch-cinelerra-5.1_cinelerra_Makefile	Sat Jul  7 08:01:05 2018	(r474062)
@@ -0,0 +1,11 @@
+--- cinelerra-5.1/cinelerra/Makefile.orig	2018-07-07 06:48:13 UTC
++++ cinelerra-5.1/cinelerra/Makefile
+@@ -415,7 +415,7 @@ LIBS += $(if $(filter x265,$(static_pkgs
+ LIBS += $(if $(filter libvpx,$(static_pkgs)), -lvpx)
+ 
+ ifneq ($(WANT_GL),no)
+-LIBS += -lGL -lGLU -lGLX
++LIBS += -lGL -lGLU
+ endif
+ ifneq ($(WANT_XFT),no)
+ LIBS += -lXft



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807070801.w678169n056749>