diff --git a/astro/siril/Makefile b/astro/siril/Makefile index eeafb73d1580..222be09289d6 100644 --- a/astro/siril/Makefile +++ b/astro/siril/Makefile @@ -1,53 +1,53 @@ PORTNAME= siril DISTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro graphics MASTER_SITES= https://free-astro.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Astronomical image processing software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchange' #` .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= cmake:devel/cmake LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libcfitsio.so:astro/cfitsio \ libconfig.so:devel/libconfig \ libexiv2.so:graphics/exiv2 \ libffms2.so:multimedia/ffms2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ librtprocess.so:graphics/librtprocess \ libtiff.so:graphics/tiff \ libwcs.so:astro/wcslib LIB_DEPENDS+= libopencv_photo.so:graphics/opencv # for some reason, configure fails without opencv, but executable only links to opencv-core USES= compiler:c++11-lang desktop-file-utils gettext \ gnome meson pkgconfig jpeg shared-mime-info tar:bz2 USE_GNOME= atk cairo gdkpixbuf2 gtk30 intltool pango BINARY_ALIAS= git=false OPTIONS_DEFINE= CURL OPENMP OPTIONS_DEFAULT= CURL OPENMP OPENMP_MESON_OFF= -Dopenmp=false CURL_MESON_YES= enable-libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl .include diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index 18496394de87..93e0dade7501 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -1,141 +1,141 @@ PORTNAME= cimg DISTVERSIONPREFIX= v. DISTVERSION= 3.1.4 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= graphics devel MAINTAINER= thierry@FreeBSD.org COMMENT= C++ Template Image Processing Library LICENSE= CeCILL_C CeCILL LICENSE_COMB= dual LICENSE_NAME_CeCILL_C= CeCILL-C LICENSE_NAME_CeCILL= CeCILL LICENSE_FILE_CeCILL_C= ${WRKSRC}/Licence_CeCILL-C_V1-en.txt LICENSE_FILE_CeCILL= ${WRKSRC}/Licence_CeCILL_V2-en.txt LICENSE_PERMS_CeCILL_C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_CeCILL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USE_GITHUB= yes GH_ACCOUNT= dtschump GH_PROJECT= CImg BUILD_WRKSRC= ${WRKSRC}/examples OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} USES+= compiler:c11 gmake pkgconfig:build xorg .endif .if ${PORT_OPTIONS:MDOCS} .if !defined(WITHOUT_LAPACK) . if defined(WITH_ATLAS) USES+= blaslapack:atlas . else USES+= blaslapack . endif .endif REINPLACE_ARGS= -i "" #LIB_DEPENDS+= libboard.so:graphics/libboard . if !defined(WITH_DEBUG) LIB_DEPENDS+= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libImath.so:math/Imath \ libheif.so:graphics/libheif \ libOpenEXR.so:graphics/openexr \ libgimp-2.0.so:graphics/gimp-app \ libfftw3.so:math/fftw3 \ libopencv_core.so:graphics/opencv \ libGraphicsMagick.so:graphics/GraphicsMagick USES+= jpeg ALL_TARGET= Mlinux . else ALL_TARGET= dlinux WITHOUT_MEDCON= yes WITHOUT_FFMPEG= yes WITHOUT_LAPACK= yes . endif . if !defined(WITHOUT_MEDCON) RUN_DEPENDS+= medcon:graphics/xmedcon . endif . if !defined(WITHOUT_FFMPEG) LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg . endif . if !defined(WITHOUT_LAPACK) # Don't really need Fortran, but required to link with blas/lapack USES+= fortran . endif USE_XORG+= x11 xrandr . if defined(WITH_XSHM) USE_XORG+= xext . endif DOCBASE= README.txt CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}" PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \ edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \ hough_transform2d image2ascii image_registration2d image_surface3d \ jawbreaker mcf_levelsets2d mcf_levelsets3d odykill \ pde_TschumperleDeriche2d pde_heatflow2d plotter1d radon_transform2d \ scene3d spherical_function3d tetris tron tutorial use_RGBclass \ use_chlpca use_draw_gradient use_jpeg_buffer use_nlmeans use_skeleton \ wavelet_atrous .else NO_BUILD= yes .endif .include pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile pre-configure: . if !defined(WITHOUT_FFMPEG) ${REINPLACE_CMD} -e 's|#FFMPEG_CFLAGS|FFMPEG_CFLAGS|' \ -e 's|#FFMPEG_DEFINE|FFMPEG_DEFINE|' \ -e 's|#FFMPEG_LIBS|FFMPEG_LIBS|' \ ${BUILD_WRKSRC}/Makefile . endif . if !defined(WITHOUT_LAPACK) ${REINPLACE_CMD} -e 's|#LAPACK_CFLAGS|LAPACK_CFLAGS|' \ -e 's|#LAPACK_DEFINE|LAPACK_DEFINE|' \ -e 's|#LAPACK_LIBS|LAPACK_LIBS|' \ -e 's|-lblas -llapack|-L${LOCALBASE}/lib ${BLASLIB} ${LAPACKLIB}|' \ ${BUILD_WRKSRC}/Makefile . endif . if defined(WITH_XSHM) ${REINPLACE_CMD} -e 's|XSHM_CFLAGS = #|XSHM_CFLAGS =|' \ -e 's|XSHM_LDFLAGS = #|XSHM_LDFLAGS =|' \ ${BUILD_WRKSRC}/Makefile . endif do-install: ${INSTALL_DATA} ${WRKSRC}/CImg.h ${STAGEDIR}${PREFIX}/include do-install-DOCS-on: ${INSTALL_PROGRAM} ${PROGS:C|^|${BUILD_WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCBASE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) @${RM} ${STAGEDIR}${EXAMPLESDIR}/*.orig .include diff --git a/graphics/dbow2/Makefile b/graphics/dbow2/Makefile index f0942fc41642..94e098e5fc14 100644 --- a/graphics/dbow2/Makefile +++ b/graphics/dbow2/Makefile @@ -1,26 +1,26 @@ PORTNAME= dbow2 DISTVERSIONPREFIX= v DISTVERSION= 1.1-free-23 DISTVERSIONSUFFIX= -g3924753 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= C++ Library for converting images into a bag-of-word representation LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libopencv_photo.so:graphics/opencv \ libopencv_core.so:graphics/opencv USES= cmake compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= dorian3d GH_PROJECT= DBoW2 CMAKE_OFF= BUILD_Demo .include diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile index 5322fc19ce7d..42c9271a59cd 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,103 +1,104 @@ PORTNAME= digikam DISTVERSION= 7.8.0 +PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/${PORTNAME}/${PORTVERSION} # One bit changed in the naming convention .. DISTFILES= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT= KDE digital photo management application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libKF5Sane.so:graphics/libksane \ libboost_graph.so:devel/boost-libs \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgphoto2.so:graphics/libgphoto2 \ libicalss.so:devel/libical \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ liblqr-1.so:graphics/liblqr-1 \ libopencv_core.so:graphics/opencv \ libheif.so:graphics/libheif \ libpgf.so:graphics/libpgf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 USES= bison cmake compiler:c++11-lib desktop-file-utils eigen:3 gl \ gnome jpeg kde:5 magick pkgconfig qt:5 shebangfix tar:xz xorg USE_GL= gl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= archive auth bookmarks calendarcore codecs completion config \ configwidgets coreaddons crash doctools ecm filemetadata \ guiaddons i18n iconthemes itemmodels itemviews jobwidgets kdelibs4support \ kio marble libkipi notifications notifyconfig parts service \ solid sonnet textwidgets threadweaver unitconversion \ widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui location network opengl \ printsupport sql webchannel widgets x11extras xml xmlpatterns \ sql-sqlite3_run \ buildtools_build qmake_build USE_XORG= ice sm x11 xext USE_LDCONFIG= yes SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree # Disable kipiplugins, as they are built in their own port: graphics/kipiplugins. # Remember to keep that port in sync with this one. CMAKE_ON= DIGIKAMSC_COMPILE_DIGIKAM OPTIONS_DEFINE= DOCS DOXYGEN KDEPIM KVKONTAKTE MEDIAPLAYER MYSQL NLS WEBENGINE OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NWEBENGINE} OPTIONS_SUB= yes DOCS_DESC= Digikam documentation DOCS_CMAKE_BOOL= DIGIKAMSC_COMPILE_DOC DOCS_USES= gettext DOCS_USE= KDE=doctools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts,grantleetheme KDEPIM_USES= grantlee:5 KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT KDEPIM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5AkonadiContact MEDIAPLAYER_DESC= Enable mediaplayer MEDIAPLAYER_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libQtAV.so:multimedia/QtAV MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg \ CMAKE_DISABLE_FIND_PACKAGE_QtAV MYSQL_USES= mysql:server MYSQL_USE= QT=sql-mysql_run MYSQL_CMAKE_BOOL= ENABLE_INTERNALMYSQL \ ENABLE_MYSQLSUPPORT MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ -DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin KVKONTAKTE_DESC= vk.com Plugin KVKONTAKTE_LIB_DEPENDS= libKF5Vkontakte.so:net/libkvkontakte KVKONTAKTE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Vkontakte NLS_DESC= Digikam i18n translations NLS_CMAKE_BOOL= DIGIKAMSC_COMPILE_PO NLS_USES= gettext NLS_USE= KDE=i18n WEBENGINE_DESC= Use Qt WebEngine instead of WebKit WEBENGINE_USE= QT=webengine WEBENGINE_USE_OFF= QT=webkit WEBENGINE_CMAKE_BOOL= ENABLE_QWEBENGINE PLIST_SUB= SHLIB_VER=${DISTVERSION} .include diff --git a/graphics/facedetect/Makefile b/graphics/facedetect/Makefile index 667feca16f5c..c0d9181521cb 100644 --- a/graphics/facedetect/Makefile +++ b/graphics/facedetect/Makefile @@ -1,33 +1,33 @@ PORTNAME= facedetect PORTVERSION= 0.1 DISTVERSIONPREFIX= v -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Simple face detector for batch processing LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.txt RUN_DEPENDS= opencv>0:graphics/opencv USES= python:3.6+,run shebangfix USE_GITHUB= yes GH_ACCOUNT= wavexx SHEBANG_FILES= facedetect NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/facedetect post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/frei0r/Makefile b/graphics/frei0r/Makefile index 2d34c292f5e4..4cb3a8c46724 100644 --- a/graphics/frei0r/Makefile +++ b/graphics/frei0r/Makefile @@ -1,76 +1,76 @@ PORTNAME= frei0r PORTVERSION= 1.8.0 DISTVERSIONPREFIX= plugins- -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics MASTER_SITES?= https://files.dyne.org/frei0r/releases/ MAINTAINER= jhale@FreeBSD.org COMMENT?= Minimalistic plugin API for video effects .if !defined(BUILDING_FREI0R_METAPORT) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= cmake compiler:c++11-lang pkgconfig .if defined(BUILDING_FREI0R_OPENCV) && defined(BUILDING_FREI0R_GAVL) IGNORE= cannot build OpenCV and gavl plugins simultaneously .endif .if defined(BUILDING_FREI0R_OPENCV) || defined(BUILDING_FREI0R_GAVL) EXTRA_PATCHES= ${PATCHDIR}/extra-patch-frei0r-plugins USES+= localbase .endif .if defined(BUILDING_FREI0R_OPENCV) PORTREVISION= 0 COMMENT= Frei0r OpenCV plugins PKGNAMESUFFIX= -plugins-opencv LIB_DEPENDS+= libopencv_core.so:graphics/opencv \ libopencv_video.so:graphics/opencv FREI0R_PLUGINS= facebl0r facedetect CMAKE_ARGS+= -DWITHOUT_OPENCV:BOOL=OFF \ -DWITHOUT_GAVL:BOOL=ON .elif defined(BUILDING_FREI0R_GAVL) PORTREVISION= 0 COMMENT= Frei0r gavl plugins PKGNAMESUFFIX= -plugins-gavl LIB_DEPENDS+= libgavl.so:multimedia/gavl FREI0R_PLUGINS= rgbparade scale0tilt vectorscope CMAKE_ARGS+= -DWITHOUT_OPENCV:BOOL=ON \ -DWITHOUT_GAVL:BOOL=OFF .else EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt USES+= gnome USE_GNOME= cairo CMAKE_ARGS+= -DWITHOUT_OPENCV:BOOL=ON \ -DWITHOUT_GAVL:BOOL=ON .endif # !defined(BUILDING_FREI0R_OPENCV) && !defined(BUILDING_FREI0R_GAVL) .if defined(FREI0R_PLUGINS) PLIST= ${WRKSRC}/PLIST . for FILE in ${FREI0R_PLUGINS} PLIST_FILES+= lib/frei0r-1/${FILE}.so . endfor .endif .include .if ${CHOSEN_COMPILER_TYPE} == gcc # work around regression seen in GCC 10 but not in GCC 9: # src/filter/elastic_scale/elastic_scale.cpp:152: error: ISO C++ forbids initialization of member 'm_transformationCalculations' CFLAGS+= -Wno-error CXXFLAGS+= -Wno-error .endif .include .endif # !defined(BUILDING_FREI0R_METAPORT) diff --git a/graphics/gimp-gmic-plugin/Makefile b/graphics/gimp-gmic-plugin/Makefile index 28c4253a6aca..29ca6cc59b0b 100644 --- a/graphics/gimp-gmic-plugin/Makefile +++ b/graphics/gimp-gmic-plugin/Makefile @@ -1,72 +1,72 @@ PORTNAME= gmic PORTVERSION= 1.6.9 -PORTREVISION= 35 +PORTREVISION= 36 CATEGORIES= graphics MASTER_SITES= http://gmic.eu/files/source/ PKGNAMEPREFIX= gimp- PKGNAMESUFFIX= -plugin DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= rm@FreeBSD.org COMMENT= GREYC's Magic Image Converter BROKEN= OpenCV4 no longer ships OpencCV-1.0 headers LIB_DEPENDS= libGraphicsMagick++.so:graphics/GraphicsMagick \ libOpenEXR.so:graphics/openexr \ libopencv_video.so:graphics/opencv \ libavcodec.so:multimedia/ffmpeg \ libfftw3.so:math/fftw3 \ libgimp-2.0.so:graphics/gimp-app \ libcurl.so:ftp/curl OPTIONS_DEFINE= BASH EXAMPLES OPTIONS_SUB= yes BASH_RUN_DEPENDS= bash:shells/bash WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src USES= dos2unix gmake gnome localbase magick:6 pkgconfig xorg USE_GCC= yes USE_GNOME= gtk20 USE_XORG= x11 xext xrandr DOS2UNIX_FILES= Makefile PLUGIN_DIR?= libexec/gimp/2.2/plug-ins PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR} CFLAGS:= ${CFLAGS:N-O*:N-pipe} CXXFLAGS:= ${CXXFLAGS:N-O*:N-pipe} DOTLESS_VER= ${PORTVERSION:S/.//g} PLIST_FILES= bin/gmic \ man/man1/gmic.1.gz \ %%BASH%%etc/bash_completion.d/gmic \ %%PLUGIN_DIR%%/gmic_gimp \ %%PLUGIN_DIR%%/cli_update${DOTLESS_VER}.gmic \ %%PLUGIN_DIR%%/gimp_update${DOTLESS_VER}.gmic EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp post-patch: @${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ -e 's#/usr/local#${LOCALBASE}#g' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_DATA} ${WRKSRC}/../resources/cli_update${DOTLESS_VER}.gmic \ ${WRKSRC}/../resources/gimp_update${DOTLESS_VER}.gmic \ ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} do-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/gmic .include diff --git a/graphics/gmic/Makefile b/graphics/gmic/Makefile index ddc89d9fcfda..94b8d06cff33 100644 --- a/graphics/gmic/Makefile +++ b/graphics/gmic/Makefile @@ -1,47 +1,48 @@ PORTNAME= gmic DISTVERSION= 3.1.6 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://gmic.eu/files/source/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for image processing LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/../COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_i386= error: "c++ crashes, clang-5 and 6 fail: undefined reference to `__atomic_load'" .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= gimptool-2.0:graphics/gimp-app LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libGraphicsMagick++.so:graphics/GraphicsMagick \ libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang gettext-runtime gmake jpeg localbase:ldflags pkgconfig xorg USE_LDCONFIG= yes USE_XORG= x11 xau xcb xdmcp WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC_SUBDIR= src # because of makefile issues, see https://github.com/dtschump/gmic/issues/405 MAKE_JOBS_UNSAFE= yes # see https://github.com/dtschump/gmic/issues/406 ALL_TARGET= lib cli # cli is bundled here until https://github.com/dtschump/gmic/issues/407 is fixed, afvter which is would be moved to gmic-cli PORTSCOUT= limit:[0-9]\..* # not v.220 and similar post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgmic.so.* .include diff --git a/graphics/nomacs/Makefile b/graphics/nomacs/Makefile index 71dde2b99efb..d0ba4690ae30 100644 --- a/graphics/nomacs/Makefile +++ b/graphics/nomacs/Makefile @@ -1,51 +1,51 @@ PORTNAME= nomacs PORTVERSION= 3.16 DISTVERSIONSUFFIX= .224 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics PATCH_SITES= https://github.com/nomacs/nomacs/commit/ PATCHFILES= 8c44e10ae48a88ed2ea885f432c65a0859013011.patch:-p1 MAINTAINER= vidar@karlsen.tech COMMENT= Small, fast, and free image viewer LICENSE= GPLv3 LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv \ liblcms2.so:graphics/lcms2 \ libquazip1-qt5.so:archivers/quazip USES= cmake compiler:c++11-lang cpe desktop-file-utils \ dos2unix pkgconfig qt:5 USE_QT= concurrent core gui network printsupport svg widgets \ buildtools_build linguisttools_build qmake_build DOS2UNIX_FILES= ImageLounge/plugins/PaintPlugin/src/DkPaintPlugin.cpp \ ImageLounge/src/DkGui/DkWidgets.cpp USE_LDCONFIG= yes USE_GITHUB= yes CMAKE_ARGS= -DUSE_SYSTEM_QUAZIP=ON CMAKE_SOURCE_PATH= ${WRKSRC}/ImageLounge OPTIONS_DEFINE= RAW TIFF TRANSLATIONS PLUGINS OPTIONS_DEFAULT= RAW TIFF TRANSLATIONS PLUGINS OPTIONS_SUB= yes RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CMAKE_BOOL= ENABLE_RAW TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL= ENABLE_TIFF TRANSLATIONS_CMAKE_BOOL= ENABLE_TRANSLATIONS TRANSLATIONS_DESC= Install translations PLUGINS_GH_TUPLE= nomacs:nomacs-plugins:3.16:plugins/ImageLounge/plugins PLUGINS_CMAKE_ON= ENABLE_PLUGINS .include diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index fb11a2fc3f2f..e9f55b79a843 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -1,119 +1,119 @@ PORTNAME= opencolorio DISTVERSIONPREFIX= v DISTVERSION= 2.1.2 # PORTREVISION must be set with ?= so as not to stomp over # py-opencolorio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= Complete color management solution LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libImath.so:math/Imath \ libpystring.so:devel/pystring \ libyaml-cpp.so:devel/yaml-cpp USES= alias cmake compiler:c++14-lang localbase:ldflags \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenColorIO CMAKE_OFF= OCIO_BUILD_JAVA OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} .include .if (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}) CMAKE_ON+= OCIO_USE_SSE .else CMAKE_OFF+= OCIO_USE_SSE .endif .if ${PORT_OPTIONS:MDOCS} # master and pymodule use these # DOCS needs to be enabled for python docstrings to be generated # py module can still be used without BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}breathe>=0:devel/py-breathe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0:textproc/py-recommonmark@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_press_theme>=0:textproc/py-sphinx_press_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-tabs>0:textproc/py-sphinx-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} .endif .if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools LIB_DEPENDS+= liblcms2.so:graphics/lcms2 \ libOpenColorIO.so:graphics/opencolorio \ libOpenImageIO.so:graphics/openimageio \ libopencv_core.so:graphics/opencv \ libOpenEXR.so:graphics/openexr CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS CMAKE_OFF+= BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=14 LDFLAGS+= -lOpenImageIO_Util USES+= gl xorg USE_GL= egl gl glu glut glew USE_XORG= xi xmu PLIST= ${PKGDIR}/pkg-plist-tools .elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule BUILD_DEPENDS+= pybind11>0:devel/pybind11 LIB_DEPENDS+= libOpenColorIO.so:graphics/opencolorio # textproc/py-sphinx_press_theme doesn't support py3.6 USES+= python:3.7+ LDFLAGS+= -lOpenColorIO CMAKE_ON+= OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} PLIST= ${PKGDIR}/pkg-plist-pyglue # concurrent allows docs to not collide with master port USE_PYTHON= concurrent flavors .else # master port # we enable pyglue in master port. This makes the python module # available when generating docs, we leave the python header in place # but only install the python module with the py-opencolorio port # this makes it easier to allow multiple python versions installed BUILD_DEPENDS+= pybind11>0:devel/pybind11 CMAKE_ON+= BUILD_SHARED_LIBS OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} USES+= gl python:build xorg USE_GL= gl glu glut glew USE_XORG= xi xmu USE_LDCONFIG= yes PLIST= ${PKGDIR}/pkg-plist ${PKGDIR}/pkg-plist-docs .endif post-install: @cd ${STAGEDIR}${PREFIX} && ${RM} -r share/ocio .if defined(OCIO_SLAVE) @cd ${STAGEDIR}${PREFIX} && ${RM} -r include libdata lib/cmake lib/libOpenColorIO.a .endif .if !defined(OCIO_SLAVE) || (defined(OCIO_SLAVE) && ${OCIO_SLAVE} != pymodule) @cd ${STAGEDIR}${PREFIX} && ${RM} -r lib/libOpenColorIO*.a lib/python* .endif post-install-DOCS-on: @cd ${STAGEDIR}${PREFIX}/share/doc && ${MV} OpenColorIO ${PKGNAMEPREFIX}${PORTNAME} .include diff --git a/graphics/openimageio-ociov1/Makefile b/graphics/openimageio-ociov1/Makefile index c5d1b5a410fe..040694dd91cb 100644 --- a/graphics/openimageio-ociov1/Makefile +++ b/graphics/openimageio-ociov1/Makefile @@ -1,102 +1,102 @@ PORTNAME= openimageio DISTVERSIONPREFIX= Release- DISTVERSION= 2.2.21.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics multimedia PKGNAMESUFFIX= -ociov1 # special port to link oiio libs with ociov1 # specifically to build blender-lts28 while still officially supported MAINTAINER= FreeBSD@Shaneware.biz COMMENT= OpenImageIO graphics library linked to ocio v1 LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libheif.so:graphics/libheif \ libImath.so:math/Imath \ libOpenColorIOv1.so:graphics/opencoloriov1 \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png \ libsquish.so:graphics/squish \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake jpeg compiler:c++14-lang iconv:wchar_t USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio CMAKE_ON= USE_OCIO CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ STOP_ON_WARNING USE_OPENSSL USE_QT USE_OPENGL \ OIIO_BUILD_TESTS OIIO_BUILD_TOOLS USE_PYTHON USE_LDCONFIG= yes OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF \ OPENCV OPENJPEG PTEX RAW TBB VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} DICOM_DESC= DICOM/MEDICOM support DICOM_CMAKE_BOOL= USE_DICOM DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk FFMPEG_DESC= Use FFmpeg to support extra file types FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FREETYPE_CMAKE_BOOL= USE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PTEX_DESC= ptex support PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw TBB_DESC= Intel tbb support TBB_CMAKE_BOOL= USE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb VDB_DESC= OpenVDB support VDB_CMAKE_ARGS= -DCMAKE_CXX_STANDARD=14 VDB_CMAKE_BOOL= USE_OPENVDB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb # DISTVERSION has an extra digit which isn't in the lib name # for LIBVERS we want the first three digits PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} DOCSDIR= ${PREFIX}/share/doc/openimageio-${PKGNAMESUFFIX} post-patch: ${REINPLACE_CMD} -e 's| diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 6dba4d5dc115..b59fc067252e 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,135 +1,135 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.3.18.0 # PORTREVISION must be set with ?= so as not to stomp over # py-openimageio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libheif.so:graphics/libheif \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png \ libsquish.so:graphics/squish \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake jpeg compiler:c++14-lang iconv:wchar_t qt:5 USE_QT+= buildtools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ STOP_ON_WARNING USE_OPENSSL OIIO_DOWNLOAD_MISSING_TESTDATA OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX TOOLS VDB OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} DICOM_DESC= DICOM/MEDICOM support DICOM_CMAKE_BOOL= USE_DICOM DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk FFMPEG_DESC= Use FFmpeg to support extra file types FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FREETYPE_CMAKE_BOOL= USE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib IMAGEVIEWER_DESC= Build image viewer (requires Qt) IMAGEVIEWER_USES= gl IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_CMAKE_BOOL= USE_QT USE_OPENGL IMAGEVIEWER_USE= GL=gl,glu,glew \ QT=buildtools,core,gui,opengl,qmake_build,widgets OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PTEX_DESC= ptex support PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw TBB_DESC= Intel tbb support TBB_CMAKE_BOOL= USE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_DESC= OpenVDB support VDB_CMAKE_BOOL= USE_OPENVDB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} SHL1=${PORTVERSION:R:R:R} SHL2= ${PORTVERSION:R:R} SHL1= ${PORTVERSION:R:R:R} post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/src/cmake/modules/FindPtex.cmake .include .if ${SLAVE_PORT} == yes BUILD_DEPENDS+= ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio PLIST= ${PKGDIR}/pkg-plist-pybind USES+= python USE_PYTHON= flavors CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= USE_QT USE_OPENGL OIIO_BUILD_TOOLS OIIO_BUILD_TESTS \ EMBED_PLUGINS CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} do-install: ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/OpenImageIO*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .else # SLAVE_PORT != yes USE_LDCONFIG= yes CMAKE_OFF+= USE_PYTHON post-install: ${LN} -sf libOpenImageIO.so.${SHL2} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL2} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL1} do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/openmvs/Makefile b/graphics/openmvs/Makefile index f6137697afbc..e9356fe760ae 100644 --- a/graphics/openmvs/Makefile +++ b/graphics/openmvs/Makefile @@ -1,42 +1,42 @@ PORTNAME= openmvs DISTVERSIONPREFIX= v DISTVERSION= 2.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Open Multi-View Stereo reconstruction library LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= use of undeclared identifier '__builtin_ia32_emms' # https://github.com/cdcseacave/openMVS/issues/847 BUILD_DEPENDS= cgal>0:math/cgal \ ${LOCALBASE}/include/sys/sysinfo.h:devel/libsysinfo \ vcglib>0:devel/vcglib LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libceres.so:math/ceres-solver \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libopencv_core.so:graphics/opencv \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++17-lang eigen:3 jpeg USE_GITHUB= yes GH_ACCOUNT= cdcseacave GH_PROJECT= openMVS CMAKE_ON= BUILD_SHARED_LIBS OpenMVS_USE_CERES CMAKE_OFF= OpenMVS_BUILD_TOOLS # tools can't be built because of https://github.com/cdcseacave/openMVS/issues/846 CMAKE_ARGS= -DVCG_ROOT=${LOCALBASE}/include/vcglib .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DOpenMVS_USE_SSE:BOOL=OFF .endif .include diff --git a/graphics/p5-Image-ObjectDetect/Makefile b/graphics/p5-Image-ObjectDetect/Makefile index 79e10ac11e45..9f207728fe22 100644 --- a/graphics/p5-Image-ObjectDetect/Makefile +++ b/graphics/p5-Image-ObjectDetect/Makefile @@ -1,22 +1,22 @@ PORTNAME= Image-ObjectDetect PORTVERSION= 0.12 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= anes@anes.su COMMENT= Detects objects from picture using opencv LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BROKEN= OpenCV4 no longer ships OpencCV-1.0 headers BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/opencv.pc:graphics/opencv USE_PERL5= configure USES= perl5 pkgconfig .include diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile index 7dca9ef56889..4a4b1966f6bb 100644 --- a/graphics/pfstools/Makefile +++ b/graphics/pfstools/Makefile @@ -1,110 +1,110 @@ PORTNAME= pfstools DISTVERSION= 2.1.0 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= fbsd@any.com.ru COMMENT= Tools for manipulating HDR images and video frames LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash CONFLICTS= pfstmo-1.* pfscalibration-1.* CFLAGS+= -I${LOCALBASE}/include/Imath LDFLAGS+= -lthr USES= cmake cpe tar:tgz dos2unix jpeg perl5 USE_PERL5= run USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ -DWITH_MATLAB=OFF \ -DBASH_EXECUTABLE:STRING=${LOCALBASE}/bin/bash \ -DPERL_EXECUTABLE:STRING=${PERL} DOS2UNIX_GLOB= *.txt *.cmake \ *.h *.c *.cpp \ *.1 MANCOMPRESSED= yes OPTIONS_DEFINE= TIFF OPENEXR IMAGEMAGICK NETPBM \ OCTAVE FFTW GSL \ ALIGN GLVIEW VIEW \ OPENMP OPTIONS_DEFAULT= TIFF FFTW GSL NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OCTAVE_DESC= Compile octave interface functions GSL_DESC= Use Gnu Scientific Libarary required for some TMOs ALIGN_DESC= Compile pfsalign, requires OpenCV w/NONFREE and libexif VIEW_DESC= Compile pfsview, requires QT5 GLVIEW_DESC= Compile pfsglview, requires GLUT TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff OPENEXR_CMAKE_BOOL= WITH_OpenEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath IMAGEMAGICK_CMAKE_BOOL= WITH_ImageMagick IMAGEMAGICK_USES= magick:6 NETPBM_CMAKE_BOOL= WITH_NetPBM NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm NETPBM_IMPLIES= TIFF OCTAVE_CMAKE_BOOL= WITH_Octave OCTAVE_PATCH_DEPENDS= octave-config:math/octave OCTAVE_BUILD_DEPENDS= mkoctfile:math/octave OCTAVE_RUN_DEPENDS= octave:math/octave OCTAVE_USES= shebangfix OCTAVE_CXXFLAGS= -std=c++11 FFTW_CMAKE_BOOL= WITH_FFTW FFTW_CMAKE_ON= -DFFTW_INCLUDE_DIRS=${LOCALBASE}/include FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float GSL_CMAKE_BOOL= WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl ALIGN_CMAKE_BOOL= WITH_OpenCV # requires NONFREE=on which isn't a default ALIGN_LIB_DEPENDS= libopencv_nonfree.so:graphics/opencv \ libexif.so:graphics/libexif GLVIEW_CMAKE_BOOL= WITH_pfsglview GLVIEW_CMAKE_ON= -DGLUT_INCLUDE_DIRS=${LOCALBASE}/include GLVIEW_USES= gl GLVIEW_USE= GL=glut GL=gl,glu VIEW_CMAKE_BOOL= WITH_QT VIEW_USES= gl qt:5 VIEW_USE= GL=glut GL=gl,glu QT=core,gui,widgets,buildtools_build,qmake_build .include .if ${PORT_OPTIONS:MIMAGEMAGICK} && !${PORT_OPTIONS:MOPENMP} USES+= compiler:c++11-lib .endif .if ${PORT_OPTIONS:MOCTAVE} OCTAVE_BASE?= ${LOCALBASE} OCTAVE_VERSION!=${OCTAVE_BASE}/bin/octave-config -v 2>&1 || ${ECHO} "0" OCTAVE_SITE_OCT!=${OCTAVE_BASE}/bin/octave-config --oct-site-dir 2>&1 || ${ECHO} "" OCTAVE_SITE_M!= ${OCTAVE_BASE}/bin/octave-config --m-site-dir 2>&1 || ${ECHO} "" PLIST_SUB= OCTAVE_BASE=${OCTAVE_BASE} \ OCTAVE_SITE_M=${OCTAVE_SITE_M:S|^${OCTAVE_BASE}/||} \ OCTAVE_SITE_OCT=${OCTAVE_SITE_OCT:S|^${OCTAVE_BASE}/||} SHEBANG_FILES= src/octave/pfs* SHEBANG_LANG= octave octave_OLD_CMD?=/usr/bin/octave octave_CMD?= ${OCTAVE_BASE}/bin/octave-cli .endif .include diff --git a/graphics/php-facedetect/Makefile b/graphics/php-facedetect/Makefile index 714e0fc45b63..a51cd178932c 100644 --- a/graphics/php-facedetect/Makefile +++ b/graphics/php-facedetect/Makefile @@ -1,26 +1,26 @@ PORTNAME= facedetect PORTVERSION= 1.1 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= mm@FreeBSD.org COMMENT= Face detection extension for PHP using OpenCV library LICENSE= PHP30 LIB_DEPENDS= libopencv_objdetect.so:graphics/opencv USE_GITHUB= yes GH_ACCOUNT= infusion GH_PROJECT= PHP-Facedetect GH_TAGNAME= 2a8974b LIBS+= -lopencv_core USES= compiler:c11 localbase php:ext pkgconfig IGNORE_WITH_PHP= 81 82 CONFIGURE_ARGS+= --with-facedetect .include diff --git a/graphics/py-willow/Makefile b/graphics/py-willow/Makefile index c3e08d0c5343..9a4cb4ab16ac 100644 --- a/graphics/py-willow/Makefile +++ b/graphics/py-willow/Makefile @@ -1,30 +1,31 @@ PORTNAME= willow PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Willow-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Wrapper that combines multiple Python image libraries into one API LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= PILLOW WAND OPENCV OPTIONS_DEFAULT=PILLOW OPENCV_DESC= Use OpenCV as backend PILLOW_DESC= Use Pillow as backend WAND_DESC= Use Wand as backend OPENCV_RUN_DEPENDS= opencv>=0:graphics/opencv PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wand>=0:graphics/py-wand@${PY_FLAVOR} .include diff --git a/graphics/rubygem-objectdetect/Makefile b/graphics/rubygem-objectdetect/Makefile index b086e55c91dc..ad867b0d4a8f 100644 --- a/graphics/rubygem-objectdetect/Makefile +++ b/graphics/rubygem-objectdetect/Makefile @@ -1,22 +1,22 @@ PORTNAME= objectdetect PORTVERSION= 0.0.3 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= tota@FreeBSD.org COMMENT= Simple library for detecting objects in pictures LICENSE= MIT BROKEN= OpenCV4 no longer ships OpencCV-1.0 headers LIB_DEPENDS= libopencv_video.so:graphics/opencv USE_RUBY= yes USES= gem pkgconfig post-patch: ${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb .include diff --git a/graphics/shotwell/Makefile b/graphics/shotwell/Makefile index 068e73dd5d69..12f353d3e3db 100644 --- a/graphics/shotwell/Makefile +++ b/graphics/shotwell/Makefile @@ -1,58 +1,59 @@ PORTNAME= shotwell PORTVERSION= 0.30.16 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME MAINTAINER= cmt@FreeBSD.org COMMENT= Open source photo manager for GNOME LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgio-2.0.so:devel/glib20 \ libjson-glib-1.0.so:devel/json-glib \ libgdata.so:devel/libgdata \ libgee-0.8.so:devel/libgee \ libsoup-2.4.so:devel/libsoup \ libexiv2.so:graphics/exiv2 \ libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \ libgexiv2.so:graphics/gexiv2 \ libexif.so:graphics/libexif \ libgphoto2.so:graphics/libgphoto2 \ libraw.so:graphics/libraw \ libgcr-ui-3.so:security/gcr \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libxml2.so:textproc/libxml2 USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer meson \ ninja pkgconfig python:3.4+,build shebangfix sqlite tar:xz vala:build xorg CPE_VENDOR= gnome USE_GNOME= cairo dconf gtk30 USE_LDCONFIG= yes USE_XORG= x11 SHEBANG_FILES= build-aux/meson/postinstall.py python_OLD_CMD= "/usr/bin/env python3" python_CMD= ${SETENV} ${PYTHON_VERSION} MESON_ARGS= -Dudev=false -Dextra-plugins=true -Dinstall-apport-hook=false \ -Dpublishers=facebook,flickr,gallery3,picasa,piwigo,rajce,tumblr,yandex,youtube PORTSCOUT= limitw:1,even MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= FACED OPTIONS_SUB= yes FACED_DESC= Face Detection FACED_CONFIGURE_ON= -Dface-detection=true FACED_CONFIGURE_OFF= -Dface-detection=false FACED_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ libopencv_photo.so:graphics/opencv PLIST_SUB= DISTVERSION=${DISTVERSION} GLIB_SCHEMAS= org.yorba.shotwell.gschema.xml org.yorba.shotwell-extras.gschema.xml .include diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile index c9058a203e32..5e1a5acd6557 100644 --- a/graphics/waifu2x-converter-cpp/Makefile +++ b/graphics/waifu2x-converter-cpp/Makefile @@ -1,47 +1,47 @@ PORTNAME= waifu2x-converter-cpp DISTVERSIONPREFIX= v DISTVERSION= 5.3.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= Scale and denoise images using convolutional neural networks LICENSE= BSD2CLAUSE MIT LICENSE_COMB= multi LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/include/picojson_LICENSE.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl LIB_DEPENDS= libopencv_imgcodecs.so:graphics/opencv USES= cmake:testing compiler:c++17-lang localbase:ldflags USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= DeadSix27 CMAKE_ON= INSTALL_MODELS CMAKE_TESTING_ON= ENABLE_TESTS CMAKE_ARGS= -DOPENCV_PREFIX:PATH="${LOCALBASE}" \ -DOpenCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libOpenCL.so" PLIST_FILES= bin/${PORTNAME} \ include/w2xconv.h \ lib/libw2xc.so PORTDATA= * OPTIONS_DEFINE= SIMD OPTIONS_DEFAULT=SIMD SIMD_CMAKE_OFF= -DARMOPT:BOOL=false -DPPCOPT:BOOL=false -DX86OPT:BOOL=false post-patch: @${REINPLACE_CMD} -e '/Darwin/,/FLAGS_RELEASE/d' \ -e 's,".*\(-m[^[:space:]]*\).*","\1",' \ -e "s/\$${TS}/`${AWK} '/TIMESTAMP/ { print \$$3 }' ${DISTINFO_FILE}`/" \ -e '/find_program/s/git/&_disabled/' \ -e '/GIT_BRANCH/s/null/master/' \ -e '/GIT_COMMIT_HASH/s/000000/${DISTVERSIONSUFFIX:U&:S/^-g//}/' \ -e '/GIT_TAG/s/v0\.0\.0/${DISTVERSIONFULL:C/-.*//}/' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's,models_rgb,${WRKSRC}/&,' ${WRKSRC}/w32-apps/runtest.c .include diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile index 628444375c3f..92ed19a5595b 100644 --- a/graphics/yafaray/Makefile +++ b/graphics/yafaray/Makefile @@ -1,48 +1,48 @@ PORTNAME= yafaray DISTVERSIONPREFIX= v DISTVERSION= 3.5.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Montecarlo raytracing engine LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES ONLY_FOR_ARCHS= amd64 powerpc64le LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libopencv_photo.so:graphics/opencv \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake gnome jpeg USE_GITHUB= yes GH_ACCOUNT= YafaRay GH_PROJECT= libYafaRay USE_GNOME= libxml2 USE_LDCONFIG= yes LDFLAGS+= -pthread # because build on 13 (head) was failing: ld: error: src/yafraycore/libyafaray_v3_core.so: undefined reference to pthread_create CMAKE_OFF= WITH_YAF_PY_BINDINGS OPTIONS_DEFINE= DOCS QT OPTIONS_SUB= yes QT_DESC= Enable Qt Gui build QT_USES= qt:5 QT_CMAKE_BOOL= WITH_QT QT_USE= QT=core,gui,widgets,qmake_build,buildtools_build,qmake_build post-install: @${RM} ${STAGEDIR}${DOCSDIR}/LICENSES .include diff --git a/math/saga/Makefile b/math/saga/Makefile index ec33203581d5..ac6f8d3d5eb1 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -1,100 +1,100 @@ PORTNAME= saga PORTVERSION= 8.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= System for Automated Geoscientific Analyses LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \ swig:devel/swig LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libjasper.so:graphics/jasper \ libodbc.so:databases/unixODBC \ libopencv_core.so:graphics/opencv \ libpdal_base.so:math/pdal \ libproj.so:graphics/proj \ libqhull_r.so:math/qhull \ libsvm.so:science/libsvm \ libsz.so:science/libaec \ libtiff.so:graphics/tiff RUN_DEPENDS:= swig:devel/swig USES= cmake compiler:c++11-lib dos2unix gnome \ iconv:wchar_t libtool localbase pkgconfig python DOS2UNIX_GLOB= *.cpp *.h USE_LDCONFIG= yes USE_WX= 3.1+ CMAKE_ARGS+= -DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h CMAKE_ON= WITH_DEV_TOOLS WITH_EXCERCISES WITH_MRMR WITH_SYSTEM_SVM CMAKE_ON+= CMAKE_VERBOSE_MAKEFILE CMAKE_OFF+= WITH_TOOLS_LAS WITH_TRIANGLE WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/saga-gis PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= PGSQL OPENMP VIGRA OPTIONS_DEFAULT= PGSQL VIGRA OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_i386= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OPENMP_DESC= Enable Multiprocessing (only amd64, i386 and powerpc64*) VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library OPENMP_CONFIGURE_ENABLE= openmp PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra .include # make describe needs them here CPP= clang-cpp${LLVM_DEFAULT} CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} SUB_FILES= pkg-message post-patch: .if ${ARCH} == "powerpc" @${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \ ${WRKSRC}/src/saga_core/saga_api/api_core.h .endif @${REINPLACE_CMD} -e 's|PORTVERSION|${PORTVERSION}|' \ ${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \ ${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga*.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.png ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${DATADIR}/saga_dic.txt ${STAGEDIR}${DATADIR}/saga_srs.txt # toolchains dir was moved in r2805 (and followups r2810,r2811,r2820) (cd ${WRKSRC}/src/accessories && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} -R ${STAGEDIR}${DATADIR}/CMakeLists.txt ${RM} -R ${STAGEDIR}${DATADIR}/templates/template4saga-tools/my_tool_library/Makefile.bak ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ # library helper files are not needed and cripple some math/qgis extensions @${RM} ${STAGEDIR}${PREFIX}/lib/saga/*.la .include diff --git a/misc/actiona/Makefile b/misc/actiona/Makefile index 27b76f9a6d63..e0e213b714ff 100644 --- a/misc/actiona/Makefile +++ b/misc/actiona/Makefile @@ -1,40 +1,40 @@ PORTNAME= actiona DISTVERSIONPREFIX= v DISTVERSION= 3.10.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Cross-platform automation tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/property_tree/ini_parser.hpp:devel/boost-libs LIB_DEPENDS= libnotify.so:devel/libnotify \ libopencv_core.so:graphics/opencv USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake \ gnome qt:5 shared-mime-info xorg USE_GITHUB= yes GH_ACCOUNT= Jmgr USE_QT= concurrent core dbus gui multimedia network script scripttools speech sql widgets x11extras xml xmlpatterns \ buildtools_build uitools_build USE_GNOME= gdkpixbuf2 glib20 USE_GL= gl USE_XORG= x11 xtst QMAKE_ARGS= PKGCONFIG_OPENCV=opencv4 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguisttools_build pre-build-NLS-on: # this is a hackish way to turn NLS on/off, asked the upstream to have the NLS option @cd ${WRKSRC} && ${MAKE_CMD} locale_release post-stage-NLS-off: @${RM} -r ${STAGEDIR}${DATADIR} .include diff --git a/misc/darknet/Makefile b/misc/darknet/Makefile index 3ce30702c53c..eb2ecb6184e8 100644 --- a/misc/darknet/Makefile +++ b/misc/darknet/Makefile @@ -1,58 +1,58 @@ PORTNAME= darknet DISTVERSIONPREFIX= darknet_yolo_v DISTVERSION= 4_pre -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Open source neural networks in C LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c11 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= AlexeyAB CMAKE_OFF= ENABLE_CUDA ENABLE_CUDNN ENABLE_CUDNN_HALF ENABLE_VCPKG_INTEGRATION PLIST_FILES= bin/darknet \ include/darknet.h \ include/yolo_v2_class.hpp \ lib/libdark.so OPTIONS_DEFINE= OPENCV OPTIONS_DEFAULT= OPENCV OPTIONS_DEFINE_amd64= SSE2 SSE3 SSE4 AVX OPTIONS_DEFINE_i386= SSE2 SSE3 SSE4 AVX OPTIONS_DEFAULT_amd64= SSE2 OPTIONS_DEFAULT_i386= SSE2 # Many secondary functions in DarkNet depend on OpenCV which is a large dependency. # Build with OPENCV=off for a self-contained executable which would support # core NN computations but would not support many visualization, training and # other features. OPENCV_USES= pkgconfig OPENCV_CMAKE_BOOL= ENABLE_OPENCV OPENCV_LIB_DEPENDS= libopencv_video.so:graphics/opencv \ libopencv_core.so:graphics/opencv SSE2_DESC= Use SSE2 instructions SSE2_CMAKE_ON= -DFREEBSD_SIMD="-msse2" SSE3_DESC= Use SSE3 instructions SSE3_CMAKE_ON= -DFREEBSD_SIMD="-msse3" SSE4_DESC= Use SSE4 instructions SSE4_CMAKE_ON= -DFREEBSD_SIMD="-msse4.1 -msse4.2 -msse4a" AVX_DESC= Use AVX instructions AVX_CMAKE_ON= -DFREEBSD_SIMD="-mavx -mavx2" do-install: # https://github.com/AlexeyAB/darknet/issues/4527 ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darknet ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} ${INSTALL_DATA} ${BUILD_WRKSRC}/libdark.so ${STAGEDIR}${PREFIX}/lib ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdark.so .include diff --git a/misc/mxnet/Makefile b/misc/mxnet/Makefile index da1ec18e690c..e820e03ed9c1 100644 --- a/misc/mxnet/Makefile +++ b/misc/mxnet/Makefile @@ -1,63 +1,63 @@ PORTNAME= mxnet DISTVERSION= 1.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Apache MXNet: Ultra-scalable deep learning framework LICENSE= APACHE20 BROKEN_i386= https://github.com/apache/incubator-mxnet/issues/20832 .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= googletest>0:devel/googletest LIB_DEPENDS= libdmlc.so:devel/dmlc-core \ liblapack.so:math/lapack \ libopenblas.so:math/openblas USES= cmake compiler:c++11-lang localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= apache GH_PROJECT= incubator-mxnet GH_TUPLE= apache:tvm:efdac94:tvm/3rdparty/tvm \ dmlc:dlpack:3efc489:dlpack/3rdparty/dlpack \ oneapi-src:oneDNN:f40443c:onednn/3rdparty/mkldnn # same as BUILD_DEPENDS=${LOCALBASE}/include/dnnl.h:math/onednn USE_LDCONFIG= yes CMAKE_OFF= USE_CUDA USE_CUDNN USE_MKLDNN USE_NCCL ENABLE_CUDA_RTC \ BUILD_CPP_EXAMPLES USE_JEMALLOC USE_MKL_IF_AVAILABLE LDFLAGS+= -pthread -lexecinfo OPTIONS_DEFINE= CPP OPENCV OPTIONS_DEFAULT= CPP OPENCV OPTIONS_SUB= yes CPP_DESC= Install the C++ binding (cpp-package) CPP_CMAKE_BOOL= USE_CPP_PACKAGE CPP_USES= python:build CPP_VARS= BINARY_ALIAS=python=${PYTHON_CMD} OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ libopencv_videoio.so:graphics/opencv .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_OFF+= USE_SSE .endif xpost-patch: @${RM} ${WRKSRC}/include/mkldnn/* .for h in dnnl.h dnnl.hpp mkldnn.h mkldnn.hpp mkldnn_dnnl_mangling.h mkldnn_types.h mkldnn_version.h @${LN} -s ${LOCALBASE}/include/${h} ${WRKSRC}/include/mkldnn/${h} .endfor post-install-CPP-on: # https://github.com/apache/incubator-mxnet/issues/17080 @cd ${STAGEDIR}${PREFIX} && ${RM} include/mxnet-cpp/.gitignore include/mxnet-cpp/CPPLINT.cfg .include diff --git a/misc/visp/Makefile b/misc/visp/Makefile index e59ac47238af..6c6e8041238c 100644 --- a/misc/visp/Makefile +++ b/misc/visp/Makefile @@ -1,47 +1,47 @@ PORTNAME= visp DISTVERSION= 3.5.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= https://visp-doc.inria.fr/download/releases/ PATCH_SITES= https://github.com/lagadic/${PORTNAME}/commit/ PATCHFILES= ff554ca8be5f43a3470e1cb20150d8171a66b463.patch:-p1 # fix https://github.com/lagadic/visp/issues/1059 MAINTAINER= yuri@FreeBSD.org COMMENT= Modular library for visual tracking and visual servoing LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libblas.so:math/blas \ libboost_system.so:devel/boost-libs \ libdmtx.so:graphics/libdmtx \ libflann.so:math/flann \ libgsl.so:math/gsl \ liblapack.so:math/lapack \ libopenblas.so:math/openblas \ libopencv_core.so:graphics/opencv \ libopencv_videoio.so:graphics/opencv \ libpcl_common.so:graphics/pcl-pointclouds \ libqhull_r.so:math/qhull \ libpng.so:graphics/png \ libv4l2.so:multimedia/libv4l \ liblz4.so:archivers/liblz4 \ libdc1394.so:multimedia/libdc1394 USES= cmake compiler:c++14-lang eigen:3 fortran gl gnome jpeg xorg zip USE_GNOME= libxml2 USE_XORG= ice sm x11 xext USE_GL= gl glu opengl USE_LDCONFIG= yes CMAKE_OFF= WITH_QBDEVICE BUILD_EXAMPLES BUILD_TUTORIALS BUILD_TESTS BUILD_DEMOS OPTIONS_DEFINE= OGRE OGRE_DESC= Include Ogre support OGRE_CMAKE_BOOL= USE_OGRE OGRE_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libOgreMain.so:graphics/ogre3d19 .include diff --git a/multimedia/chilitags/Makefile b/multimedia/chilitags/Makefile index 46900b6dc82b..733da7eb4493 100644 --- a/multimedia/chilitags/Makefile +++ b/multimedia/chilitags/Makefile @@ -1,29 +1,29 @@ PORTNAME= chilitags DISTVERSION= 2.0.0-169 DISTVERSIONSUFFIX= -g0d9854f -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Robust fiducial markers for augmented reality and robotics LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libopencv_video.so:graphics/opencv USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= chili-epfl USE_LDCONFIG= yes PLIST_FILES= bin/chilitags-creator \ include/chilitags/chilitags.hpp \ include/chilitags/chilitags_export.hpp \ lib/libchilitags.so \ libdata/pkgconfig/chilitags.pc post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/libchilitags_static.a .include diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile index 274666d770c5..b7846d1c63ee 100644 --- a/multimedia/gstreamer1-plugins/Makefile +++ b/multimedia/gstreamer1-plugins/Makefile @@ -1,199 +1,199 @@ PORTNAME= gstreamer PORTVERSION?= ${BASE_PORTVERSION} # When chasing a shared library for a plug-in bump the PORTREVISION in the # plug-in port instead, like ${category}/gstreamer1-plugin-${PLUGIN}. -PORTREVISION?= 6 +PORTREVISION?= 7 CATEGORIES?= multimedia audio MASTER_SITES= GNOME/sources/gst-plugins-base/${PORTVERSION:R}:base \ GNOME/sources/gst-plugins-good/${PORTVERSION:R}:good \ http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \ http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \ http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly PKGNAMESUFFIX?= 1-plugins${GST_PLUGIN_SUFFIX} MAINTAINER= multimedia@FreeBSD.org COMMENT?= GStreamer written collection of plugins handling several media types LICENSE= LGPL20 BUILD_DEPENDS+= iso-codes>=0:misc/iso-codes \ orc>=0.4.16:devel/orc LIB_DEPENDS+= libfreetype.so:print/freetype2 \ liborc-0.4.so:devel/orc RUN_DEPENDS+= iso-codes>=0:misc/iso-codes PORTSCOUT= limitw:1,even BASE_PORTVERSION= 1.16.2 BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} BAD_PORTVERSION= 1.16.2 BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} GOOD_PORTVERSION= 1.16.2 GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} UGLY_PORTVERSION= 1.16.2 UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} DIST?= base USES+= cpe gettext gmake gnome gstreamer libtool pathfix pkgconfig python tar:xz USE_GNOME+= glib20 introspection:build libxml2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GST_PLUGIN?= base USE_LDCONFIG= yes CPE_VENDOR= gstreamer_project CPE_PRODUCT= gstreamer CFLAGS+= -Wno-format CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib ${EXTRA_LIBS} CONFIGURE_ARGS+= --disable-fatal-warnings DEFAULT_AUDIOSINK?= osssink DEFAULT_AUDIOSRC?= osssrc .if ${DIST}=="" IGNORE= DIST not specified .endif VERSION= 1.0 SOVERSION= 0.1602.0 PLIST_SUB+= VERSION="${VERSION}" \ SOVERSION="${SOVERSION}" # Include bsd.port.options.mk and not bsd.port.pre.mk to be able to use USES .include .if ${GST_PLUGIN} == "base" DIST= base NO_GSTREAMER_COMMON= yes .endif .if ${DIST} == base || ${DIST} == ugly # --with-default-audiosink specify default audio sink # --with-default-audiosrc specify default audio source # --with-default-videosink specify default video sink # --with-default-videosrc specify default video source # --with-default-visualizer specify default visualizer CONFIGURE_ARGS+=--with-default-audiosink="${DEFAULT_AUDIOSINK}" \ --with-default-audiosrc="${DEFAULT_AUDIOSRC}" .endif .include "${MASTERDIR}/Makefile.common" .if ${DIST}=="base" EXTRACT_ONLY=${BASE_DISTFILE} WRKSRC=${WRKDIR}/${BASE_DISTNAME} PORTVERSION= ${BASE_PORTVERSION} DISTFILES+= ${BASE_DISTFILE}:base PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins/files .elif ${DIST}=="bad" EXTRACT_ONLY=${BAD_DISTFILE} WRKSRC=${WRKDIR}/${BAD_DISTNAME} PORTVERSION= ${BAD_PORTVERSION} DISTFILES+= ${BAD_DISTFILE}:bad PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-bad/files .elif ${DIST}=="ugly" EXTRACT_ONLY=${UGLY_DISTFILE} WRKSRC=${WRKDIR}/${UGLY_DISTNAME} PORTVERSION= ${UGLY_PORTVERSION} DISTFILES+= ${UGLY_DISTFILE}:ugly PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-ugly/files .elif ${DIST}=="good" EXTRACT_ONLY=${GOOD_DISTFILE} WRKSRC=${WRKDIR}/${GOOD_DISTNAME} PORTVERSION= ${GOOD_PORTVERSION} DISTFILES+= ${GOOD_DISTFILE}:good PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-good/files .elif ${DIST}=="makesum" DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \ ${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good .else BROKEN= Unknown dist setting .endif # cdrom/dvd default device .ifdef(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else DEFAULT_DVD_DEVICE=/dev/cd0 .endif post-patch: .if ${DIST} == bad # custom rule to fix opencv detection in configure # @${REINPLACE_CMD} -e 's|opencv <= 2.4.8|opencv <= 2.4.9|g' \ # ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \ ${WRKSRC}/ext/resindvd/resindvdbin.c \ ${WRKSRC}/ext/resindvd/resindvdsrc.c # Fix dependency on neon-0.31 and 0.32 ${REINPLACE_CMD} -e '/neon/s|0.30.99|0.32.99|g' \ ${WRKSRC}/configure # Fix build against OpenCV 4.5.1 ${REINPLACE_CMD} '/opencv/s|4\.2\.0|4.6.0|g' \ ${WRKSRC}/configure .endif .if ${DIST} != ugly @${FIND} ${WRKSRC}/ext ${WRKSRC}/sys \ -name Makefile.in | ${XARGS} -n 10 ${REINPLACE_CMD} -e \ '/la_DEPENDENCIES/,/am__DEPENDENCIES/s,$$(top_builddir)/gst-libs/.*.la,,' -e \ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la|-lgsttag-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la|-lgstaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la|-lgstpbutils-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_API_VERSION@.la|-lgstriff-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_API_VERSION@.la|-lgstsignalprocessor-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_API_VERSION@.la|-lgstbasevideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la|-lgstvideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/base/libgstbadbase-@GST_API_VERSION@.la|-lgstbadbase-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-@GST_API_VERSION@.la|-lgsturidownloader-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/adaptivedemux/libgstadaptivedemux-@GST_API_VERSION@.la|-lgstadaptivedemux-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/codecparsers/libgstcodecparsers-@GST_API_VERSION@.la|-lgstcodecparsers-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/allocators/libgstbadallocators-@GST_API_VERSION@.la|-lgstbadallocators-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstbadaudio-@GST_API_VERSION@.la|-lgstbadaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la|-lgstbadvideo-${VERSION}|' @${FIND} ${WRKSRC}/ext ${WRKSRC}/sys -name Makefile.in | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ '/la_DEPENDENCIES/,/am__DEPENDENCIES/s,$$(top_builddir)/gst-libs/.*.la,,' -e \ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-$$(GST_API_VERSION).la|-lgsttag-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-$$(GST_API_VERSION).la|-lgstaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-$$(GST_API_VERSION).la|-lgstpbutils-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-$$(GST_API_VERSION).la|-lgstriff-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-$$(GST_API_VERSION).la|-lgstsignalprocessor-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-$$(GST_API_VERSION).la|-lgstbasevideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-$$(GST_API_VERSION).la|-lgstvideo-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/base/libgstbadbase-$$(GST_API_VERSION).la|-lgstbadbase-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-$$(GST_API_VERSION).la|-lgsturidownloader-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/adaptivedemux/libgstadaptivedemux-@GST_API_VERSION@.la|-lgstadaptivedemux-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/codecparsers/libgstcodecparsers-$$(GST_API_VERSION).la|-lgstcodecparsers-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/allocators/libgstbadallocators-$$(GST_API_VERSION).la|-lgstbadallocators-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstbadaudio-$$(GST_API_VERSION).la|-lgstbadaudio-${VERSION}|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbadvideo-$$(GST_API_VERSION).la|-lgstbadvideo-${VERSION}|' @${FIND} ${WRKSRC}/ext ${WRKSRC}/gst ${WRKSRC}/gst-libs \ -name Makefile.in -exec ${REINPLACE_CMD} \ '/foreach/s/\\#include/#include/' {} + .endif .if ${DIST} == bad # Disable X11 support in librfb post-configure: @${REINPLACE_CMD} -e 's|HAVE_X11 = yes|HAVE_X11 = no|g' \ -e 's|#ifdef HAVE_X11|#ifdef NO_X11|g' \ -e 's|$$(X11_CFLAGS) \\|\\|g' \ -e 's|$$(X11_LIBS) \\|\\|g' \ ${WRKSRC}/gst/librfb/Makefile \ ${WRKSRC}/gst/librfb/gstrfbsrc.c .endif pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gstreamer-1.0 .include diff --git a/multimedia/libopenshot/Makefile b/multimedia/libopenshot/Makefile index fb15653fb7e1..6cc4f5b1cc26 100644 --- a/multimedia/libopenshot/Makefile +++ b/multimedia/libopenshot/Makefile @@ -1,65 +1,65 @@ PORTNAME= libopenshot DISTVERSIONPREFIX= v DISTVERSION= 0.2.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= OpenShot Video Library LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= swig:devel/swig \ ${LOCALBASE}/include/zmq.hpp:net/cppzmq LIB_DEPENDS= libopenshot-audio.so:audio/libopenshot-audio \ libjsoncpp.so:devel/jsoncpp \ libavformat.so:multimedia/ffmpeg \ libzmq.so:net/libzmq4 USES= cmake pkgconfig python:3.6+ qt:5 USE_GITHUB= yes GH_ACCOUNT= OpenShot USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= core gui network multimedia widgets qmake_build buildtools_build CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ USE_HW_ACCEL ENABLE_PYTHON\ CMAKE_DISABLE_FIND_PACKAGE_Catch2\ CMAKE_DISABLE_FIND_PACKAGE_Resvg\ CMAKE_DISABLE_FIND_PACKAGE_Ruby CMAKE_OFF= ENABLE_COVERAGE BUILD_TESTING ENABLE_TESTS\ ENABLE_RUBY OPTIONS_DEFINE= DOCS IMAGEMAGICK OPENCV OPTIONS_DEFAULT= IMAGEMAGICK OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_BOOL= ENABLE_DOCS DOCS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:PATH=${DOCSDIR_REL:Q} DOCS_PORTDOCS= * IMAGEMAGICK_USES= magick IMAGEMAGICK_CMAKE_BOOL= ENABLE_MAGICK IMAGEMAGICK_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ImageMagick OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ libprotobuf.so:devel/protobuf OPENCV_CMAKE_BOOL= ENABLE_OPENCV OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\ CMAKE_DISABLE_FIND_PACKAGE_Protobuf OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4 .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif do-build-DOCS-on: @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} doc; then \ (${ECHO_CMD} "===> ${.TARGET} failed unexpectedly.") | ${FMT_80} ; \ ${FALSE}; \ fi) .include diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index f827bdee38a2..01ad199b0e6c 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -1,162 +1,162 @@ PORTNAME= lives DISTVERSION= 3.2.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} MAINTAINER= vvd@unislabs.com COMMENT= Video editing system LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ analyseplugin:audio/ladspa LIB_DEPENDS= liboil-0.3.so:devel/liboil \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libmjpegutils.so:multimedia/mjpegtools RUN_DEPENDS= analyseplugin:audio/ladspa \ ffprobe:multimedia/ffmpeg \ sox:audio/sox WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= autoreconf compiler:c++11-lib gettext-runtime gettext-tools \ gl gnome libtool localbase pathfix perl5 pkgconfig python \ sdl shebangfix xorg SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi smogrify \ tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \ lives-plugins/marcos-encoders/*encoder* \ lives-plugins/plugins/encoders/multi_encoder3 \ lives-plugins/plugins/playback/audiostream/audiostreamer.pl GNU_CONFIGURE= yes USE_XORG= x11 xrender USE_GL= gl glu USE_SDL= sdl sdl2 USE_GNOME= cairo gdkpixbuf2 gtk30 intltool USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-ldvgrab --disable-prctl --disable-system-weed --disable-dirac INSTALL_TARGET= install-strip DOC_FILES= AUTHORS COPYING COPYING.LGPL ChangeLog FEATURES GETTING.STARTED NEWS README \ OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \ RFX/RFX.spec docs/c++-bindings.odt docs/clip_format.txt \ lives-plugins/marcos-encoders/README.multi_encoder \ weed-docs/weedspec.txt weed-docs/weedevents.txt OPTIONS_DEFINE= ALSA DOCS DOXYGEN DV FFTW FREI0R JACK IMAGEMAGICK LIBEXPLAIN \ LIBVISUAL OGG OPENCV OPTIMIZED_CFLAGS NLS PROJECTM PULSEAUDIO \ THEORA V4L WAYLAND OPTIONS_GROUP= RUNTIME EXT_WIN_CAPTURE MPLAYERS MP3 OPTIONS_GROUP_RUNTIME= CDDA2WAV GHOSTSCRIPT LAME MATROSKA MENCODER OGG123 OGM \ SSWF X264 XDG_SCREENSAVER XWININFO YTDLP OPTIONS_GROUP_EXT_WIN_CAPTURE= WMCTRL XDOTOOL OPTIONS_GROUP_MP3= MPG123 MPG321 OPTIONS_GROUP_MPLAYERS= MPLAYER MPV OPTIONS_DEFAULT= CDDA2WAV DOCS DV FFTW GHOSTSCRIPT IMAGEMAGICK JACK LAME \ MPG123 MPLAYER NLS OGG OGG123 OGM OPENCV \ THEORA X264 XDG_SCREENSAVER XDOTOOL XWININFO YTDLP OPTIONS_SUB= yes ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --disable-doxygen DV_CONFIGURE_OFF= --disable-libdv DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_RUN_DEPENDS= encodedv:multimedia/libdv EXT_WIN_CAPTURE_DESC= Allows external window capture via xdotool or wmctrl FFTW_CONFIGURE_OFF= --disable-fftw3f FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FREI0R_BUILD_DEPENDS= frei0r>0:graphics/frei0r FREI0R_CONFIGURE_OFF= --disable-frei0r FREI0R_RUN_DEPENDS= frei0r>0:graphics/frei0r GHOSTSCRIPT_USES= ghostscript:run IMAGEMAGICK_USES= magick:run JACK_CONFIGURE_OFF= --disable-jack JACK_LIB_DEPENDS= libjack.so:audio/jack \ libjackserver.so:audio/jack LAME_RUN_DEPENDS= lame:audio/lame LIBEXPLAIN_CONFIGURE_OFF= --disable-libexplain LIBEXPLAIN_DESC= Used to explain Unix and Linux system call errors LIBEXPLAIN_LIB_DEPENDS= libexplain.so:devel/libexplain LIBVISUAL_CONFIGURE_OFF= --disable-libvisual LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 MATROSKA_RUN_DEPENDS= mkvmerge:multimedia/mkvtoolnix MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MENCODER_DESC= Use mencoder as video file and movie encoder MP3_DESC= Runtime check order is: mpg321, mpg123, mplayer, mplayer2, mpv MPG123_RUN_DEPENDS= mpg123:audio/mpg123 MPG321_DESC= MP3 decoding support via mpg321 MPG321_RUN_DEPENDS= mpg321:audio/mpg321 MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPLAYERS_DESC= Install mplayer/mpv (runtime check) MPV_DESC= MPV media player support MPV_RUN_DEPENDS= mpv:multimedia/mpv NLS_USES= gettext-tools OGG_CONFIGURE_OFF= --disable-ogg OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG123_DESC= Use ogg123 from vorbis-tools OGG123_RUN_DEPENDS= ogg123:audio/vorbis-tools OGM_DESC= Use ogmtools for manipulating with OGM files OGM_RUN_DEPENDS= ogmmerge:multimedia/ogmtools OPENCV_CONFIGURE_OFF= --disable-opencv OPENCV_LIB_DEPENDS= libopencv_calib3d.so:graphics/opencv \ libopencv_core.so:graphics/opencv SSWF_DESC= Use sswf for manipulating with Flash movies SSWF_RUN_DEPENDS= sswf:graphics/sswf THEORA_CONFIGURE_OFF= --disable-theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora OPTIMIZED_CFLAGS_CONFIGURE_ON= --enable-turbo PROJECTM_CONFIGURE_OFF= --disable-projectM PROJECTM_DESC= projectM support PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio RUNTIME_DESC= Runtime detected utilities V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_OFF= --disable-v4l V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l WAYLAND_CONFIGURE_OFF= --disable-wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WMCTRL_DESC= Install wmctrl WMCTRL_RUN_DEPENDS= wmctrl:x11/wmctrl YTDLP_DESC= Install yt-dlp (youtube-dl fork) - requires SYMLINK option YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp X264_RUN_DEPENDS= x264:multimedia/x264 XDG_SCREENSAVER_DESC= Used to disable screensaver during playback XDG_SCREENSAVER_RUN_DEPENDS= xdg-screensaver:devel/xdg-utils XDOTOOL_DESC= Install xdotool XDOTOOL_RUN_DEPENDS= xdotool:x11/xdotool XWININFO_DESC= Used for external window capture XWININFO_RUN_DEPENDS= xwininfo:x11/xwininfo post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ 's/^LIBS = $$/&@LIBS@/' @${REINPLACE_CMD} -e 's|/usr/local/lib/|${LOCALBASE}/lib/|g' \ ${WRKSRC}/lives-plugins/weed-plugins/frei0r.c @${REINPLACE_CMD} 's|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/build-lives-rfx-plugin pre-build-NLS-on: @(cd ${WRKSRC}/po && ${DO_MAKE_BUILD} update-po) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR_REL}/html \ -not -type d >> ${TMPPLIST}) .include diff --git a/multimedia/mlt6/Makefile b/multimedia/mlt6/Makefile index 07fb3e226f37..d44e80cdb92b 100644 --- a/multimedia/mlt6/Makefile +++ b/multimedia/mlt6/Makefile @@ -1,196 +1,196 @@ PORTNAME= ${_MLT_PORTNAME} DISTVERSION= ${_MLT_VERSION} -PORTREVISION?= 6 +PORTREVISION?= 7 CATEGORIES?= multimedia # Don't use GitHub "fake" downloads that are auto-generated from a # tag; the project uploads tarballs for each release. # https://github.com/mltframework/mlt/releases/download/v6.26.1/mlt-6.26.1.tar.gz MASTER_SITES= https://github.com/mltframework/mlt/releases/download/v${DISTVERSION}/ DISTFILES= mlt-${DISTVERSION}${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/mlt-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi USES+= alias cmake compiler:c++11-lang eigen:3 localbase pkgconfig DATADIR= ${PREFIX}/share/mlt .ifndef(SLAVEPORT) # Master port. CONFLICTS_INSTALL= mlt-6.* BROKEN_sparc64= does not compile on sparc64 (invokes i386 asm) USES+= mlt:6,nodepend # Explicitly disabled modules that are ouddated, unnecessary, or have # their own port. CMAKE_OFF= MOD_SDL1 MOD_QT \ SWIG_CSHARP SWIG_JAVA SWIG_LUA SWIG_NODEJS SWIG_PERL \ SWIG_PHP SWIG_PYTHON SWIG_RUBY SWIG_TCL PORTDOCS= AUTHORS NEWS README docs PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= AVFORMAT FREI0R GDK KDENLIVE OPENGL PLUS PLUSGPL RESAMPLE \ SDL2 SOX VIDSTAB VORBIS XML OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= AVFORMAT DECKLINK FEEDS FREI0R GDK GTK2 JACKRACK \ KDENLIVE LUMAS MOTION_EST NORMALIZE OLDFILM OPENCV \ OPENGL PLUS PLUSGPL RESAMPLE RTAUDIO RUBBERBAND \ SDL2 SOX VIDSTAB VMFX VORBIS XINE XML OPTIONS_SUB= yes AVFORMAT_DESC= Enable avformat module AVFORMAT_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg AVFORMAT_CMAKE_BOOL= MOD_AVFORMAT DECKLINK_DESC= Enable decklink module DECKLINK_CMAKE_BOOL= MOD_DECKLINK FEEDS_DESC= Enable feeds module FEEDS_CMAKE_BOOL= MOD_FEEDS FREI0R_DESC= Enable frei0r module FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CMAKE_BOOL= MOD_FREI0R GDK_DESC= Enable gdk module GDK_LIB_DEPENDS= libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GDK_USES= gnome GDK_USE= gnome=gdkpixbuf2,pango GDK_CMAKE_BOOL= MOD_GDK GTK2_DESC= Enable gtk2 module GTK2_USES= gnome GTK2_USE= gnome=cairo,gtk20 GTK2_CMAKE_BOOL= MOD_GTK2 JACKRACK_DESC= Enable jackrack module JACKRACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa JACKRACK_LIB_DEPENDS= libjack.so:audio/jack JACKRACK_USES= gnome JACKRACK_USE= gnome=glib20 JACKRACK_CMAKE_BOOL= MOD_JACKRACK KDENLIVE_DESC= Enable kdenlive module KDENLIVE_CMAKE_BOOL= MOD_KDENLIVE LUMAS_DESC= Enable lumas module LUMAS_CMAKE_BOOL= MOD_LUMAS MOTION_EST_DESC= Enable motion estimation module MOTION_EST_CMAKE_BOOL= MOD_MOTION_EST NORMALIZE_DESC= Enable normalize module NORMALIZE_CMAKE_BOOL= MOD_NORMALIZE OLDFILM_DESC= Enable oldfilm module OLDFILM_CMAKE_BOOL= MOD_OLDFILM OPENCV_DESC= Enable OpenCV module OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= MOD_OPENCV OPENGL_DESC= Enable OpenGL module OPENGL_CMAKE_BOOL= MOD_OPENGL OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libmovit.so:graphics/movit OPENGL_USES= gl xorg OPENGL_USE= gl=gl xorg=x11 PLUSGPL_DESC= Enable plus GPL module PLUSGPL_CMAKE_BOOL= MOD_PLUSGPL PLUS_DESC= Enable plus module PLUS_LIB_DEPENDS= libfftw3.so:math/fftw3 PLUS_CMAKE_BOOL= MOD_PLUS RESAMPLE_DESC= Enable resample module RESAMPLE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate RESAMPLE_CMAKE_BOOL= MOD_RESAMPLE RTAUDIO_DESC= Enable RtAudio module RTAUDIO_LIB_DEPENDS= librtaudio.so:audio/rtaudio \ libpulse-simple.so:audio/pulseaudio RTAUDIO_CMAKE_BOOL= MOD_RTAUDIO RUBBERBAND_DESC= Enable rubberband module RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CMAKE_BOOL= MOD_RUBBERBAND SDL2_DESC= Enable SDL2 module SDL2_USES= sdl SDL2_USE= sdl=image2 SDL2_CMAKE_BOOL= MOD_SDL2 SOX_DESC= Enable SoX module SOX_LIB_DEPENDS= libsox.so:audio/sox SOX_CMAKE_BOOL= MOD_SOX VIDSTAB_DESC= Enable vid.stab module VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CMAKE_BOOL= MOD_VIDSTAB VMFX_DESC= Enable vmfx module VMFX_CMAKE_BOOL= MOD_VMFX VORBIS_DESC= Enable Vorbis module VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis libogg.so:audio/libogg VORBIS_CMAKE_BOOL= MOD_VORBIS XINE_DESC= Enable xine module XINE_CMAKE_BOOL= MOD_XINE XML_DESC= Enable XML module XML_USES= gnome XML_USE= gnome=libxml2 XML_CMAKE_BOOL= MOD_XML pre-configure: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/src/modules/frei0r/factory.c \ ${WRKSRC}/src/modules/jackrack/plugin_mgr.c common-post-install: ${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/share/man/man1/melt.1 @${RM} ${WRKSRC}/docs/melt.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++.so.${PORTVERSION} post-install-DOCS-on: .for f in ${PORTDOCS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR} .endfor post-install-EXAMPLES-on: .for f in ${PORTEXAMPLES} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .else # Slave port. PORTSCOUT= ignore:1 # Depend on multimedia/mlt6 for child ports USES+= mlt:6 PLIST?= ${.CURDIR}/pkg-plist INSTALL_WRKSRC?= ${BUILD_WRKSRC} .endif post-install: common-post-install ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/* 2>/dev/null || ${TRUE} @${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/${PORTNAME} 2>/dev/null || ${TRUE} .include diff --git a/multimedia/mlt7/Makefile b/multimedia/mlt7/Makefile index 81ccf35a9247..bd7b2f515ab5 100644 --- a/multimedia/mlt7/Makefile +++ b/multimedia/mlt7/Makefile @@ -1,178 +1,178 @@ PORTNAME= ${_MLT_PORTNAME} DISTVERSION= ${_MLT_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= multimedia # Don't use GitHub "fake" downloads that are auto-generated from a # tag; the project uploads tarballs for each release. # https://github.com/mltframework/mlt/releases/download/v6.26.1/mlt-6.26.1.tar.gz MASTER_SITES= https://github.com/mltframework/mlt/releases/download/v${DISTVERSION}/ DISTFILES= mlt-${DISTVERSION}${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/mlt-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi USES+= alias cmake compiler:c++11-lang eigen:3 localbase pkgconfig USE_LDCONFIG= yes DATADIR= ${PREFIX}/share/mlt-7 .ifndef(SLAVEPORT) # Master port. BROKEN_sparc64= does not compile on sparc64 (invokes i386 asm) USES+= gnome mlt:7,nodepend USE_GNOME= libxml2 CMAKE_ON= MOD_XML # Explicitly disabled modules that are ouddated, unnecessary, or have # their own port. CMAKE_OFF= MOD_GLAXNIMATE MOD_SDL1 MOD_QT \ MOD_NDI \ SWIG_CSHARP SWIG_JAVA SWIG_LUA SWIG_NODEJS SWIG_PERL \ SWIG_PHP SWIG_PYTHON SWIG_RUBY SWIG_TCL PORTDOCS= AUTHORS NEWS PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= AVFORMAT FREI0R GDK MOVIT KDENLIVE NORMALIZE PLUS PLUSGPL RESAMPLE SDL2 SOX \ VIDSTAB VORBIS OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= AVFORMAT DECKLINK FREI0R GDK JACKRACK KDENLIVE MOVIT NORMALIZE \ OLDFILM OPENCV PLUS PLUSGPL RESAMPLE RTAUDIO RUBBERBAND SDL2 \ SOX VIDSTAB VORBIS XINE OPTIONS_SUB= yes AVFORMAT_DESC= Enable avformat module AVFORMAT_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg AVFORMAT_CMAKE_BOOL= MOD_AVFORMAT DECKLINK_DESC= Enable decklink module DECKLINK_CMAKE_BOOL= MOD_DECKLINK FREI0R_DESC= Enable frei0r module FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CMAKE_BOOL= MOD_FREI0R GDK_DESC= Enable gdk module GDK_LIB_DEPENDS= libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GDK_USE= gnome=gdkpixbuf2,pango GDK_CMAKE_BOOL= MOD_GDK JACKRACK_DESC= Enable jackrack module JACKRACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa JACKRACK_LIB_DEPENDS= libjack.so:audio/jack JACKRACK_USE= gnome=glib20 JACKRACK_CMAKE_BOOL= MOD_JACKRACK KDENLIVE_DESC= Enable kdenlive module KDENLIVE_CMAKE_BOOL= MOD_KDENLIVE MOVIT_DESC= Enable OpenGL module MOVIT_USES= gl xorg MOVIT_USE= gl=opengl xorg=x11 MOVIT_LIB_DEPENDS= libmovit.so:graphics/movit \ libepoxy.so:graphics/libepoxy MOVIT_CMAKE_BOOL= MOD_MOVIT NORMALIZE_DESC= Enable normalize module NORMALIZE_CMAKE_BOOL= MOD_NORMALIZE OLDFILM_DESC= Enable oldfilm module OLDFILM_CMAKE_BOOL= MOD_OLDFILM OPENCV_DESC= Enable OpenCV module OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= MOD_OPENCV OPENGL_DESC= Enable OpenGL module OPENGL_CMAKE_BOOL= MOD_OPENGL OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libmovit.so:graphics/movit OPENGL_USES= gl xorg OPENGL_USE= gl=gl xorg=x11 PLUSGPL_DESC= Enable plus GPL module PLUSGPL_CMAKE_BOOL= MOD_PLUSGPL PLUS_DESC= Enable plus module PLUS_LIB_DEPENDS= libfftw3.so:math/fftw3 PLUS_CMAKE_BOOL= MOD_PLUS RESAMPLE_DESC= Enable resample module RESAMPLE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate RESAMPLE_CMAKE_BOOL= MOD_RESAMPLE RTAUDIO_DESC= Enable RtAudio module RTAUDIO_LIB_DEPENDS= librtaudio.so:audio/rtaudio \ libpulse-simple.so:audio/pulseaudio RTAUDIO_CMAKE_BOOL= MOD_RTAUDIO RUBBERBAND_DESC= Enable rubberband module RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CMAKE_BOOL= MOD_RUBBERBAND SDL2_DESC= Enable SDL2 module SDL2_USES= sdl SDL2_USE= sdl=image2 SDL2_CMAKE_BOOL= MOD_SDL2 SOX_DESC= Enable SoX module SOX_LIB_DEPENDS= libsox.so:audio/sox SOX_CMAKE_BOOL= MOD_SOX VIDSTAB_DESC= Enable vid.stab module VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CMAKE_BOOL= MOD_VIDSTAB VORBIS_DESC= Enable Vorbis module VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis libogg.so:audio/libogg VORBIS_CMAKE_BOOL= MOD_VORBIS XINE_DESC= Enable xine module XINE_CMAKE_BOOL= MOD_XINE pre-configure: ${RM} ${STAGEDIR}${PREFIX}/man/man1/melt.1 @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/src/modules/frei0r/factory.c \ ${WRKSRC}/src/modules/jackrack/plugin_mgr.c common-post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt-7 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt-7.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++-7.so.${PORTVERSION} post-install-DOCS-on: .for f in ${PORTDOCS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR} .endfor post-install-EXAMPLES-on: .for f in ${PORTEXAMPLES} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .else # Slave port. PORTSCOUT= ignore:1 # Depend on multimedia/mlt7 for child ports USES+= mlt:7 PLIST?= ${.CURDIR}/pkg-plist INSTALL_WRKSRC?= ${BUILD_WRKSRC} .endif post-install: common-post-install ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/* 2>/dev/null || ${TRUE} @${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/${PORTNAME} 2>/dev/null || ${TRUE} .include diff --git a/multimedia/opentoonz/Makefile b/multimedia/opentoonz/Makefile index 67992ee4c75b..f5dd5526d3af 100644 --- a/multimedia/opentoonz/Makefile +++ b/multimedia/opentoonz/Makefile @@ -1,65 +1,65 @@ PORTNAME= opentoonz DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Open-source full-featured 2D animation creation software LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ liblzo2.so:archivers/lzo2 \ libmypaint.so:graphics/libmypaint \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libsuperlu.so:math/superlu \ libturbojpeg.so:graphics/libjpeg-turbo RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:multimedia/ffmpeg USES= cmake:noninja compiler:c++11-lang gl \ gnome jpeg pkgconfig qt:5 USE_GITHUB= yes USE_GL= gl glew glu glut USE_QT= core gui multimedia network opengl printsupport \ script serialport svg widgets xml \ buildtools_build linguisttools_build qmake_build CMAKE_ARGS= -DWITH_SYSTEM_LZO:BOOL=ON \ -DWITH_SYSTEM_SUPERLU:BOOL=ON CMAKE_SOURCE_PATH= ${WRKSRC}/toonz/sources OPTIONS_SINGLE= BLASLIB OPTIONS_SINGLE_BLASLIB= CBLAS GSLCBLAS NETLIB OPENBLAS OPTIONS_DEFAULT= OPENBLAS CBLAS_LIB_DEPENDS= libcblas.so:math/cblas CBLAS_VARS= BLASLIBS="cblas" CBLAS_DESC= C interface to the legacy Fortran BLAS GSLCBLAS_LIB_DEPENDS= libgslcblas.so:math/gsl GSLCBLAS_VARS= BLASLIBS="gslcblas" GSLCBLAS_DESC= The GNU Scientific Library - mathematical libs NETLIB_USES= blaslapack:netlib NETLIB_VARS= BLASLIBS="blas" OPENBLAS_USES= blaslapack:openblas OPENBLAS_VARS= BLASLIBS="openblas" .include .if defined(WITH_DEBUG) CXXFLAGS+= -DDEBUG -g3 -ggdb .else CXXFLAGS+= -DNDEBUG .endif post-extract: ${FIND} ${WRKSRC} -name '*.gitkeep' -delete post-patch: @${REINPLACE_CMD} -e "s|find_library(OPENBLAS_LIB NAMES.*|find_library(OPENBLAS_LIB NAMES ${BLASLIBS})|g" \ ${WRKSRC}/toonz/sources/CMakeLists.txt .include diff --git a/multimedia/py-PySceneDetect/Makefile b/multimedia/py-PySceneDetect/Makefile index 6f322a97f87e..d19cb7868359 100644 --- a/multimedia/py-PySceneDetect/Makefile +++ b/multimedia/py-PySceneDetect/Makefile @@ -1,24 +1,25 @@ PORTNAME= PySceneDetect PORTVERSION= 0.5.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= multimedia python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= swills@FreeBSD.org COMMENT= OpenCV-based video scene detection program and Python library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}click>=3.2:devel/py-click@${PY_FLAVOR} \ opencv>=0:graphics/opencv \ mkvmerge:multimedia/mkvtoolnix USES= python:3.6+ USE_GITHUB= yes GH_ACCOUNT= Breakthrough USE_PYTHON= autoplist distutils .include diff --git a/multimedia/zart/Makefile b/multimedia/zart/Makefile index f2231c58952b..b04f0f4a576f 100644 --- a/multimedia/zart/Makefile +++ b/multimedia/zart/Makefile @@ -1,41 +1,41 @@ PORTNAME= zart PORTVERSION= g20191124 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= https://gmic.eu/files/source/:gmic DISTFILES= gmic_${GMIC_VERSION}.tar.gz:gmic PATCH_SITES= https://github.com/c-koi/zart/commit/ PATCHFILES= 6ca1964690afbbc78627d7c868a692401043a584.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= GMIC GUI for video streams LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libgmic.so:graphics/gmic \ libopencv_core.so:graphics/opencv \ libfftw3.so:math/fftw3 USES= compiler:c++11-lang pkgconfig qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= c-koi GH_TAGNAME= 099554f USE_QT= core gui network widgets xml buildtools_build GMIC_VERSION= 2.8.1 QMAKE_ARGS= "GMIC_PATH=${WRKDIR}/gmic-${GMIC_VERSION}/src" PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} 's|SYS_gettid|SYS_thr_self|' ${WRKDIR}/gmic-${GMIC_VERSION}/src/gmic.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile index d970e9384174..060c9fd2a7f7 100644 --- a/net-im/tox/Makefile +++ b/net-im/tox/Makefile @@ -1,65 +1,66 @@ PORTNAME= toxcore PORTVERSION= 0.2.18 DISTVERSIONPREFIX= v +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-im net-p2p MAINTAINER= thierry@FreeBSD.org COMMENT= ProjectTox-Core library, a decentralized and secure messenger LICENSE= GPLv3 BUILD_DEPENDS= checkmk:devel/check \ gtest:sysutils/coreutils LIB_DEPENDS= libvpx.so:multimedia/libvpx \ libsndfile.so:audio/libsndfile \ libportaudio.so:audio/portaudio \ libsodium.so:security/libsodium \ libopus.so:audio/opus \ libconfig.so:devel/libconfig TEST_DEPENDS= opencv_visualisation:graphics/opencv #TEST_DEPENDS= libopencv_core.so:graphics/opencv USE_GITHUB= yes GH_ACCOUNT= TokTok camgunz:cmp GH_PROJECT= c-toxcore cmp:cmp GH_TAGNAME= 4c3737d1a172ee74d2b35b5fd6865d1fe9dac7af:cmp GH_SUBDIR= third_party/cmp:cmp CPE_VENDOR= toktok USES= cmake compiler:c11 cpe libtool pathfix pkgconfig USE_LDCONFIG= yes PLIST_SUB= VER=${PORTVERSION:C/0.//}.0 SO=2 OPTIONS_DEFINE= DAEMON TEST OPTIONS_SUB= yes DAEMON_DESC= Bootstrap daemon DAEMON_CMAKE_ON= -DBOOTSTRAP_DAEMON=on DAEMON_LIB_DEPENDS= libconfig.so:devel/libconfig TEST_CMAKE_ON= -DAUTOTEST=on TEST_TARGET= test .include .if ${PORT_OPTIONS:MDAEMON} USERS= toxdht USE_RC_SUBR= tox-bootstrapd SUB_LIST= TOXDHT=${USERS} PLIST_SUB+= TOXDHT=${USERS} KEYS_DIR= /var/lib/tox-bootstrapd PID_DIR= /var/run/tox-bootstrapd PKGMESSAGE= ${PKGDIR}/pkg-message.daemon .endif post-install: .if ${PORT_OPTIONS:MDAEMON} ${INSTALL_DATA} ${WRKSRC}/other/bootstrap_daemon/tox-bootstrapd.conf \ ${STAGEDIR}${PREFIX}/etc/tox-bootstrapd.conf.sample ${MKDIR} ${STAGEDIR}${KEYS_DIR} ${MKDIR} ${STAGEDIR}${PID_DIR} .endif .include diff --git a/net-p2p/retroshare/Makefile b/net-p2p/retroshare/Makefile index 41040a12a13e..5605720617f0 100644 --- a/net-p2p/retroshare/Makefile +++ b/net-p2p/retroshare/Makefile @@ -1,73 +1,73 @@ PORTNAME= retroshare DISTVERSIONPREFIX= v DISTVERSION= 0.6.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= net-p2p PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 428b331d8efe.patch:-p1 MAINTAINER= peter@netkey.at COMMENT= Private and secure decentralised communication platform LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \ libgnome-keyring.so:security/libgnome-keyring \ libgpgme.so:security/gpgme \ libcurl.so:ftp/curl \ libminiupnpc.so:net/miniupnpc USES= compiler:features desktop-file-utils dos2unix \ gl gnome pkgconfig qmake qt:5 ssl USE_GITHUB= yes GH_ACCOUNT= RetroShare GH_PROJECT= RetroShare RS_REVISION= 0e6d27a USE_GNOME= libxml2 libxslt USE_GL= gl USE_QT= core gui multimedia printsupport network widgets xml \ buildtools_build uitools_build DOS2UNIX_FILES= retroshare-nogui/src/retroshare-nogui.pro \ retroshare-gui/src/gui/elastic/node.cpp OPTIONS_DEFINE= VOIP WEBUI OPTIONS_SUB= yes VOIP_DESC= Build with VoIP plugin (requires OpenCV) VOIP_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libopencv_highgui.so:graphics/opencv \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp VOIP_BROKEN= gui/QVideoDevice.cpp:1:10: fatal error: 'opencv/cv.h' file not found WEBUI_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBUI_QMAKE_OFF= CONFIG+=no_libresapihttpserver WEBUI_BROKEN= api/ApiServerMHD.cpp:376:5: error: no matching function for call to 'MHD_get_connection_values' .include post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare.pri @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/libretroshare.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/rsserver/rsaccounts.cc @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-gui/src/retroshare-gui.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-nogui/src/retroshare-nogui.pro @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/data/retroshare.desktop @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/data/retroshare.desktop @${REINPLACE_CMD} -e 's|RS_REVISION_NUMBER.*|RS_REVISION_NUMBER 0x${RS_REVISION}|' \ ${WRKSRC}/libretroshare/src/retroshare/rsversion.h post-patch-VOIP-off: # VoIP plugin does not build against modern `graphics/opencv' port @${REINPLACE_CMD} -e '/VOIP/d' ${WRKSRC}/plugins/plugins.pro .include diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile index de57974fd116..a620f15bd1a1 100644 --- a/x11/xpra/Makefile +++ b/x11/xpra/Makefile @@ -1,129 +1,130 @@ PORTNAME= xpra PORTVERSION= 4.3.4 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= https://xpra.org/src/ MAINTAINER= arrowd@FreeBSD.org COMMENT= Persistent remote applications for X LICENSE= GPLv2 BUILD_DEPENDS= brotli:archivers/brotli \ pandoc:textproc/hs-pandoc LIB_DEPENDS= libwebp.so:graphics/webp \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}bencode.py>1:converters/py-bencode.py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>1:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lz4>=0.7.0_1:archivers/py-lz4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL-accelerate>=3.1.0:graphics/py-PyOpenGL-accelerate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=3.1.0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rencode>1:converters/py-rencode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ setxkbmap:x11/setxkbmap \ ssh-askpass:security/openssh-askpass \ xauth:x11/xauth \ xkbcomp:x11/xkbcomp \ Xvfb:x11-servers/xorg-server@xvfb USES= desktop-file-utils gettext-runtime gnome pkgconfig \ python:3.6+ shared-mime-info shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 pygobject3 USE_PYTHON= cython distutils noflavors USE_XORG= x11 xcomposite xdamage xext xfixes xi xkbfile xrandr xres xtst PLIST_SUB+= PORTVERSION=${PORTVERSION} \ PYTHON_SUFFIX=${PYTHON_SUFFIX} \ PYTHON_VER=${PYTHON_VER} SHEBANG_FILES= fs/lib/cups/xpraforwarder fs/bin/auth_dialog fs/bin/xdg-open \ fs/bin/xpra_udev_product_version fs/bin/gnome-open \ fs/bin/gvfs-open OPTIONS_DEFINE= AVAHI AVCODEC CUPS DOCS FFMPEG GSTREAMER LIBYUV SWSCALE \ WEBCAM X265 OPTIONS_DEFAULT= AVAHI CUPS GSTREAMER X264 OPTIONS_RADIO= CODEC OPTIONS_RADIO_CODEC= VPX X264 OPTIONS_SUB= yes AVCODEC_DESC= Enable avcodec2 (FFmpeg) decoder CUPS_DESC= Enable CUPS for printer forwarding FFMPEG_DESC= Enable FFmpeg encoder GSTREAMER_DESC= Enable GStreamer for sound forwarding LIBYUV_DESC= Enable libyuv CSC module (fastest) SWSCALE_DESC= Enable swscale (FFmpeg) CSC module VPX_DESC= Enable VP8 and VP9 codec WEBCAM_DESC= Enable webcam forwarding (client only) X264_DESC= Enable X264 encoder X265_DESC= Enable X265 encoder AVAHI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}avahi>0:net/py-avahi@${PY_FLAVOR} AVAHI_VARS= XPRA_OPTIONS+=mdns AVCODEC_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg AVCODEC_VARS= XPRA_OPTIONS+=dec_avcodec2 CUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>1:print/py-pycups@${PY_FLAVOR} CUPS_VARS= XPRA_OPTIONS+=printing FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= XPRA_OPTIONS+=enc_ffmpeg GSTREAMER_USES= gstreamer GSTREAMER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} GSTREAMER_USE= GSTREAMER=flac,lame,mpg123,ogg,opus,pulse,vorbis,wavpack GSTREAMER_VARS= XPRA_OPTIONS+=sound LIBYUV_LIB_DEPENDS= libyuv.so:graphics/libyuv LIBYUV_VARS= XPRA_OPTIONS+=csc_libyuv SWSCALE_LIB_DEPENDS= libswscale.so:multimedia/ffmpeg SWSCALE_VARS= XPRA_OPTIONS+=csc_swscale VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_VARS= XPRA_OPTIONS+=vpx WEBCAM_RUN_DEPENDS= opencv>2:graphics/opencv WEBCAM_VARS= XPRA_OPTIONS+=webcam X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_VARS= XPRA_OPTIONS+=enc_x264 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_VARS= XPRA_OPTIONS+=enc_x265 PYDISTUTILS_PKGNAME= xpra_all XPRA_OPTIONS_ALL+= ${XPRA_OPTIONS_DISABLED} csc_libyuv csc_swscale \ dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 \ mdns printing sound vpx webcam XPRA_OPTIONS_DISABLED= uinput Xdummy Xdummy_wrapper .include .for opt in ${XPRA_OPTIONS_ALL} .if empty(XPRA_OPTIONS:M${opt}) PYDISTUTILS_ARGS+= --without-${opt} .else PYDISTUTILS_ARGS+= --with-${opt} .endif .endfor .include PYDISTUTILS_BUILDARGS+= ${PYDISTUTILS_ARGS} PYDISTUTILS_CONFIGUREARGS+= ${PYDISTUTILS_ARGS} PYDISTUTILS_INSTALLARGS+= ${PYDISTUTILS_ARGS} post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xpra/platform/pycups_printing.py @${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/sbin|' \ ${WRKSRC}/fs/etc/xpra/conf.d/16_printing.conf.in @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${WRKSRC}/xpra/server/server_util.py post-install: @${MV} ${STAGEDIR}${ETCDIR}/xorg.conf \ ${STAGEDIR}${ETCDIR}/xorg.conf.sample @${MV} ${STAGEDIR}${ETCDIR}/xpra.conf \ ${STAGEDIR}${ETCDIR}/xpra.conf.sample @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -name '*.so' \ -exec ${STRIP_CMD} {} + .include