From owner-svn-ports-all@freebsd.org Sat Jul 7 00:09:29 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E36A103F8B1; Sat, 7 Jul 2018 00:09:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 308217662C; Sat, 7 Jul 2018 00:09:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 11AD87CCD; Sat, 7 Jul 2018 00:09:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6709SlI013859; Sat, 7 Jul 2018 00:09:28 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6709S5h013858; Sat, 7 Jul 2018 00:09:28 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807070009.w6709S5h013858@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 7 Jul 2018 00:09:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474043 - head/multimedia/cinelerra-gg X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/multimedia/cinelerra-gg X-SVN-Commit-Revision: 474043 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2018 00:09:29 -0000 Author: yuri Date: Sat Jul 7 00:09:28 2018 New Revision: 474043 URL: https://svnweb.freebsd.org/changeset/ports/474043 Log: multimedia/cinelerra-gg: Add the LV2 option to use LV2 plugins. Modified: head/multimedia/cinelerra-gg/Makefile head/multimedia/cinelerra-gg/pkg-plist Modified: head/multimedia/cinelerra-gg/Makefile ============================================================================== --- head/multimedia/cinelerra-gg/Makefile Fri Jul 6 23:56:13 2018 (r474042) +++ head/multimedia/cinelerra-gg/Makefile Sat Jul 7 00:09:28 2018 (r474043) @@ -3,6 +3,7 @@ PORTNAME= cinelerra-gg DISTVERSION= 5.1-20180705 DISTVERSIONSUFFIX= -${REV:C/(.......).*/\1/} +PORTREVISION= 1 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/ @@ -52,7 +53,7 @@ GNU_CONFIGURE= yes 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 --without-lv2 --disable-lame --disable-twolame \ +CONFIGURE_ARGS= --disable-static-build --disable-lame --disable-twolame \ --with-oss --without-alsa \ --without-gl --without-firewire --without-dv --without-dvb \ --without-video4linux2 --without-xxf86vm --without-ladspa-build \ @@ -68,6 +69,22 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC} DATADIR= ${PREFIX}/share/cin +OPTIONS_DEFINE= LV2 +OPTIONS_DEFAULT= LV2 +OPTIONS_SUB= yes + +LV2_DESC= Use LV2 plugins +LV2_CONFIGURE_WITH= lv2 +LV2_USES= pkgconfig +LV2_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk20,pango +LV2_CFLAGS= -I${LOCALBASE}/include/lilv-0 -I${LOCALBASE}/include/suil-0 +LV2_BUILD_DEPENDS= lv2>0:audio/lv2 +LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv \ + libserd-0.so:devel/serd \ + libsord-0.so:devel/sord \ + libsratom-0.so:audio/sratom \ + libsuil-0.so:audio/suil + post-patch: # the patch recommended by the upstream @cd ${CONFIGURE_WRKSRC}/ffmpeg && \ @@ -75,6 +92,9 @@ post-patch: # correct the bash interpreter path @cd ${CONFIGURE_WRKSRC}/cinelerra && ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ../configure.ac bdcreate.C dvdcreate.C shbtnprefs.C + +post-install-LV2-on: + @${RMDIR} ${STAGEDIR}${DATADIR}/lv2 do-configure: # configure needs bash @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/bash configure ${CONFIGURE_ARGS} Modified: head/multimedia/cinelerra-gg/pkg-plist ============================================================================== --- head/multimedia/cinelerra-gg/pkg-plist Fri Jul 6 23:56:13 2018 (r474042) +++ head/multimedia/cinelerra-gg/pkg-plist Sat Jul 7 00:09:28 2018 (r474043) @@ -1,5 +1,6 @@ bin/bdwrite bin/cin +%%LV2%%lib/cin/lv2ui lib/cin/plugins/audio/audioscope.plugin lib/cin/plugins/audio/compressor.plugin lib/cin/plugins/audio/dcoffset.plugin @@ -1163,6 +1164,7 @@ share/applications/cin.desktop %%DATADIR%%/ffmpeg/video/youtube.dfl %%DATADIR%%/ffmpeg/video/yuv.dfl %%DATADIR%%/info/plugins.txt +%%LV2%%%%DATADIR%%/lv2_blacklist.txt %%DATADIR%%/models/amazon01 %%DATADIR%%/models/amazon01.xcf.bz2 %%DATADIR%%/models/amazon01_body.png