diff --git a/astro/kstars/Makefile b/astro/kstars/Makefile index 44028d79e1c9..4b6abab12e08 100644 --- a/astro/kstars/Makefile +++ b/astro/kstars/Makefile @@ -1,40 +1,41 @@ PORTNAME= kstars DISTVERSION= 3.6.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= astro kde MASTER_SITES= KDE/stable/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= KDE desktop planetarium WWW= https://edu.kde.org/kstars LICENSE= GPLv2 LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libindidriver.so:devel/indi \ libqt5keychain.so:security/qtkeychain@qt5 \ libraw.so:graphics/libraw \ libgsl.so:math/gsl \ libsecret-1.so:security/libsecret \ libnova.so:astro/libnova \ libstellarsolver.so:astro/stellarsolver \ libwcs.so:astro/wcslib BUILD_DEPENDS= xplanet:astro/xplanet RUN_DEPENDS= xplanet:astro/xplanet USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 \ gettext gnome kde:5 localbase:ldflags pkgconfig qt:5 tar:xz xorg USE_GNOME= glib20 USE_KDE= attica auth bookmarks codecs completion config configwidgets\ coreaddons crash dbusaddons guiaddons i18n \ iconthemes init itemviews jobwidgets kio newstuff notifications \ notifyconfig parts plotting service solid texteditor \ widgetsaddons windowsystem xmlgui \ doctools:build ecm:build USE_QT= concurrent core datavis3d dbus declarative gui multimedia \ network opengl printsupport sql svg testlib websockets widgets \ xml \ buildtools:build qmake:build USE_XORG= x11 .include diff --git a/devel/efl/Makefile b/devel/efl/Makefile index 9383c3772d1b..68fc710c8d98 100644 --- a/devel/efl/Makefile +++ b/devel/efl/Makefile @@ -1,235 +1,235 @@ PORTNAME= efl DISTVERSION= 1.26.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel enlightenment MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Enlightenment Foundation Libraries WWW= https://docs.enlightenment.org/efl/current/ LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= checkmk:devel/check LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libcurl.so:ftp/curl \ libsndfile.so:audio/libsndfile # lib/libeio.so.1 CONFLICTS_INSTALL= libeio USES= compiler:c++14-lang gettext-tools gnome iconv \ jpeg libtool localbase:ldflags meson ninja ssl pathfix pkgconfig \ python:3.5+ shared-mime-info shebangfix tar:xz xorg SHEBANG_FILES= src/tests/elementary/spec/generator.py \ src/bin/exactness/exactness_play.in \ src/bin/exactness/exactness_record.in USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama \ xrandr xrender xtst xscrnsaver USE_LDCONFIG= yes MESON_ARGS= -Dsystemd=false -Deeze=false -Dinput=false PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SDL VNC EFLONE ELUA EXAMPLES DOXYGEN WAYLAND OPTIONS_GROUP= EMOTION INPUT LOADER BINDINGS OPTIONS_GROUP_EMOTION= GSTREAMER V4L OPTIONS_GROUP_INPUT= IBUS SCIM XIM OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF AVIF HEIF OPTIONS_GROUP_BINDINGS= LUA CXX OPTIONS_GROUP_WAYLAND= WAYLAND OPTIONS_SINGLE= CRYPTO ENGINE LUAL OPTIONS_SINGLE_CRYPTO= OPENSSL GNUTLS OPTIONS_SINGLE_ENGINE= OPENGL OPENGLES NONE OPTIONS_SINGLE_LUAL= LUAJIT LUALANG OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PULSEAUDIO EXAMPLES GSTREAMER V4L SCIM XIM \ OPENSSL OPENJPEG PDF PS RAW SVG WEBP XCF OPENGLES LUAJIT CXX OPTIONS_SUB= yes HARFBUZZ_DESC= OpenType text shaping engine PHYSICS_DESC= Physics engine (bullet) - DEPRECATED UPSTREAM EFLONE_DESC= Create EFL-One library (single file library) - EXPERIMENTAL ELUA_DESC= Lua launcher binary support in efl VNC_DESC= VNC Server support IBUS_DESC= Intelligent Input Bus SCIM_DESC= Smart Common Input Method XIM_DESC= X Input Method SVG_DESC= Vector graphics support XCF_DESC= Gimp image format support LUAL_DESC= LUA LUALANG_DESC= Use Lua LUAJIT_DESC= Use Luajit OPENGLES_DESC= 2D/3D rendering support via OpenGL ES NONE_DESC= No acceleration, software only LUA_DESC= Lua Bindings CXX_DESC= C++ Bindings EXAMPLES_DESC= Build examples of using EFL AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= avahi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_MESON_TRUE= fribidi HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_MESON_TRUE= harfbuzz NLS_USES= gettext-runtime NLS_MESON_TRUE= nls PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet PHYSICS_MESON_TRUE= physics PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulseaudio EFLONE_BROKEN_i386= EFLONE option is broken on i386 by the upstream bug: https://phab.enlightenment.org/T8870 EFLONE_MESON_TRUE= efl-one ELUA_MESON_TRUE= elua EXAMPLES_MESON_TRUE= build-examples DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen VNC_MESON_TRUE= vnc-server VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver LUA_IMPLIES= ELUA LUA_VARS= lua_binding=lua CXX_VARS= cxx_binding=cxx WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim WAYLAND_LDFLAGS= -lepoll-shim WAYLAND_MESON_TRUE= wl WAYLAND_BROKEN= Wayland bits compile but don't yet work at runtime GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=core GSTREAMER_MESON_TRUE= gstreamer V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_MESON_TRUE= v4l2 IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_USES= gnome IBUS_USE= GNOME=glib20 IBUS_MESON_TRUE= glib IBUS_VARS_OFF= ibus_disabler=ibus SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_VARS_OFF= scim_disabler=scim XIM_VARS_OFF= xim_disabler=xim OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_VARS_OFF= openjpeg_disabler=jp2k GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls GNUTLS_MESON_ON= -Dcrypto=gnutls GNUTLS_MESON_OFF= -Dcrypto=openssl GNUTLS_CFLAGS= -I${LOCALBASE}/include/gnutls/ GNUTLS_BROKEN= GNUTLS option is broken by the upstream bug: https://phab.enlightenment.org/T8807 PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler PDF_VARS_OFF= pdf_disabler=pdf PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_VARS_OFF= ps_disabler=ps RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_VARS_OFF= raw_disabler=raw SVG_USES= gnome SVG_USE= GNOME=cairo GNOME=librsvg2 SVG_VARS_OFF= svg_disabler=rsvg AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_VARS_OFF= avif_disabler=avif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_VARS_OFF= heif_disabler=heif WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS_OFF= webp_disabler=webp XCF_VARS_OFF= xcf_disabler=xcf LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua-interpreter=luajit LUAJIT_PREVENTS= LUALANG LUALANG_USES= lua:51,build,run LUALANG_MESON_ON= -Dlua-interpreter=lua LUALANG_PREVENTS= LUAJIT OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MESON_ON= -Dopengl=full OPENGLES_USES= gl OPENGLES_USE= GL=glesv2 OPENGLES_MESON_ON= -Dopengl=es-egl NONE_MESON_ON= -Dopengl=none SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_TRUE= sdl IMF_DISABLERS= ${IBUS_DISABLER} ${SCIM_DISABLER} ${XIM_DISABLER} MESON_ARGS+= -Decore-imf-loaders-disabler="${IMF_DISABLERS:ts,}" EVAS_DISABLERS= json ${OPENJPEG_DISABLER} ${PDF_DISABLER} \ ${PS_DISABLER} ${RAW_DISABLER} ${SVG_DISABLER} \ ${AVIF_DISABLER} ${HEIF_DISABLER} ${WEBP_DISABLER} \ ${XCF_DISABLER} MESON_ARGS+= -Devas-loaders-disabler="${EVAS_DISABLERS:ts,}" EFL_BINDINGS= ${LUA_BINDING} ${CXX_BINDING} MESON_ARGS+= -Dbindings="${EFL_BINDINGS:ts,}" .include # Work-around build failure, which is caused by subtle problem in lld and -as-needed flag .if ${ARCH} == i386 MESON_ARGS+= -Db_asneeded=false .endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH:Marmv?} BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -no-integrated-as .endif post-install: #@${RM} -r ${STAGEDIR}${PREFIX}/share/gdb @for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ done post-stage: @${ECHO_CMD} "autogenerating plist"; @cd ${STAGEDIR}${PREFIX} && ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 22c8591d1c49..7c83821d7dd3 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,347 +1,348 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.12-77 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 6 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools (legacy version) WWW= https://legacy.imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl TESTS_DEPENDS= gsfonts>=0:print/gsfonts PORTSCOUT?= limit:^6\.9\. CONFLICTS_INSTALL= ImageMagick7 ImageMagick7-nox11 # bin/Magick++-config # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= compiler:c++11-lang cpe gettext-runtime gmake gnome \ libtool:keepla localbase pathfix perl5 pkgconfig:both \ shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \ policy.xml quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB HEIF JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PANGO PDF PERL PNG RAQM SVG TESTS TIFF WEBP WMF \ THREADS X11 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG RAQM SVG \ TIFF WEBP WMF THREADS X11 RAW DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFMPEG_DESC= Video CODEC support from FFmpeg FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PANGO_IMPLIES= X11 PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 SVG_IMPLIES= X11 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= xorg=ice,sm,x11,xext,xt X11_VARS= CONFLICTS_INSTALL+="ImageMagick6-nox11" X11_VARS_OFF= CONFLICTS_INSTALL+="ImageMagick6" \ PKGNAMESUFFIX=6-nox11 .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${PORT_OPTIONS:MX11} USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libwmf.so:graphics/libwmf . else LIB_DEPENDS+= libwmf.so:graphics/libwmf-nox11 . endif CONFIGURE_ARGS+= --with-wmf=yes PLIST_SUB+= WMF="" .else CONFIGURE_ARGS+= --without-wmf PLIST_SUB+= WMF="@comment " .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${PORT_OPTIONS:MX11} USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${PORT_OPTIONS:MX11} USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif .if ${PORT_OPTIONS:MSVG} && ! ${PORT_OPTIONS:MX11} @${ECHO_CMD} NOTICE: SVG format support disabled, requires X11 .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index cac483c82be0..1fc165860ecf 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,346 +1,347 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.0-62 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 7 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools WWW= https://imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libzip.so:archivers/libzip TESTS_DEPENDS= gsfonts>=0:print/gsfonts # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= cpe gettext-runtime gmake gnome libtool:keepla localbase \ pathfix perl5 pkgconfig:both shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= colors.xml delegates.xml log.xml mime.xml policy.xml \ quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PANGO PDF PERL PNG RAQM SVG TESTS TIFF WEBP WMF \ THREADS X11 16BIT_PIXEL HDRI HEIF RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES OPENEXR PDF PERL PNG RAQM SVG \ TIFF WEBP WMF THREADS X11 HDRI RAW DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PANGO_IMPLIES= X11 PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 SVG_IMPLIES= X11 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= xorg=ice,sm,x11,xext,xt X11_VARS= CONFLICTS_INSTALL+="ImageMagick7-nox11" X11_VARS_OFF= CONFLICTS_INSTALL+="ImageMagick7" \ PKGNAMESUFFIX=7-nox11 .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${PORT_OPTIONS:MX11} USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libwmf.so:graphics/libwmf . else LIB_DEPENDS+= libwmf.so:graphics/libwmf-nox11 . endif CONFIGURE_ARGS+= --with-wmf=yes PLIST_SUB+= WMF="" .else CONFIGURE_ARGS+= --without-wmf PLIST_SUB+= WMF="@comment " .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${PORT_OPTIONS:MX11} USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${PORT_OPTIONS:MX11} USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif .if ${PORT_OPTIONS:MSVG} && ! ${PORT_OPTIONS:MX11} @${ECHO_CMD} NOTICE: SVG format support disabled, requires X11 .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor post-install-TESTS-on: test do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/filmulator/Makefile b/graphics/filmulator/Makefile index 73958db359c4..a536c5e5e911 100644 --- a/graphics/filmulator/Makefile +++ b/graphics/filmulator/Makefile @@ -1,49 +1,50 @@ PORTNAME= filmulator PORTVERSION= 0.11.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Simplified raw editor with the power of film WWW= https://filmulator.org/ LICENSE= GPLv3+ .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ liblensfun.so:graphics/lensfun \ libraw_r.so:graphics/libraw \ librtprocess.so:graphics/librtprocess \ libtiff.so:graphics/tiff USES= cmake jpeg libarchive pkgconfig qt:5 USE_GITHUB= yes USE_QT= buildtools:build qmake:build core declarative gui \ network sql widgets GH_ACCOUNT= CarVac GH_PROJECT= ${PORTNAME}-gui WRKSRC_SUBDIR= ${GH_PROJECT} post-patch: @${REINPLACE_CMD} -e '/target_compile_definitions.*LF_GIT/d' \ ${WRKSRC}/CMakeLists.txt # Prerendered PNG icon is 64x58 which Qt does not want to load, so use # original SVG instead which is square. Qt's icon engine supports SVG # since Qt 4.2. @${REINPLACE_CMD} -e '/filmulator64icon/s,png,svg,' \ ${WRKSRC}/main.cpp ${WRKSRC}/resources/pixmaps.qrc post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps ${INSTALL_DATA} ${WRKSRC}/filmulator-gui64.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/filmulator-gui.png ${INSTALL_DATA} ${WRKSRC}/filmulator-gui.desktop.in \ ${STAGEDIR}${PREFIX}/share/applications/filmulator-gui.desktop .include diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 88dfa2d1bb36..140811d6e6e1 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,146 +1,147 @@ PORTNAME= gegl PORTVERSION= 0.4.42 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GIMP MAINTAINER= gnome@FreeBSD.org COMMENT= Graph based image processing framework WWW= https://gegl.org/ LICENSE= BSD3CLAUSE GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libjson-glib-1.0.so:devel/json-glib \ libfribidi.so:converters/fribidi \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png USES= compiler:c++14-lang cpe gettext gnome jpeg localbase \ meson pkgconfig shebangfix uniquefiles tar:xz USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Ddocs=false \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dlibjpeg=enabled \ -Dlibpng=enabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled GEGL_SHLIB= 0.441.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} SHEBANG_FILES= tools/xml_insert.sh OPTIONS_SUB= yes OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG PIXBUF GRAPHVIZ JASPER LCMS2 \ OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L \ WEBP TIFF GEXIV2 VAPI OPTIONS_DEFAULT=CAIRO ENSCRIPT GEXIV2 PIXBUF GRAPHVIZ JASPER LCMS2 \ OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L WEBP TIFF VAPI PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo PANGO_USE= GNOME=pango PANGO_MESON_ENABLED= pango POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler ENSCRIPT_DESC= Enscript support ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav GRAPHVIZ_LIB_DEPENDS= libcgraph.so:graphics/graphviz GRAPHVIZ_MESON_ENABLED= graphviz JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_MESON_ENABLED= jasper LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg SDL_USE= SDL=sdl2 SDL_USES= sdl SDL_MESON_ENABLED= sdl2 SPIRO_DESC= Spiro support SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_MESON_ENABLED= libspiro V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_MESON_ENABLED= libv4l2 V4L_VARS= LICENSE+=LGPL20+ WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp # UMFPACK has two "problems" # 1) it build with port gcc 2) needed libs aren't recorded in the libraries. #UMFPACK_DESC= UMFpack support #UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse #UMFPACK_MESON_ENABLED= umfpack MESON_ARGS+= -Dumfpack=disabled GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEXIV2_MESON_ENABLED= gexiv2 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff VAPI_USES= vala:build VAPI_MESON_ENABLED= vapigen .include .if ${PORT_OPTIONS:MPANGO} && ${PORT_OPTIONS:MCAIRO} PLIST_SUB+= PANGOCAIRO="" MESON_ARGS+= -Dpangocairo=enabled .else MESON_ARGS+= -Dpangocairo=disabled PLIST_SUB+= PANGOCAIRO="@comment " .endif .if defined(WITH_DEBUG) LDFLAGS+= -lexecinfo .endif .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARM="@comment " .elif ${ARCH} == "armv6" || ${ARCH} == "armv7" PLIST_SUB+= AMD64="@comment " ARM="" .else PLIST_SUB+= AMD64="@comment " ARM="@comment " .endif post-patch: .if ${CHOSEN_COMPILER_TYPE} == clang ${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h .endif .include diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile index d5d0fa6c5008..a31a5da057a7 100644 --- a/graphics/gthumb/Makefile +++ b/graphics/gthumb/Makefile @@ -1,104 +1,107 @@ PORTNAME= gthumb PORTVERSION= 3.12.2 PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= GNOME DIST_SUBDIR= gnome +PATCH_SITES= https://gitlab.gnome.org/GNOME/gthumb/-/commit/ +PATCHFILES= 2133520496afd179702953a5d07aa99b5209f9cf.patch:-p1 #Fix build with libraw >= 0.21.0 + MAINTAINER= gnome@FreeBSD.org COMMENT= Image viewer and browser for the GNOME environment WWW= https://wiki.gnome.org/Apps/gthumb/ LICENSE= GPLv2+ BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liboauth.so:net/liboauth \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libcolord.so:graphics/colord RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= bison compiler:c++11-lib cpe desktop-file-utils gettext gl \ gnome jpeg localbase:ldflags meson pkgconfig \ python:3.5+,build shebangfix tar:xz xorg USE_GL= egl USE_GNOME= cairo gtk30 intltool librsvg2 USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xi MESON_ARGS= -Dlibrsvg=true \ -Dlibchamplain=false CPE_VENDOR= gnome INSTALL_TARGET= install-strip USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= *.py data/gschemas/*.py gthumb/*.py po/*.py PLIST_SUB= GTHUMB_VER="3.10" GLIB_SCHEMAS= org.gnome.gthumb.change-date.gschema.xml \ org.gnome.gthumb.comments.gschema.xml \ org.gnome.gthumb.contact-sheet.gschema.xml \ org.gnome.gthumb.convert-format.gschema.xml \ org.gnome.gthumb.crop.gschema.xml \ org.gnome.gthumb.enums.xml \ org.gnome.gthumb.facebook.gschema.xml \ org.gnome.gthumb.file-manager.gschema.xml \ org.gnome.gthumb.flickr.gschema.xml \ org.gnome.gthumb.gschema.xml \ org.gnome.gthumb.gstreamer-tools.gschema.xml \ org.gnome.gthumb.image-print.gschema.xml \ org.gnome.gthumb.image-viewer.gschema.xml \ org.gnome.gthumb.importer.gschema.xml \ org.gnome.gthumb.photo-importer.gschema.xml \ org.gnome.gthumb.picasaweb.gschema.xml \ org.gnome.gthumb.pixbuf-savers.gschema.xml \ org.gnome.gthumb.rename-series.gschema.xml \ org.gnome.gthumb.resize-images.gschema.xml \ org.gnome.gthumb.resize.gschema.xml \ org.gnome.gthumb.rotate.gschema.xml \ org.gnome.gthumb.slideshow.gschema.xml \ org.gnome.gthumb.webalbums.gschema.xml \ org.gnome.gthumb.catalogs.gschema.xml \ org.gnome.gthumb.terminal.gschema.xml OPTIONS_DEFINE= BRASERO CLUTTER EXIV2 GSTREAMER JXL RAW SECRET \ WEBP WEBSERVICES YELP OPTIONS_DEFAULT= BRASERO CLUTTER EXIV2 GSTREAMER JXL RAW SECRET \ WEBP WEBSERVICES YELP OPTIONS_SUB= yes BRASERO_DESC= Write galleries to CD/DVD (large dependency) BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero BRASERO_MESON_TRUE= libbrasero CLUTTER_DESC= Fancy slideshows CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3 CLUTTER_MESON_TRUE= clutter EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 EXIV2_MESON_TRUE= exiv2 GSTREAMER_USES= gstreamer GSTREAMER_MESON_TRUE= gstreamer JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_TRUE= libjxl RAW_DESC= Raw image support via libraw RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_TRUE= libraw SECRET_DESC= Libsecret support for storing passwords SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret SECRET_MESON_TRUE= libsecret WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_TRUE= libwebp WEBSERVICES_DESC= Web services WEBSERVICES_LIB_DEPENDS=\ libjson-glib-1.0.so:devel/json-glib \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 WEBSERVICES_MESON_TRUE= webservices YELP_DESC= Viewer for built-in help system YELP_RUN_DEPENDS= yelp:x11/yelp .include diff --git a/graphics/gthumb/distinfo b/graphics/gthumb/distinfo index 542262abfbdc..84132352c484 100644 --- a/graphics/gthumb/distinfo +++ b/graphics/gthumb/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1656159852 +TIMESTAMP = 1677764827 SHA256 (gnome/gthumb-3.12.2.tar.xz) = 97f8afe522535216541ebbf1e3b546d12a6beb38a8f0eb85f26e676934aad425 SIZE (gnome/gthumb-3.12.2.tar.xz) = 7585700 +SHA256 (gnome/2133520496afd179702953a5d07aa99b5209f9cf.patch) = 96c82ad7390d3c39e421f1e0e6b129492f07dc9239d54791ed41713659dd496a +SIZE (gnome/2133520496afd179702953a5d07aa99b5209f9cf.patch) = 2358 diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index 75ab5a299383..491c05e09600 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,78 +1,78 @@ PORTNAME= krita DISTVERSION= 5.1.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Sketching and painting program WWW= https://krita.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libheif>=1.12.0:graphics/libheif BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= xsimd>=8.1:devel/xsimd BUILD_DEPENDS_amd64= xsimd>=8.1:devel/xsimd LIB_DEPENDS= libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libX11.so:x11/libX11 \ libboost_system.so:devel/boost-libs \ libfftw3.so:math/fftw3 \ libexiv2.so:graphics/exiv2 \ libcurl.so:ftp/curl \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libheif.so:graphics/libheif \ libturbojpeg.so:graphics/libjpeg-turbo \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 \ libraw.so:graphics/libraw \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libxcb.so:x11/libxcb \ libxcb-util.so:x11/xcb-util # Disable ninja generator for now (with gmake), until the duplicate test targets are resolved upstream. USES= cmake compiler:c++11-lib desktop-file-utils \ eigen:3 gettext jpeg kde:5 localbase:ldflags pkgconfig \ python:3.7+ qt:5 shared-mime-info tar:xz xorg USE_KDE= archive completion config coreaddons crash guiaddons i18n \ itemmodels itemviews kio service widgetsaddons windowsystem USE_QT= concurrent core dbus declarative gui multimedia network printsupport \ sql svg testlib widgets x11extras xml sql-sqlite3:run \ buildtools:build qmake:build USE_XORG= ice sm xcb xext xi CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_PyQt5:BOOL=true OPTIONS_DEFINE= GMIC OPENEXR OPTIONS_DEFAULT= OPENEXR OPTIONS_SUB= yes GMIC_DESC= Depend on the G'Mic plugin #' GMIC_RUN_DEPENDS= gmic_krita_qt:graphics/gmic-qt@krita OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libKSeExpr.so:graphics/kseexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR PLIST_SUB= SHLIB_VER=18.0.0 \ SHLIB_SHVER=18 .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 BUILD_DEPENDS+= vc>=1.1.0:devel/vc .else CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Vc=ON .endif .include diff --git a/graphics/libkdcraw/Makefile b/graphics/libkdcraw/Makefile index 8def6f675183..fd1ef96bdff3 100644 --- a/graphics/libkdcraw/Makefile +++ b/graphics/libkdcraw/Makefile @@ -1,24 +1,25 @@ PORTNAME= libkdcraw DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= graphics kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= LibRaw interface for KDE WWW= https://www.digikam.org/ LICENSE= GPLv2+ LIB_DEPENDS= libjasper.so:graphics/jasper \ liblcms.so:graphics/lcms \ libxml2.so:textproc/libxml2 \ libraw.so:graphics/libraw USES= cmake compiler:c++11-lang jpeg kde:5 pkgconfig qt:5 tar:xz USE_KDE= ecm USE_QT= core gui \ buildtools:build qmake:build USE_LDCONFIG= yes CMAKE_ARGS= -DWITH_OpenMP:BOOL=False \ -DENABLE_RAWSPEED=True .include diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile index 72499cd886b7..9701b96b65ea 100644 --- a/graphics/libraw/Makefile +++ b/graphics/libraw/Makefile @@ -1,66 +1,63 @@ PORTNAME= libraw -PORTVERSION= 0.20.2 -PORTREVISION= 3 +PORTVERSION= 0.21.1 CATEGORIES= graphics MASTER_SITES= http://www.libraw.org/data/ DISTNAME= LibRaw-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Library for manipulating raw images WWW= https://www.libraw.org/ LICENSE= LGPL21 CDDL LICENSE_COMB= dual USES= cpe libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-examples INSTALL_TARGET= install-strip PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES JASPER JPEG LCMS2 OPENMP OPTIMIZED_CFLAGS \ RPIRAW X3F OPTIONS_DEFAULT= JPEG LCMS2 -JASPER_CONFIGURE_ENABLE= jasper -JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper +JASPER_CONFIGURE_ENABLE= jasper +JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper -JPEG_CONFIGURE_ENABLE= jpeg -JPEG_USES= jpeg +JPEG_CONFIGURE_ENABLE= jpeg +JPEG_USES= jpeg -LCMS2_CONFIGURE_ENABLE= lcms -LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 +LCMS2_CONFIGURE_ENABLE= lcms +LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 -OPENMP_DESC= OpenMP support (implies GCC) -OPENMP_CONFIGURE_ENABLE= openmp -OPENMP_LDFLAGS+= -lomp +OPENMP_CONFIGURE_ENABLE= openmp +OPENMP_LDFLAGS= -lomp -RPIRAW_DESC= Raspberry Pi RAW+JPEG support -RPIRAW_CPPFLAGS= -DUSE_6BY9RPI +RPIRAW_DESC= Raspberry Pi RAW+JPEG support +RPIRAW_CPPFLAGS= -DUSE_6BY9RPI -X3F_DESC= X3F (Foveon) support -X3F_CPPFLAGS= -DUSE_X3FTOOLS +X3F_DESC= X3F (Foveon) support +X3F_CPPFLAGS= -DUSE_X3FTOOLS -OPTIMIZED_CFLAGS_CFLAGS= -O3 +OPTIMIZED_CFLAGS_CFLAGS= -O3 post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/*.pc.in - @${TOUCH} -r ${WRKSRC}/configure.ac ${WRKSRC}/aclocal.m4 # Use "\*" instead of "." in COPYTREE_SHARE commands as "." has # the undesired effect of copying ".deps" directory post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/libraw/distinfo b/graphics/libraw/distinfo index 2bfaeab695e3..c386a5667588 100644 --- a/graphics/libraw/distinfo +++ b/graphics/libraw/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1604028382 -SHA256 (LibRaw-0.20.2.tar.gz) = dc1b486c2003435733043e4e05273477326e51c3ea554c6864a4eafaff1004a6 -SIZE (LibRaw-0.20.2.tar.gz) = 1432141 +TIMESTAMP = 1677636265 +SHA256 (LibRaw-0.21.1.tar.gz) = 630a6bcf5e65d1b1b40cdb8608bdb922316759bfb981c65091fec8682d1543cd +SIZE (LibRaw-0.21.1.tar.gz) = 1638461 diff --git a/graphics/libraw/pkg-plist b/graphics/libraw/pkg-plist index 94d6d6cfd79e..6d261932a558 100644 --- a/graphics/libraw/pkg-plist +++ b/graphics/libraw/pkg-plist @@ -1,17 +1,17 @@ include/libraw/libraw.h include/libraw/libraw_alloc.h include/libraw/libraw_const.h include/libraw/libraw_datastream.h include/libraw/libraw_internal.h include/libraw/libraw_types.h include/libraw/libraw_version.h lib/libraw.a lib/libraw.so -lib/libraw.so.20 -lib/libraw.so.20.0.0 +lib/libraw.so.23 +lib/libraw.so.23.0.0 lib/libraw_r.a lib/libraw_r.so -lib/libraw_r.so.20 -lib/libraw_r.so.20.0.0 +lib/libraw_r.so.23 +lib/libraw_r.so.23.0.0 libdata/pkgconfig/libraw.pc libdata/pkgconfig/libraw_r.pc diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index 9cb3bbce1883..90fd13d1d628 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,62 +1,62 @@ PORTNAME= luminance-hdr DISTVERSION= 2.6.1.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography WWW= http://qtpfsgui.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libraw_r.so:graphics/libraw \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libOpenEXR.so:graphics/openexr \ libboost_date_time.so:devel/boost-libs CFLAGS+= -I${LOCALBASE}/include/Imath USES= cmake desktop-file-utils eigen:3 jpeg pkgconfig qt:5 tar:bzip2 USE_QT= concurrent core declarative gui location network \ printsupport sql svg widgets xml \ buildtools:build linguisttools:build qmake:build OPTIONS_DEFINE= CFITSIO DOCS HELPBROWSER OPTIONS_DEFAULT= CFITSIO OPTIONS_DEFAULT_aarch64= HELPBROWSER OPTIONS_DEFAULT_amd64= HELPBROWSER OPTIONS_DEFAULT_i386= HELPBROWSER CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio HELPBROWSER_DESC= Build help browser (requires QtWebEngine) HELPBROWSER_USE= QT=webchannel,webengine HELPBROWSER_CMAKE_BOOL= WITH_HELPBROWSER .include post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) @${REINPLACE_CMD} -e '/LICENSE/d ; \ /#info files/s,share/luminance-hdr/doc,${DOCSDIR_REL},' \ ${WRKSRC}/CMakeLists.txt # Point to the right location for program where to look for GPL text @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ s,share/luminance-hdr/doc,share/licenses/${PKGNAME},' \ ${WRKSRC}/src/UI/UMessageBox.cpp post-patch-HELPBROWSER-off: @${REINPLACE_CMD} -e 's,name="documentationAction">,& \ false,' \ ${WRKSRC}/src/MainWindow/MainWindow.ui .include diff --git a/graphics/nomacs/Makefile b/graphics/nomacs/Makefile index 8c42c56578e3..571a4f45fd27 100644 --- a/graphics/nomacs/Makefile +++ b/graphics/nomacs/Makefile @@ -1,52 +1,52 @@ PORTNAME= nomacs PORTVERSION= 3.16 DISTVERSIONSUFFIX= .224 -PORTREVISION= 7 +PORTREVISION= 8 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 WWW= https://www.nomacs.org/ 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@qt5 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/openimageio/Makefile b/graphics/openimageio/Makefile index fc1cf5043460..38c9e08d3f7e 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,136 +1,136 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.4.4.2 # 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?= 5 +PORTREVISION?= 6 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library WWW= https://www.openimageio.org/ 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/oyranos/Makefile b/graphics/oyranos/Makefile index dbfdd7bb6e64..b165a7dce92d 100644 --- a/graphics/oyranos/Makefile +++ b/graphics/oyranos/Makefile @@ -1,66 +1,66 @@ PORTNAME= oyranos PORTVERSION= 0.9.6 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Colour Management System (CMS) WWW= http://www.oyranos.org/ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:graphics/icc-profiles-openicc \ ${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:graphics/icc-profiles-basiccolor \ xcalib:x11/xcalib LIB_DEPENDS= libraw.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libpng.so:graphics/png \ libcairo.so:graphics/cairo \ libyajl.so:devel/yajl \ libcups.so:print/cups \ libxdot.so:graphics/graphviz \ liblcms.so:graphics/lcms \ liblcms2.so:graphics/lcms2 \ libXcm.so:x11/libXcm \ libltdl.so:devel/libltdl \ libfontconfig.so:x11-fonts/fontconfig \ libOpenICC.so:graphics/openicc-config USE_GITHUB= yes GH_ACCOUNT= oyranos-cms USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \ iconv jpeg pkgconfig qt:5 xorg USE_GL= gl USE_LDCONFIG= yes USE_GNOME= libxml2 USE_QT= core gui widgets x11extras \ buildtools:build qmake:build USE_XORG= ice sm x11 xcursor xext xfixes xinerama xrandr xrender xft xxf86vm CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DOXYGEN FLTK OPTIONS_SUB= yes FLTK_DESC= Build FLTK-based auxiliary programs FLTK_BROKEN= fails to build, see https://github.com/oyranos-cms/oyranos/issues/62 DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= VER=${PORTVERSION} .if !exists(/usr/bin/clang) USE_GCC= yes .endif post-patch: @${REINPLACE_CMD} -e 's|lib|libdata|' \ ${WRKSRC}/extras/CMakeLists.txt .include diff --git a/graphics/oyranos/files/patch-CMakeLists.txt b/graphics/oyranos/files/patch-CMakeLists.txt index c60668d2cb9c..16ad373e569b 100644 --- a/graphics/oyranos/files/patch-CMakeLists.txt +++ b/graphics/oyranos/files/patch-CMakeLists.txt @@ -1,13 +1,13 @@ ---- CMakeLists.txt.orig 2016-12-09 13:36:53.000000000 +0300 -+++ CMakeLists.txt 2016-12-26 17:57:38.831330000 +0300 -@@ -66,6 +66,10 @@ +--- CMakeLists.txt.orig 2016-12-09 10:36:53 UTC ++++ CMakeLists.txt +@@ -66,6 +66,10 @@ ENDIF(UNIX) ENDIF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG) ENDIF(UNIX) +# Add /usr/local/include to search path +IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") + SET(CMAKE_REQUIRED_INCLUDES "/usr/local/include" "/usr/include") +ENDIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") # detect top level projects IF(USE_SYSTEM_YAJL) diff --git a/graphics/oyranos/files/patch-src_API__generated_oyProfile__s.h b/graphics/oyranos/files/patch-src_API__generated_oyProfile__s.h new file mode 100644 index 000000000000..87681f96294f --- /dev/null +++ b/graphics/oyranos/files/patch-src_API__generated_oyProfile__s.h @@ -0,0 +1,10 @@ +--- src/API_generated/oyProfile_s.h.orig 2016-12-09 10:36:53 UTC ++++ src/API_generated/oyProfile_s.h +@@ -30,6 +30,7 @@ + + + ++#include + #include + + #include diff --git a/graphics/oyranos/files/patch-src_API_generated_oyProfile_s.h b/graphics/oyranos/files/patch-src_API_generated_oyProfile_s.h deleted file mode 100644 index 4a65cf59badd..000000000000 --- a/graphics/oyranos/files/patch-src_API_generated_oyProfile_s.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/API_generated/oyProfile_s.h.orig 2013-01-19 14:14:14.000000000 +0400 -+++ src/API_generated/oyProfile_s.h 2013-04-30 18:50:50.999894240 +0400 -@@ -31,6 +31,7 @@ - - - -+#include - #include - - #include diff --git a/graphics/oyranos/files/patch-src_CMakeLists.txt b/graphics/oyranos/files/patch-src_CMakeLists.txt index 2c19eb86f24c..c7726e1b853b 100644 --- a/graphics/oyranos/files/patch-src_CMakeLists.txt +++ b/graphics/oyranos/files/patch-src_CMakeLists.txt @@ -1,10 +1,10 @@ ---- src/CMakeLists.txt.orig 2016-12-09 13:36:53.000000000 +0300 -+++ src/CMakeLists.txt 2016-12-24 23:59:33.793724000 +0300 -@@ -63,7 +63,6 @@ +--- src/CMakeLists.txt.orig 2016-12-09 10:36:53 UTC ++++ src/CMakeLists.txt +@@ -63,7 +63,6 @@ ELSE(HAVE_DL) FIND_PATH(DL_INCLUDE_DIR dlfcn.h) IF(DL_INCLUDE_DIR) SET( HAVE_DL 1 ) - SET( EXTRA_LIBS ${EXTRA_LIBS} dl ) ENDIF(DL_INCLUDE_DIR) ENDIF(HAVE_DL) diff --git a/graphics/oyranos/files/patch-src_modules_color_modules_devices_oyranos__cmm__oyRE.cpp b/graphics/oyranos/files/patch-src_modules_color_modules_devices_oyranos__cmm__oyRE.cpp index 81871331569e..4f5b51d8d688 100644 --- a/graphics/oyranos/files/patch-src_modules_color_modules_devices_oyranos__cmm__oyRE.cpp +++ b/graphics/oyranos/files/patch-src_modules_color_modules_devices_oyranos__cmm__oyRE.cpp @@ -1,11 +1,24 @@ ---- src/modules/color/modules/devices/oyranos_cmm_oyRE.cpp.orig 2018-01-15 20:16:42 UTC +Chunk 2: Fix build with libraw >= 0.21.0 +Based on upstream commit: +https://gitlab.com/oyranos/oyranos/-/commit/7fd1eabdf9f59727c0f516d33663d895f812a449 + +--- src/modules/color/modules/devices/oyranos_cmm_oyRE.cpp.orig 2016-12-09 10:36:53 UTC +++ src/modules/color/modules/devices/oyranos_cmm_oyRE.cpp @@ -482,7 +482,7 @@ oyProfile_s * createMatrixProfile ( libraw_colord oyOptions_s * result = 0; oyOptions_SetFromInt( &opts, "///icc_profile_flags", icc_profile_flags, 0, OY_CREATE_NEW ); - const char * reg = "//"OY_TYPE_STD"/create_profile.color_matrix.icc"; + const char * reg = "//" OY_TYPE_STD "/create_profile.color_matrix.icc"; oyOptions_Handle( reg, opts, "create_profile.icc_profile.color_matrix", &result ); +@@ -1447,7 +1447,7 @@ int DeviceFromContext(oyConfig_s **config, libraw_outp + DFC_OPT_ADD_INT_ARR(greybox,1) //4 + DFC_OPT_ADD_INT_ARR(greybox,2) //4 + DFC_OPT_ADD_INT_ARR(greybox,3) //4 +- DFC_OPT_ADD_INT(shot_select) ++ //DFC_OPT_ADD_INT(shot_select) + + return error; + } diff --git a/graphics/photoqt/Makefile b/graphics/photoqt/Makefile index 5998817aaa14..de9a7d4e2852 100644 --- a/graphics/photoqt/Makefile +++ b/graphics/photoqt/Makefile @@ -1,38 +1,38 @@ PORTNAME= photoqt DISTVERSIONPREFIX= v DISTVERSION= 1.6 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MAINTAINER= melanhit@gmail.com COMMENT= Simple, powerful and good looking QT5 image viewer WWW= https://photoqt.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++11-lib desktop-file-utils \ localbase:ldflags qt:5 USE_QT= core declarative graphicaleffects gui multimedia network \ quickcontrols sql svg widgets xml \ buildtools:build linguisttools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= luspi OPTIONS_DEFINE= EXIV2 RAW GM OPTIONS_DEFAULT=EXIV2 EXIV2_CMAKE_BOOL= EXIV2 EXIV2_DESC= Metadata editing EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 RAW_CMAKE_BOOL= RAW RAW_DESC= Raw image support RAW_LIB_DEPENDS= libraw.so:graphics/libraw GM_CMAKE_BOOL= GM GM_DESC= GraphicsMagick image processing GM_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick .include diff --git a/graphics/photoqt/files/patch-cplusplus_imageprovider_loader_loadimage__raw.h b/graphics/photoqt/files/patch-cplusplus_imageprovider_loader_loadimage__raw.h new file mode 100644 index 000000000000..7cdd88ff11c6 --- /dev/null +++ b/graphics/photoqt/files/patch-cplusplus_imageprovider_loader_loadimage__raw.h @@ -0,0 +1,16 @@ +Fix build with libraw >= 0.21.0 + +--- cplusplus/imageprovider/loader/loadimage_raw.h.orig 2023-03-02 16:52:09 UTC ++++ cplusplus/imageprovider/loader/loadimage_raw.h +@@ -56,7 +56,11 @@ class LoadImageRaw { (public) + // Since we don't care about manipulating RAW images but only want to display + // them, we can optimise for speed + raw.imgdata.params.user_qual = 2; ++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) ++ raw.imgdata.rawparams.use_rawspeed = 1; ++#else + raw.imgdata.params.use_rawspeed = 1; ++#endif + raw.imgdata.params.use_camera_wb = 1; + + // Open the RAW image diff --git a/multimedia/emby-server-devel/Makefile b/multimedia/emby-server-devel/Makefile index 6cadc2a87711..a8d34ea4837a 100644 --- a/multimedia/emby-server-devel/Makefile +++ b/multimedia/emby-server-devel/Makefile @@ -1,138 +1,138 @@ PORTNAME= emby-server DISTVERSION= 4.8.0.21 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \ https://mediabrowser.github.io/embytools/ PKGNAMESUFFIX= -devel DISTNAME= emby-server-freebsd13_${DISTVERSION}_amd64 DISTFILES= ${DISTNAME}.tar.xz \ ffdetect-${FFVERSION}-x64_freebsd13.tar.xz \ ffmpeg-${FFVERSION}.tar.gz \ license.docx DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX} EXTRACT_ONLY= ${DISTNAME}.tar.xz \ ffdetect-${FFVERSION}-x64_freebsd13.tar.xz \ ffmpeg-${FFVERSION}.tar.gz MAINTAINER= driesm@FreeBSD.org COMMENT= Media server to organize, play & stream audio/video to various devices WWW= https://emby.media/ LICENSE= UNKNOWN LICENSE_NAME= custom LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/license.docx LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= nasm:devel/nasm \ ${LOCALBASE}/include/CL/opencl.h:devel/opencl LIB_DEPENDS= libaribb24.so:multimedia/aribb24 \ libass.so:multimedia/libass \ libchromaprint.so:audio/chromaprint \ libdav1d.so:multimedia/dav1d \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgnutls.so:security/gnutls \ libmfx.so:multimedia/intel-media-sdk \ libOpenCL.so:devel/ocl-icd \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ libtesseract.so:graphics/tesseract \ libtheora.so:multimedia/libtheora \ libva.so:multimedia/libva \ libvorbis.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp \ libx264.so:multimedia/libx264 \ libx265.so:multimedia/x265 \ libzvbi.so:devel/libzvbi RUN_DEPENDS= icu>0:devel/icu \ libinotify>0:devel/libinotify \ libunwind>0:devel/libunwind USES= compiler:c11 gmake iconv localbase:ldflags pkgconfig sqlite ssl:run USE_RC_SUBR= ${PORTNAME} HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" \ --disable-alsa \ --disable-doc \ --disable-ffplay \ --disable-libxcb \ --disable-outdev=xv \ --disable-sdl2 \ --disable-shared \ --disable-sndio \ --disable-v4l2-m2m \ --disable-vdpau \ --disable-xlib \ --enable-chromaprint \ --enable-fontconfig \ --enable-gnutls \ --enable-gpl \ --enable-iconv \ --enable-libaribb24 \ --enable-libass \ --enable-libdav1d \ --enable-libdrm \ --enable-libfreetype \ --enable-libfribidi \ --enable-libmfx \ --enable-libopus \ --enable-libtesseract \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libwebp \ --enable-libx264 \ --enable-libx265 \ --enable-libzvbi \ --enable-opencl \ --enable-optimizations \ --enable-static \ --enable-vaapi \ --enable-version3 MAKE_ENV= V=1 CONFLICTS_INSTALL= emby-server NOPRECIOUSMAKEVARS= yes SUB_FILES= SQLitePCLRaw.provider.sqlite3.dll.config SUB_LIST= GROUP=${GROUPS} \ PORTNAME=${PORTNAME} \ RC_NAME=emby_server \ USER=${USERS} WRKSRC= ${WRKDIR}/ffmpeg-${FFVERSION}_public USERS= emby GROUPS= emby OPTIONS_DEFINE= LAME OPTIONS_DEFAULT= LAME LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame FFVERSION= 2022_05_07 do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/bin (${INSTALL_PROGRAM} ${WRKDIR}/bin/ffdetect ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffmpeg ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffprobe ${STAGEDIR}${PREFIX}/lib/emby-server/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/lib (cd ${WRKDIR}/lib && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib/emby-server/lib) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/system (${INSTALL_DATA} ${WRKDIR}/SQLitePCLRaw.provider.sqlite3.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system) (cd ${WRKDIR}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system "! -name EmbyServer") (${INSTALL_PROGRAM} ${WRKDIR}/system/EmbyServer ${STAGEDIR}${PREFIX}/lib/emby-server/system) .include diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile index 006ec73d3942..b8e7dcea8b37 100644 --- a/multimedia/emby-server/Makefile +++ b/multimedia/emby-server/Makefile @@ -1,137 +1,137 @@ PORTNAME= emby-server DISTVERSION= 4.7.11.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \ https://mediabrowser.github.io/embytools/ DISTNAME= emby-server-freebsd13_${DISTVERSION}_amd64 DISTFILES= ${DISTNAME}.tar.xz \ ffdetect-${FFVERSION}-x64_freebsd13.tar.xz \ ffmpeg-${FFVERSION}.tar.gz \ license.docx DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}.tar.xz \ ffdetect-${FFVERSION}-x64_freebsd13.tar.xz \ ffmpeg-${FFVERSION}.tar.gz MAINTAINER= driesm@FreeBSD.org COMMENT= Media server to organize, play & stream audio/video to various devices WWW= https://emby.media/ LICENSE= UNKNOWN LICENSE_NAME= custom LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/license.docx LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= nasm:devel/nasm \ ${LOCALBASE}/include/CL/opencl.h:devel/opencl LIB_DEPENDS= libaribb24.so:multimedia/aribb24 \ libass.so:multimedia/libass \ libchromaprint.so:audio/chromaprint \ libdav1d.so:multimedia/dav1d \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgnutls.so:security/gnutls \ libmfx.so:multimedia/intel-media-sdk \ libOpenCL.so:devel/ocl-icd \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ libtesseract.so:graphics/tesseract \ libtheora.so:multimedia/libtheora \ libva.so:multimedia/libva \ libvorbis.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp \ libx264.so:multimedia/libx264 \ libx265.so:multimedia/x265 \ libzvbi.so:devel/libzvbi RUN_DEPENDS= icu>0:devel/icu \ libinotify>0:devel/libinotify \ libunwind>0:devel/libunwind USES= compiler:c11 gmake iconv localbase:ldflags pkgconfig sqlite ssl:run USE_RC_SUBR= ${PORTNAME} HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" \ --disable-alsa \ --disable-doc \ --disable-ffplay \ --disable-libxcb \ --disable-outdev=xv \ --disable-sdl2 \ --disable-shared \ --disable-sndio \ --disable-v4l2-m2m \ --disable-vdpau \ --disable-xlib \ --enable-chromaprint \ --enable-fontconfig \ --enable-gnutls \ --enable-gpl \ --enable-iconv \ --enable-libaribb24 \ --enable-libass \ --enable-libdav1d \ --enable-libdrm \ --enable-libfreetype \ --enable-libfribidi \ --enable-libmfx \ --enable-libopus \ --enable-libtesseract \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libwebp \ --enable-libx264 \ --enable-libx265 \ --enable-libzvbi \ --enable-opencl \ --enable-optimizations \ --enable-static \ --enable-vaapi \ --enable-version3 MAKE_ENV= V=1 CONFLICTS_INSTALL= emby-server-devel NOPRECIOUSMAKEVARS= yes SUB_FILES= SQLitePCLRaw.provider.sqlite3.dll.config SUB_LIST= GROUP=${GROUPS} \ PORTNAME=${PORTNAME} \ RC_NAME=emby_server \ USER=${USERS} WRKSRC= ${WRKDIR}/ffmpeg-${FFVERSION}_public USERS= emby GROUPS= emby OPTIONS_DEFINE= LAME OPTIONS_DEFAULT= LAME LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame FFVERSION= 2022_05_07 do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/bin (${INSTALL_PROGRAM} ${WRKDIR}/bin/ffdetect ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffmpeg ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffprobe ${STAGEDIR}${PREFIX}/lib/emby-server/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/lib (cd ${WRKDIR}/lib && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib/emby-server/lib) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/system (${INSTALL_DATA} ${WRKDIR}/SQLitePCLRaw.provider.sqlite3.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system) (cd ${WRKDIR}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system "! -name EmbyServer") (${INSTALL_PROGRAM} ${WRKDIR}/system/EmbyServer ${STAGEDIR}${PREFIX}/lib/emby-server/system) .include