diff --git a/multimedia/gnome-twitch/Makefile b/multimedia/gnome-twitch/Makefile index 49b77499f69c..3a8859afbabf 100644 --- a/multimedia/gnome-twitch/Makefile +++ b/multimedia/gnome-twitch/Makefile @@ -1,65 +1,69 @@ PORTNAME= gnome-twitch DISTVERSIONPREFIX= v DISTVERSION= 0.4.1-155 DISTVERSIONSUFFIX= -g8e774a0 PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= greg@unrelenting.technology COMMENT= GTK+ Twitch livestream player LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/GPL3 BROKEN= Doesn't work, multiple bug reports upstream DEPRECATED= Unmaintained, please consider using www/yt-dlp or multimedia/streamlink EXPIRATION_DATE=2022-06-30 LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libpeas-1.0.so:devel/libpeas \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 USES= compiler:c11 gettext gnome meson pkgconfig python:3.5+,build \ tar:xz xorg USE_GITHUB= yes USE_LDCONFIG= yes USE_GNOME= gtk30 USE_XORG= x11 GH_ACCOUNT= vinszent GLIB_SCHEMAS= com.vinszent.GnomeTwitch.gschema.xml # for meson_post-install.py BINARY_ALIAS= python3=${PYTHON_CMD} # prevent stray USE_GNOME=gdkpixbuf2 LDFLAGS+= -Wl,--as-needed MESON_ARGS= -Dbuild-player-backends=${PLAYER_BACKENDS:tl:S/_/-/:ts,} OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= GSTREAMER_CAIRO GSTREAMER_CLUTTER GSTREAMER_OPENGL \ MPV_OPENGL OPTIONS_DEFAULT= MPV_OPENGL OPTIONS_SUB= yes GSTREAMER_CAIRO_DESC= GStreamer decoding + Cairo drawing backend GSTREAMER_OPENGL_DESC= GStreamer decoding + OpenGL drawing backend GSTREAMER_CLUTTER_DESC= GStreamer decoding + Clutter drawing backend MPV_OPENGL_DESC= MPV decoding + OpenGL drawing backend +GSTREAMER_CAIRO_USES= gstreamer +GSTREAMER_OPENGL_USES= gstreamer +GSTREAMER_CLUTTER_USES= gstreamer + GSTREAMER_CLUTTER_LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libclutter-gst-3.0.so:multimedia/clutter-gst3 \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 GSTREAMER_CLUTTER_USE= GSTREAMER=hls GSTREAMER_CAIRO_USE= GSTREAMER=cairo,hls GSTREAMER_OPENGL_USE= GSTREAMER=hls MPV_OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libmpv.so:multimedia/mpv .for opt in ${OPTIONS_MULTI_BACKEND} ${opt}_VARS= PLAYER_BACKENDS+=${opt} .endfor .include diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index c1e75732de9b..85b2d0298819 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -1,135 +1,135 @@ # Created by: Andrew Thompson PORTNAME= handbrake DISTVERSION= 1.5.1 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= https://github.com/HandBrake/HandBrake/releases/download/${DISTVERSION}/ MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/:contrib DISTNAME= HandBrake-${DISTVERSION} DISTFILES= ${DISTNAME}-source.tar.bz2 ${CONTRIB_FILES:S/$/:contrib/} DIST_SUBDIR= ${PORTNAME} MAINTAINER= naito.yuichiro@gmail.com COMMENT= Versatile DVD ripper and video transcoder LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= bash:shells/bash \ nasm:devel/nasm \ cmake:devel/cmake \ meson:devel/meson LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgudev-1.0.so:devel/libgudev \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libturbojpeg.so:graphics/libjpeg-turbo \ libxml2.so:textproc/libxml2 \ libass.so:multimedia/libass \ libspeex.so:audio/speex \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libvorbisenc.so:audio/libvorbis \ libtheoradec.so:multimedia/libtheora \ libtheoraenc.so:multimedia/libtheora \ libx264.so:multimedia/libx264 \ libvpx.so:multimedia/libvpx \ libmp3lame.so:audio/lame \ libopus.so:audio/opus \ libjansson.so:devel/jansson USES= autoreconf:build compiler:c11 gmake iconv libtool:build \ localbase:ldflags ninja:build pkgconfig python:3.6+,build CONTRIB_FILES= fdk-aac-2.0.1.tar.gz \ ffmpeg-4.4.1.tar.bz2 \ libbluray-1.3.0.tar.bz2 \ libdvdnav-6.1.1.tar.bz2 \ libdvdread-6.1.1.tar.bz2 \ dav1d-0.9.2.tar.bz2 \ x265_3.5.tar.gz \ zimg-3.0.3.tar.gz .if !defined(PACKAGE_BUILDING) # DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed) LIB_DEPENDS+= libdvdcss.so:multimedia/libdvdcss .endif GNU_CONFIGURE= yes MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal BINARY_ALIAS= python3=${PYTHON_VERSION} CONFIGURE_ARGS= --force --enable-x265 CONFIGURE_TARGET= build BUILD_WRKSRC= ${WRKSRC}/build INSTALL_WRKSRC= ${WRKSRC}/build MAKEFILE= GNUmakefile ALL_TARGET= # INSTALL_TARGET= install-strip NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 # Enforce linking to bundled libraries instead of system libraries LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib OPTIONS_DEFINE= FDK_AAC VPL X11 OPTIONS_DEFAULT= VPL X11 OPTIONS_EXCLUDE_i386= VPL OPTIONS_EXCLUDE_powerpc= VPL OPTIONS_EXCLUDE_powerpc64= VPL OPTIONS_EXCLUDE_powerpc64le= VPL OPTIONS_SUB= yes FDK_AAC_DESC= Enable non-free Fraunhofer FDK AAC codec VPL_DESC= Intel oneVPL (aka Quick Sync Video) X11_DESC= Build GTK+3 based GUI program FDK_AAC_CONFIGURE_ENABLE= fdk-aac FDK_AAC_VARS= LICENSE+=FDK_AAC LICENSE_COMB=multi LICENSE_NAME_FDK_AAC= Software License for The Fraunhofer FDK AAC Codec Library for Android LICENSE_FILE_FDK_AAC= ${WRKDIR}/${DISTFILES:Mfdk*:R:R}/NOTICE LICENSE_PERMS_FDK_AAC= dist-mirror pkg-mirror auto-accept VPL_LIB_DEPENDS= libvpl.so:multimedia/onevpl \ libmfx.so:multimedia/intel-media-sdk \ libva-drm.so:multimedia/libva VPL_CONFIGURE_ON= --enable-qsv X11_CONFIGURE_ENV= COMPILER_PATH=${LOCALBASE}/bin X11_MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin X11_CONFIGURE_ON= --disable-gtk-update-checks X11_CONFIGURE_OFF= --disable-gtk X11_LIB_DEPENDS= libvpx.so:multimedia/libvpx \ libnotify.so:devel/libnotify -X11_USES= gettext desktop-file-utils gnome +X11_USES= gettext desktop-file-utils gnome gstreamer X11_USE= gstreamer=gdkpixbuf,libav \ gnome=gtk30,intltool,cairo,gdkpixbuf2 # HandBrake tries to fetch its dependencies during build phase, which is not # considered good in FreeBSD. Instead, we will provide the downloaded files. post-extract: .SILENT ${MKDIR} ${WRKSRC}/download pre-configure: cd ${DISTDIR}/${DIST_SUBDIR} && \ ${INSTALL_DATA} ${CONTRIB_FILES} \ ${WRKSRC}/download # Following patches reduces warnings with clang. ${CP} ${FILESDIR}/P00-freebsd-libavutil-x86-asm-h.patch ${WRKSRC}/contrib/ffmpeg ${CP} ${FILESDIR}/P01-freebsd-ifo_types.h.patch ${WRKSRC}/contrib/libdvdread # for powerpc64 # picked from multimedia/ffmpeg/files/patch-libswscale_ppc_yuv2rgb__altivec.c ${CP} ${FILESDIR}/P02-freebsd-ppc-libswscale.patch ${WRKSRC}/contrib/ffmpeg post-install-X11-on: ${LN} -sf ghb ${STAGEDIR}${PREFIX}/bin/HandBrake .include diff --git a/sysutils/xfburn/Makefile b/sysutils/xfburn/Makefile index 4349f01f384a..279ebd84c778 100644 --- a/sysutils/xfburn/Makefile +++ b/sysutils/xfburn/Makefile @@ -1,37 +1,38 @@ # Created by: J.R. Oldroyd PORTNAME= xfburn PORTVERSION= 0.6.2 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= CD/DVD burning tool for Xfce LICENSE= GPLv2 LIB_DEPENDS= libburn.so:devel/libburn \ libisofs.so:devel/libisofs RUN_DEPENDS= cdrdao:sysutils/cdrdao USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \ pkgconfig tar:bzip2 xfce USE_GNOME= cairo glib20 gtk30 intltool USE_XFCE= libexo GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gudev OPTIONS_DEFINE= GSTREAMER NLS OPTIONS_DEFAULT= GSTREAMER OPTIONS_SUB= yes +GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= gstreamer GSTREAMER_USE= gstreamer=faac,flac,lame,vorbis,wavpack NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index a7fa84c6c72b..af7f395d8cc5 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -1,103 +1,104 @@ PORTNAME= gtk PORTVERSION= 4.6.3 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 4 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) LICENSE= LGPL20 PORTSCOUT= limit:1,even BUILD_DEPENDS= sassc>0:textproc/sassc LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= hicolor-icon-theme>=0:misc/hicolor-icon-theme \ adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme USES= compiler:c11 cpe gettext gnome jpeg localbase meson \ ninja pathfix perl5 python:3.7+ pkgconfig tar:xz CPE_VENDOR= gnome USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ librsvg2:run LDFLAGS+= -lexecinfo BINARY_ALIAS= python3=${PYTHON_CMD} LIBVERSION= 1.600.3 PLIST_SUB+= LIBVERSION=${LIBVERSION} GLIB_SCHEMAS= org.gtk.Demo4.gschema.xml \ org.gtk.gtk4.Settings.ColorChooser.gschema.xml \ org.gtk.gtk4.Settings.Debug.gschema.xml \ org.gtk.gtk4.Settings.EmojiChooser.gschema.xml \ org.gtk.gtk4.Settings.FileChooser.gschema.xml OPTIONS_DEFINE= CUPS COLORD DEBUG BROADWAY FFMPEG \ GSTREAMER VULKAN WAYLAND X11 OPTIONS_DEFAULT=CUPS COLORD BROADWAY VULKAN WAYLAND X11 OPTIONS_SUB= yes BROADWAY_DESC= Enable GDK Broadway backend for showing GTK+ in the webbrowser using HTML5 and web sockets. BROADWAY_MESON_TRUE= broadway-backend COLORD_DESC= Color profile support COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_MESON_ENABLED= colord CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_MESON_ENABLED= print-cups FFMPEG_DESC= FFmpeg multimedia backend FFMPEG_MESON_ENABLED= media-ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg>0:multimedia/ffmpeg FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= GStreamer multimedia backend GSTREAMER_MESON_ENABLED=media-gstreamer +GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl VULKAN_DESC= GDK Vulkan renderer backend VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_MESON_ENABLED= vulkan WAYLAND_DESC= GDK Wayland backend WAYLAND_MESON_TRUE= wayland-backend WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_USES= gl WAYLAND_USE= GL=egl X11_DESC= GDK X11 backend X11_MESON_TRUE= x11-backend X11_USES= xorg X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender pre-build: @${RM} -r ${WRKSRC}/docs/gtk.info* post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/modules .include diff --git a/x11-toolkits/wxgtk31/Makefile b/x11-toolkits/wxgtk31/Makefile index 3daf9ac793b4..a157185d203c 100644 --- a/x11-toolkits/wxgtk31/Makefile +++ b/x11-toolkits/wxgtk31/Makefile @@ -1,94 +1,95 @@ PORTNAME= wx DISTVERSIONPREFIX= v DISTVERSION= 3.1.5 PORTREVISION= 2 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 31-gtk3 MAINTAINER= ports@FreeBSD.org COMMENT= GUI toolkit (wxWidgets) with GTK+ bindings LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjbig.so:graphics/jbigkit \ libnotify.so:devel/libnotify \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwayland-egl.so:graphics/wayland USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wxWidgets GH_PROJECT= wxWidgets GH_TUPLE= wxWidgets:Catch:ee4acb6:wxWidgets_Catch/3rdparty/catch GNU_CONFIGURE= yes USE_XORG= x11 sm xxf86vm xtst USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk30 USE_LDCONFIG= yes USE_CXXSTD= c++11 CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --with-expat=sys \ --with-opengl \ --with-gtk=3 \ --without-gnomevfs \ --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-ipv6 \ --enable-optimise \ --enable-unicode \ --enable-std_string \ --enable-graphics_ctx \ --enable-compat28 \ --enable-compat30 CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no OPTIONS_DEFINE= GSTREAMER MSPACK NLS WEBKIT OPTIONS_DEFAULT= GSTREAMER MSPACK WEBKIT MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext GSTREAMER_CONFIGURE_ENABLE= mediactrl +GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad MSPACK_CONFIGURE_WITH= libmspack MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack WEBKIT_CONFIGURE_ENABLE= webview WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+=--disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+=--disable-precomp-headers .endif post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale post-install-NLS-on: # stray file: https://trac.wxwidgets.org/ticket/18147 @${RM} ${STAGEDIR}${PREFIX}/share/locale/it/LC_MESSAGES/wxmsw.mo .include