Date: Fri, 26 Mar 2021 08:42:57 +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: r569249 - head/devel/juce Message-ID: <202103260842.12Q8gvJp006600@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Fri Mar 26 08:42:57 2021 New Revision: 569249 URL: https://svnweb.freebsd.org/changeset/ports/569249 Log: devel/juce: Add more BSD patches; Add DEMOS option Modified: head/devel/juce/Makefile head/devel/juce/distinfo head/devel/juce/pkg-message Modified: head/devel/juce/Makefile ============================================================================== --- head/devel/juce/Makefile Fri Mar 26 08:15:42 2021 (r569248) +++ head/devel/juce/Makefile Fri Mar 26 08:42:57 2021 (r569249) @@ -2,6 +2,7 @@ PORTNAME= juce DISTVERSION= 6.0.8 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -22,11 +23,11 @@ USE_GL= gl USE_XORG= x11 xcomposite xcursor xext xinerama xorgproto xrandr USE_GITHUB= yes -GH_ACCOUNT= yurivict # juce-framework +GH_ACCOUNT= yurivict # juce-framework + BSD patches GH_PROJECT= JUCE -GH_TAGNAME= 107cc92 +GH_TAGNAME= f37e9a1 -CMAKE_ON= JUCE_BUILD_EXTRAS # JUCE_BUILD_EXAMPLES +CMAKE_ON= JUCE_BUILD_EXTRAS CXXFLAGS+= -I${LOCALBASE}/include/freetype2 LDFLAGS+= -pthread -lfreetype @@ -34,18 +35,38 @@ LDFLAGS+= -lGL # while building NetworkGraphicsDemo ld LDFLAGS+= -lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof LDFLAGS+= -lsysinfo # while building Projucer ld: error: undefined symbol: sysinfo -CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lsysinfo -lexecinfo" # for the step 'Building juceaide' during configure phase: https://github.com/juce-framework/JUCE/issues/877 +CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lexecinfo" # for the step 'Building juceaide' during configure phase: https://github.com/juce-framework/JUCE/issues/877 PLIST_SUB+= VERSION=${PORTVERSION} +OPTIONS_DEFINE= DEMOS + +DEMOS_DESC= Build and install demo programs +DEMOS_USES= gnome pkgconfig +DEMOS_CMAKE_BOOL= JUCE_BUILD_EXAMPLES +DEMOS_LDFLAGS= -lexecinfo +DEMOS_USE= GNOME=atk,cairo,gdkpixbuf2,gtk30,pango +DEMOS_LIB_DEPENDS= libcurl.so:ftp/curl \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ + libsoup-2.4.so:devel/libsoup +DEMO_FILES= \ + AnalyticsCollectionDemo AnimationAppDemo AnimationDemo AudioAppDemo AudioLatencyDemo AudioPlaybackDemo AudioPluginDemo AudioRecordingDemo AudioSettingsDemo AudioSynthesiserDemo \ + BlocksDrawingDemo BlocksMonitorDemo BlocksSynthDemo BouncingBallWavetableDemo Box2DDemo ChildProcessDemo CodeEditorDemo ComponentDemo ComponentTransformsDemo ConvolutionDemo \ + CryptographyDemo DSPModulePluginDemo DialogsDemo FIRFilterDemo FlexBoxDemo FontsDemo GainDemo GraphicsDemo GridDemo HelloWorldDemo \ + IIRFilterDemo ImagesDemo InAppPurchasesDemo JavaScriptDemo KeyMappingsDemo LiveConstantDemo LookAndFeelDemo MDIDemo MPEDemo MenusDemo \ + MidiDemo MultiTouchDemo MultithreadingDemo NetworkingDemo OSCDemo OpenGLAppDemo OpenGLDemo OscillatorDemo OverdriveDemo PluckedStringsDemo \ + PropertiesDemo SIMDRegisterDemo SimpleFFTDemo StateVariableFilterDemo SystemInfoDemo TimersAndEventsDemo UnitTestsDemo ValueTreesDemo WaveShaperTanhDemo WebBrowserDemo \ + WidgetsDemo WindowsDemo XMLandJSONDemo +DEMOS_PLIST_FILES= ${DEMO_FILES:S/^/bin\/${PORTNAME}-/} + post-patch: # fix fonts.conf path - @${REINPLACE_CMD} -e ' \ + @${REINPLACE_CMD} -i '' -e ' \ s|"/etc/fonts/fonts.conf"|"${PREFIX}/etc/fonts/fonts.conf"| ; \ s|"/usr/share/fonts/fonts.conf"|"${PREFIX}/share/fonts/fonts.conf"| \ ' ${WRKSRC}/modules/juce_graphics/native/juce_linux_Fonts.cpp # fix JUCE modules path (but it still complains about the path) - @${REINPLACE_CMD} -e ' \ + @${REINPLACE_CMD} -i '' -e ' \ s|"~/JUCE|"${PREFIX}/include/JUCE-${PORTVERSION}| \ ' ${WRKSRC}/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp @@ -57,5 +78,10 @@ post-install: # fix path and strip juceaide cd ${STAGEDIR}${PREFIX} && ${MV} bin/JUCE-${PORTVERSION}/juceaide bin/ && ${RMDIR} bin/JUCE-${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/juceaide + +do-install-DEMOS-on: +.for e in ${DEMO_FILES} + ${INSTALL_PROGRAM} `${FIND} ${BUILD_WRKSRC} -name ${e}` ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${e} +.endfor .include <bsd.port.mk> Modified: head/devel/juce/distinfo ============================================================================== --- head/devel/juce/distinfo Fri Mar 26 08:15:42 2021 (r569248) +++ head/devel/juce/distinfo Fri Mar 26 08:42:57 2021 (r569249) @@ -1,3 +1,3 @@ -TIMESTAMP = 1616695479 -SHA256 (yurivict-JUCE-6.0.8-107cc92_GH0.tar.gz) = c2701575857b7ef96898b20811801cb3144d2d7fba89babba888bf7497b4c055 -SIZE (yurivict-JUCE-6.0.8-107cc92_GH0.tar.gz) = 14055294 +TIMESTAMP = 1616748092 +SHA256 (yurivict-JUCE-6.0.8-f37e9a1_GH0.tar.gz) = fb29c3d96d94234898fb0c0881a17e7ecb869e77cfdd8b561e63412cd5346b89 +SIZE (yurivict-JUCE-6.0.8-f37e9a1_GH0.tar.gz) = 14055337 Modified: head/devel/juce/pkg-message ============================================================================== --- head/devel/juce/pkg-message Fri Mar 26 08:15:42 2021 (r569248) +++ head/devel/juce/pkg-message Fri Mar 26 08:42:57 2021 (r569249) @@ -1,7 +1,7 @@ [ { type: install message: <<EOM -You installed JUCE: C++ application framework +You installed JUCE: C++ application framework. The main application that you probably need is Projucer. It allows you to develop, manage and deploy cross-platform applications.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103260842.12Q8gvJp006600>