diff --git a/graphics/drm_info/Makefile b/graphics/drm_info/Makefile index 37d12751f67a..172c2dfce070 100644 --- a/graphics/drm_info/Makefile +++ b/graphics/drm_info/Makefile @@ -1,37 +1,38 @@ PORTNAME= drm_info DISTVERSIONPREFIX= v DISTVERSION= 2.10.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= Dump info about DRM devices WWW= https://gitlab.freedesktop.org/emersion/drm_info LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjson-c.so:devel/json-c \ libdrm.so:graphics/libdrm USES= compiler:c11 meson pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= emersion PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= EDID MANPAGES PCI OPTIONS_DEFAULT=EDID MANPAGES PCI EDID_DESC= Print EDID identification via libdisplay-info EDID_LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info EDID_MESON_ENABLED= libdisplay-info MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz PCI_DESC= Print PCI device names via libpci PCI_LIB_DEPENDS= libpci.so:devel/libpci PCI_MESON_ENABLED= libpci .include diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile index 69a505c3da71..40b7ca219e57 100644 --- a/graphics/mesa-devel/Makefile +++ b/graphics/mesa-devel/Makefile @@ -1,154 +1,155 @@ PORTNAME= mesa DISTVERSION= 26.2-branchpoint-452 DISTVERSIONSUFFIX= -g6ccebfb0444 +PORTREVISION= 1 CATEGORIES= graphics PKGNAMESUFFIX= -devel PATCH_SITES+= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= de5cf0a44b50.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22246 MAINTAINER= jbeich@FreeBSD.org COMMENT= Bleeding edge Mesa drivers (OpenCL, OpenGL, Vulkan) WWW= https://www.mesa3d.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.rst ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= Limited scope: no old drivers and no software rendering. \ See also https://mesamatrix.net/ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ libglvnd>=1.3.2:graphics/libglvnd \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} LIB_DEPENDS= libdrm.so:graphics/libdrm \ libexpat.so:textproc/expat2 USES= bison cpe compiler:c++11-lib meson pkgconfig python:build shebangfix CPE_VENDOR= mesa3d USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org BINARY_ALIAS= python=${PYTHON_CMD} SHEBANG_FILES= src/vulkan/*/*control.py MESON_DISABLED= android-libbacktrace gallium-mediafoundation \ libunwind lmsensors microsoft-clc valgrind MESON_TRUE= unversion-libgallium MESON_ARGS= -Dplatforms=${PLATFORMS:O:[-1..1]:ts,} -Dvideo-codecs=all LDFLAGS+= -Wl,--undefined-version # https://gitlab.freedesktop.org/mesa/mesa/-/issues/8003 FORTIFY_UNSAFE= yes PLIST_SUB= ARCH=${ARCH:S/amd/x86_/} OPTIONS_DEFINE= DRM LLVM LTO OPENCL VAAPI VKLAYERS WAYLAND X11 ZSTD OPTIONS_DEFAULT= DRM LLVM LTO OPENCL VAAPI VKLAYERS WAYLAND X11 ZSTD OPTIONS_GROUP= GALLIUM VULKAN OPTIONS_GROUP_GALLIUM= crocus iris panfrost r600 radeonsi OPTIONS_GROUP_VULKAN= anv radv OPTIONS_EXCLUDE_aarch64=LTO # OPENCL fails to build OPTIONS_EXCLUDE_i386= LTO # anv: vkcube fails on vkCreateSwapchainKHR OPTIONS_EXCLUDE+= ${ARCH:Naarch64:C/.+/panfrost/} OPTIONS_EXCLUDE+= ${ARCH:Namd64:Ni386:Nx86_64:C/.+/crocus/} OPTIONS_EXCLUDE+= ${ARCH:Naarch64:Namd64:Ni386:Nx86_64:Npowerpc64*:C/.+/anv iris/} OPTIONS_EXCLUDE+= ${"${GL_DEFAULT:S/,/ /g:[-1]}"==${.CURDIR:T}:?COINST:} OPTIONS_SLAVE+= ${"${GL_DEFAULT:S/,/ /g:[-1]}"!=${.CURDIR:T}:?COINST:} OPTIONS_SUB= yes # Convert options to -D-drivers= .for i in ${OPTIONS_GROUP} MESON_ARGS+= -D${i:tl}-drivers=${${i}_DRIVERS:ts,} . for j in ${OPTIONS_GROUP_${i}} OPTIONS_DEFAULT+= ${j} ${j}_VARS+= ${i}_DRIVERS+=${j:S/anv/intel/:S/radv/amd/} . endfor .endfor GALLIUM_DESC= Unified OpenGL drivers crocus_DESC= Broadwater, Eaglelake, Ironlake, Sandybridge, Ivybridge, Haswell iris_DESC= Broadwell and newer (implies OPENCL) iris_IMPLIES= OPENCL panfrost_DESC= Midgard, Bifrost r600_DESC= R600, R700, Evergreen, Northern Islands radeonsi_DESC= Southern Islands and newer VULKAN_DESC= Vulkan drivers anv_DESC= Skylake and newer (implies OPENCL) anv_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ glslangValidator:graphics/glslang anv_MESON_ON= ${"${ARCH:Naarch64:Namd64}":?-Dintel-rt=disabled:} # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629 anv_IMPLIES= OPENCL radv_DESC= Southern Islands and newer radv_BUILD_DEPENDS= glslangValidator:graphics/glslang COINST_DESC= Allow co-installation with another Mesa port COINST_MESON_ON= -Degl-lib-suffix=${PKGNAMESUFFIX} COINST_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri # ICD COINST_PLIST_SUB= SUFFIX=${PKGNAMESUFFIX} COINST_SUB_FILES= libmap.conf COINST_SUB_LIST= SUFFIX=${PKGNAMESUFFIX} COINST_PLIST_SUB_OFF= SUFFIX= DRM_DESC= KMS console support for Vulkan (KHR_display) DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info DRM_MESON_ENABLED= display-info LLVM_DESC= Build with LLVM support (see implies) LLVM_USES= llvm:min=18,lib,noexport LLVM_CONFIGURE_ENV= LLVM_CONFIG=${LLVM_CONFIG} LLVM_MESON_ENABLED= llvm LLVM_MESON_TRUE= amd-use-llvm LTO_MESON_TRUE= b_lto allow-broken-lto OPENCL_DESC= Heterogeneous computing via OpenCL (implies LLVM) OPENCL_BUILD_DEPENDS= bindgen:devel/rust-bindgen-cli \ libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} \ spirv-tools>0:graphics/spirv-tools \ rustc:lang/${RUST_DEFAULT} OPENCL_LIB_DEPENDS= libLLVMSPIRVLib.so.${OPENCL_SOVERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T} OPENCL_RUN_DEPENDS= libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} OPENCL_SOVERSION= ${LLVM_VERSION}${${LLVM_VERSION}>=18:?.1:} OPENCL_CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig" OPENCL_MESON_FALSE= b_lundef # environ OPENCL_MESON_TRUE= gallium-rusticl OPENCL_IMPLIES= LLVM ${"${PORT_OPTIONS:Miris}":?iris:radeonsi} # any from OPTIONS_GROUP_GALLIUM VAAPI_DESC= Hardware encoding/decoding (only r600, radeonsi) VAAPI_BUILD_DEPENDS= libva>0:multimedia/libva VAAPI_MESON_ENABLED= gallium-va VKLAYERS_DESC= Vulkan layers: ${VKLAYERS_MESON_ON:C/.*=//} (implies ${VKLAYERS_IMPLIES}) VKLAYERS_BUILD_DEPENDS= glslangValidator:graphics/glslang VKLAYERS_LIB_DEPENDS= libpng.so:graphics/png VKLAYERS_MESON_ON= -Dvulkan-layers=anti-lag,device-select,overlay,screenshot,vram-report-limit VKLAYERS_IMPLIES= ${"${PORT_OPTIONS:Manv}":?anv:radv} # any from OPTIONS_GROUP_VULKAN WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland WAYLAND_VARS= PLATFORMS+=wayland X11_USES= xorg X11_USE= XORG=x11,xcb,xdamage,xext,xfixes,xorgproto,xrandr,xshmfence,xxf86vm X11_VARS= PLATFORMS+=x11 X11_MESON_OFF= -Dglx=disabled -Dxlib-lease=disabled ZSTD_DESC= Use ZSTD for shader cache ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ENABLED= zstd post-patch: # Extract (snapshot) version from the port instead of empty string @${REINPLACE_CMD} '/MESA_GIT_SHA1/s/""/" (git-${DISTVERSIONSUFFIX:C/.*-g//})"/' \ ${WRKSRC}/bin/git_sha1_gen.py post-install-COINST-on: @${INSTALL_DATA} ${WRKDIR}/libmap.conf \ ${STAGEDIR}${PREFIX}/etc/libmap.d/${PKGBASE}.conf @(cd ${STAGEDIR}${PREFIX}/share/drirc.d; for f in 00-*-defaults.conf; do \ suffix=$${f#00-}; infix=$${suffix%-defaults.conf}; \ ${MV} 00-$$infix-defaults.conf \ 00-$$infix${PKGNAMESUFFIX}-defaults.conf; \ done) .include diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile index 663cdcb3cf3a..272c93a90936 100644 --- a/graphics/mesa-libs/Makefile +++ b/graphics/mesa-libs/Makefile @@ -1,105 +1,106 @@ PORTNAME= mesa-libs PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL libraries that support GLX and EGL clients WWW= https://www.mesa3d.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.rst USES= llvm:noexport BUILD_DEPENDS= libglvnd>=0:graphics/libglvnd \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} \ spirv-tools>0:graphics/spirv-tools \ spirv-llvm-translator-${LLVM_PORT:T}>0:devel/spirv-llvm-translator@${LLVM_PORT:T} \ libva>=0:multimedia/libva LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info RUN_DEPENDS= spirv-tools>0:graphics/spirv-tools \ spirv-llvm-translator-${LLVM_PORT:T}>0:devel/spirv-llvm-translator@${LLVM_PORT:T} OPTIONS_GROUP= PLATFORM OPTIONS_GROUP_PLATFORM= X11 WAYLAND X11_DESC= Enable X11 support for GBM/EGL WAYLAND_DESC= Enable Wayland support for GBM/EGL WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland OPTIONS_DEFINE= ZSTD OPTIONS_DEFAULT= WAYLAND X11 ZSTD OPTIONS_SUB= yes ZSTD_DESC= Use ZSTD for shader cache ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ENABLED= zstd USE_LDCONFIG= yes .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" LDFLAGS_i386= -Wl,-znotext # mesa-libs is the home of libgallium-${MESAVERSION}.so (the unified gallium # runtime introduced in mesa 25's "megalib" refactor). It must be built with # a real gallium driver set so install_megadrivers actually ships the lib; # the per-driver lib/dri/*_dri.so shims that fall out of this build are # stripped in post-install (they belong to graphics/mesa-dri). GALLIUM_DRIVERS= crocus i915 iris llvmpipe panfrost r300 r600 radeonsi \ svga virgl zink .if ${ARCH} != amd64 && ${ARCH} != i386 && ${ARCH} != x86_64 GALLIUM_DRIVERS:= ${GALLIUM_DRIVERS:Ncrocus:Ni915:Niris:Nsvga} .endif .if ${ARCH} == armv7 # These require llvm to be compiled with the amdgpu backend, which is not default on armv7 GALLIUM_DRIVERS:= ${GALLIUM_DRIVERS:Nr600:Nradeonsi} .endif MESON_ARGS+= -Dgallium-drivers=${GALLIUM_DRIVERS:ts,} MESON_ARGS+= -Dvulkan-drivers="" MESON_ARGS+= -Dvideo-codecs="all" MESON_ARGS+= -Dandroid-libbacktrace=disabled \ -Dlmsensors=disabled \ -Dmicrosoft-clc=disabled \ -Dtools="" \ -Dvalgrind=disabled .if ${PORT_OPTIONS:MX11} MESA_PLATFORMS+= x11 USE_XORG+= xorgproto x11 xcb xdamage xext \ xfixes xshmfence xxf86vm xrandr PLIST_SUB+= GLX="" .else MESON_ARGS+= -Dglx=disabled -Dxlib-lease=disabled PLIST_SUB+= GLX="@comment " .endif .if ${PORT_OPTIONS:MWAYLAND} MESA_PLATFORMS+= wayland .endif MESON_ARGS+= -Dplatforms="${MESA_PLATFORMS:ts,:tl}" .if ${ARCH} != amd64 MESON_ARGS+= -Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629 .endif .if ${ARCH} == "i386" # PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set LDFLAGS+=-Wl,-z,notext .endif PLIST_SUB+= MESAVERSION=${MESAVERSION} post-install: # Fallback if GLX_EXT_libglvnd is missing or vendor library doesn't exist @${ECHO_CMD} "libGLX_indirect.so.0 libGLX_mesa.so.0" \ >${STAGEDIR}${PREFIX}/etc/libmap.d/mesa.conf # Strip the per-hardware DRI shims; they are owned by graphics/mesa-dri. ${RM} -rf ${STAGEDIR}${PREFIX}/lib/dri .include diff --git a/multimedia/arcan/Makefile b/multimedia/arcan/Makefile index aebd347420a4..68f1861685c0 100644 --- a/multimedia/arcan/Makefile +++ b/multimedia/arcan/Makefile @@ -1,121 +1,122 @@ PORTNAME= arcan DISTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://codeberg.org/letoram/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= hoanga@gmail.com COMMENT= Display Server, Multimedia Framework, Game Engine WWW= https://arcan-fe.com/ LICENSE= BSD3CLAUSE GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC:H}/data/distr/LICENSE.BSD LICENSE_FILE_GPLv2+ = ${WRKSRC:H}/data/distr/LICENSE.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC:H}/data/distr/LICENSE.LGPL BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libdrm.so:graphics/libdrm \ libfreetype.so:print/freetype2 \ libdisplay-info.so:sysutils/libdisplay-info RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri USES= cmake compiler:c11 gl iconv openal pkgconfig sqlite USE_LDCONFIG= yes USE_GL= egl gbm gl WRKSRC_SUBDIR= src WRKSRC= ${WRKDIR}/arcan CMAKE_ON= HYBRID_HEADLESS CMAKE_OFF= STATIC_LIBUVC CMAKE_ARGS= -DDISTR_TAG:STRING="portbld" \ -DENGINE_BUILDTAG:STRING="${DISTVERSIONFULL}" \ -DMAN_DEST=share/man/man1 \ -DAPIMAN_DEST=share/man/man3 LDFLAGS+= -Wl,--as-needed # bzip2, ffmpeg, librt, libutil, lzma, zlib LDFLAGS_i386= -Wl,-z,notext OPTIONS_DEFINE= ESPEAK FFMPEG HUNSPELL LUAJIT MANPAGES SDL SUID TESSERACT UVC VLC VNC WAYLAND OPTIONS_DEFAULT=ESPEAK FFMPEG HUNSPELL LUAJIT MANPAGES SDL SUID TESSERACT UVC VLC VNC WAYLAND OPTIONS_SUB= yes ESPEAK_LIB_DEPENDS= libespeak-ng.so:audio/espeak-ng FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell MANPAGES_USES= ruby:build LUAJIT_DESC= Use LuaJIT instead of standard Lua LUAJIT_USES= luajit LUAJIT_USES_OFF= lua:51 LUAJIT_CMAKE_BOOL_OFF= DISABLE_JIT SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= HYBRID_SDL SUID_DESC= setuid bit on "${PORTNAME}" binary SUID_PLIST_SUB= MAYBE_SUID="@(,,4755) " SUID_PLIST_SUB_OFF= MAYBE_SUID="@(,,0755) " TESSERACT_DESC= Optical Character Recognition via Tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract VLC_DESC= Video decode via libvlc VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc UVC_DESC= USB video cameras via libuvc UVC_LIB_DEPENDS= libuvc.so:multimedia/libuvc UVC_CMAKE_BOOL= FSRV_DECODE_UVC VNC_DESC= VNC client/server support VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libxcb-icccm.so:x11/xcb-util-wm \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= Xwayland:x11-servers/xwayland WAYLAND_USES= xorg WAYLAND_USE= XORG=xcb WAYLAND_CMAKE_BOOL_OFF= DISABLE_WAYLAND post-patch: @${REINPLACE_CMD} -i.prefix 's,/usr/local,${PREFIX},g' \ ${WRKSRC:H}/doc/${PORTNAME}.1 \ ${WRKSRC}/engine/arcan_vr.c \ ${WRKSRC}/frameserver/decode/default/decode_av.c \ ${WRKSRC}/frameserver/terminal/default/arcterm.c \ ${WRKSRC}/frameserver/terminal/default/cli.c \ ${WRKSRC}/frameserver/terminal/default/cli_builtin.c \ ${WRKSRC}/platform/posix/paths.c \ ${WRKSRC}/shmif/arcan_shmif_debugif.c @${REINPLACE_CMD} -e '/static void audio_flush/s,long,int64_t,' \ ${WRKSRC}/frameserver/decode/default/decode_av.c pre-configure-MANPAGES-on: @${RUBY} -C ${WRKSRC:H}/doc -Ku docgen.rb mangen 2>/dev/null post-patch-ESPEAK-off: @${REINPLACE_CMD} -i.noespeak '/find.*Espeak/d' \ ${WRKSRC}/frameserver/decode/default/CMakeLists.txt post-patch-FFMPEG-off: @${REINPLACE_CMD} -i.noffmpeg '/pkg.*FFMPEG/d' \ ${WRKSRC}/a12/CMakeLists.txt \ ${WRKSRC}/frameserver/decode/default/CMakeLists.txt \ ${WRKSRC}/frameserver/encode/default/CMakeLists.txt post-patch-HUNSPELL-off: @${REINPLACE_CMD} -i.nohunspell '/pkg.*HUNSPELL/d' \ ${WRKSRC}/frameserver/decode/default/CMakeLists.txt post-patch-TESSERACT-off: @${REINPLACE_CMD} -i.notesseract '/pkg.*tesseract/d' \ ${WRKSRC}/frameserver/encode/default/CMakeLists.txt post-patch-VNC-off: @${REINPLACE_CMD} -i.novnc '/pkg.*libvnc/d' \ ${WRKSRC}/frameserver/encode/default/CMakeLists.txt \ ${WRKSRC}/frameserver/remoting/default/CMakeLists.txt .include diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index 5073d27b5a2d..1e6579fa2cd8 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -1,316 +1,317 @@ PORTNAME= kodi DISTVERSION= 22.0b1 +PORTREVISION= 1 CATEGORIES= multimedia java MASTER_SITES= https://mirrors.kodi.tv/build-deps/sources/ DISTFILES= apache-groovy-binary-${GROOVY_VERSION}.zip \ commons-lang3-${COMMONS_LANG_VERSION}-bin.tar.gz \ commons-text-${COMMONS_TEXT_VERSION}-bin.tar.gz DIST_SUBDIR= ${PORTNAME} # do not forget to fix devel/kodi-platform when updating kodi MAINTAINER= yzrh@noema.org COMMENT= Award winning media center application WWW= https://kodi.tv/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers \ nlohmann-json>0:devel/nlohmann-json \ swig>0:devel/swig LIB_DEPENDS= libaacs.so:multimedia/libaacs \ libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libbdplus.so:multimedia/libbdplus \ libcdio.so:sysutils/libcdio \ libcrossguid.so:devel/libcrossguid \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfmt.so:devel/libfmt \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libfstrcmp.so:devel/fstrcmp \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblzo2.so:archivers/lzo2 \ libpcre2-8.so:devel/pcre2 \ libpng.so:graphics/png \ libspdlog.so:devel/spdlog \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libtag.so:audio/taglib \ libtinyxml.so:textproc/tinyxml \ libtinyxml2.so:textproc/tinyxml2 \ libudfread.so:multimedia/libudfread \ libuuid.so:misc/libuuid RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= autoreconf:build cmake:noninja compiler:c++17-lang cpe \ desktop-file-utils gettext gmake gnome iconv java:build jpeg \ libtool pkgconfig python sqlite ssl KODI_CODENAME= Piers LIBDVDCSS_VERSION= 1.4.3-Next-Nexus-Alpha2-2 LIBDVDNAV_VERSION= 6.1.1-Next-Nexus-Alpha2-2 LIBDVDREAD_VERSION= 6.1.3-Next-Nexus-Alpha2-2 GROOVY_VERSION= 4.0.30 COMMONS_LANG_VERSION= 3.20.0 COMMONS_TEXT_VERSION= 1.15.0 USE_GITHUB= yes GH_TUPLE= xbmc:xbmc:${DISTVERSION}-${KODI_CODENAME} \ xbmc:libdvdcss:${LIBDVDCSS_VERSION}:libdvdcss/tools/depends/target/libdvdcss/native \ xbmc:libdvdnav:${LIBDVDNAV_VERSION}:libdvdnav/tools/depends/target/libdvdnav/native \ xbmc:libdvdread:${LIBDVDREAD_VERSION}:libdvdread/tools/depends/target/libdvdread/native USE_GNOME= libxml2 JAVA_VERSION= 8 11 17 21 USE_LDCONFIG= yes USE_RC_SUBR= kodi KODI_ARCH_aarch64= aarch64 KODI_ARCH_amd64= x86_64 KODI_ARCH_i386= x86 KODI_ARCH_armv7= armv7 KODI_ARCH_armv6= armv6 KODI_ARCH_powerpc64= powerpc64 KODI_ARCH_powerpc64le= powerpc64le CMAKE_ARGS= -Dapache-commons-lang_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/lang" \ -Dapache-commons-text_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/text" \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCORE_PLATFORM_NAME:STRING="${KODI_PLATFORM}" \ -DCROSSGUID_INCLUDE_DIR="${LOCALBASE}/include" \ -DGIT_VERSION="${DISTVERSION}-${KODI_CODENAME}" \ -Dgroovy_SOURCE_DIR="${WRKSRC}/tools/depends/share/groovy" \ -DLIBDVDCSS_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdcss-${LIBDVDCSS_VERSION}_GH0.tar.gz" \ -DLIBDVDNAV_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdnav-${LIBDVDNAV_VERSION}_GH0.tar.gz" \ -DLIBDVDREAD_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdread-${LIBDVDREAD_VERSION}_GH0.tar.gz" CMAKE_ON= VERBOSE_FIND CMAKE_OFF= ENABLE_INTERNAL_CROSSGUID CONFIGURE_ENV= _CPU_FEATURE="${CPU_FEATURE}" PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}} OPTIONS_DEFINE= AIRPLAY AVAHI CEC DAV1D DBUS DOCS DVD DVDCSS LCMS2 \ LIBBLURAY LIRC MYSQL NFS SMB TEST UDEV UPNP VAAPI VDPAU \ WEBSERVER XSLT OPTIONS_DEFAULT= CEC DAV1D DVD GBM GL LCMS2 LIBBLURAY UPNP VAAPI VDPAU \ WAYLAND WEBSERVER X11 XSLT OPTIONS_DEFAULT_amd64= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 OPTIONS_DEFAULT_i386= SSE SSE2 SSE3 OPTIONS_GROUP= FEATURE PLATFORM SOUND OPTIONS_GROUP_FEATURE= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 AVX AVX2 OPTIONS_GROUP_PLATFORM= GBM WAYLAND X11 OPTIONS_GROUP_SOUND= ALSA PIPEWIRE PULSEAUDIO SNDIO OPTIONS_SINGLE= RENDER OPTIONS_SINGLE_RENDER= GL GLES OPTIONS_EXCLUDE_aarch64=FEATURE OPTIONS_EXCLUDE_armv6= FEATURE OPTIONS_EXCLUDE_armv7= FEATURE OPTIONS_EXCLUDE_powerpc64= FEATURE OPTIONS_EXCLUDE_powerpc64le= FEATURE OPTIONS_SUB= yes PLATFORM_DESC= Kodi platform FEATURE_DESC= X86 CPU feature AIRPLAY_DESC= AirPlay support CEC_DESC= CEC adapter support DAV1D_DESC= Use dav1d as AV1 decoder DVD_DESC= DVD support UDEV_DESC= Use libudev-devd XSLT_DESC= Use libxslt RENDER_DESC= Render system GL_DESC= OpenGL GLES_DESC= OpenGL ES GBM_DESC= GBM support SSE2_DESC= Use SSE2 optimized routines SSE3_DESC= Use SSE3 optimized routines SSSE3_DESC= Use SSSE3 optimized routines SSE4_1_DESC= Use SSE4.1 optimized routines SSE4_2_DESC= Use SSE4.2 optimized routines AVX_DESC= Use AVX optimized routines AVX2_DESC= Use AVX2 optimized routines AIRPLAY_LIB_DEPENDS= libplist-2.0.so:devel/libplist \ libshairplay.so:audio/shairplay AIRPLAY_CMAKE_BOOL= ENABLE_AIRTUNES ENABLE_PLIST AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CMAKE_BOOL= ENABLE_AVAHI LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CMAKE_BOOL= ENABLE_BLURAY CEC_LIB_DEPENDS= libcec.so:multimedia/libcec \ libp8-platform.so:devel/p8-platform CEC_CMAKE_BOOL= ENABLE_CEC DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= ENABLE_DAV1D DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= ENABLE_DBUS DVDCSS_CMAKE_BOOL= ENABLE_DVDCSS LCMS2_LIB_DEPENDS= liblcms2.so.2:graphics/lcms2 LCMS2_CMAKE_BOOL= ENABLE_LCMS2 LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRCCLIENT WEBSERVER_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBSERVER_CMAKE_BOOL= ENABLE_MICROHTTPD NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CMAKE_BOOL= ENABLE_NFS DVD_CMAKE_BOOL= ENABLE_OPTICAL SMB_USES= samba:lib SMB_CMAKE_BOOL= ENABLE_SMBCLIENT TEST_LIB_DEPENDS= libgtest.so:devel/googletest TEST_CMAKE_BOOL= ENABLE_TESTING UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CMAKE_BOOL= ENABLE_UDEV UPNP_CMAKE_BOOL= ENABLE_UPNP VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CMAKE_BOOL= ENABLE_VAAPI VDPAU_IMPLIES= GL X11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CMAKE_BOOL= ENABLE_VDPAU XSLT_LIB_DEPENDS= libxslt.so:textproc/libxslt XSLT_CMAKE_BOOL= ENABLE_XSLT GL_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gl" GL_USES= gl GL_USE= GL=gl GLES_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gles" GLES_USES= gl GLES_USE= GL=glesv2 MYSQL_USES= mysql MYSQL_CMAKE_BOOL= ENABLE_MYSQLCLIENT ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= ENABLE_SNDIO SSE_VARS= CPU_FEATURE+=SSE SSE2_VARS= CPU_FEATURE+=SSE2 SSE3_VARS= CPU_FEATURE+=SSE3 SSSE3_VARS= CPU_FEATURE+=SSSE3 SSE4_1_VARS= CPU_FEATURE+=SSE4.1 SSE4_2_VARS= CPU_FEATURE+=SSE4.2 AVX_VARS= CPU_FEATURE+=AVX AVX2_VARS= CPU_FEATURE+=AVX2 GBM_IMPLIES= UDEV GBM_VARS= KODI_PLATFORM+=gbm GBM_USES= gl GBM_USE= GL=egl,gbm,glu GBM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto GBM_LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \ libdrm.so:graphics/libdrm \ libepoll-shim.so:devel/libepoll-shim \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon GBM_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri WAYLAND_VARS= KODI_PLATFORM+=wayland WAYLAND_CATEGORIES= wayland WAYLAND_USES= gl WAYLAND_USE= GL=egl,glu WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libinput.so:x11/libinput \ libwayland-client++.so:graphics/waylandpp \ libxkbcommon.so:x11/libxkbcommon X11_VARS= KODI_PLATFORM+=x11 X11_USES= gl xorg X11_USE= GL=egl,gbm,glu XORG=x11,xext,xrandr X11_LIB_DEPENDS= libdrm.so:graphics/libdrm .include .if (!empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || \ !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || \ !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11)) && \ !empty(PORT_OPTIONS:MGLES) BROKEN= option GLES does not build with multiple PLATFORM .endif .if !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || \ !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || \ !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODICOMBINED="" \ KODIGBM="@comment " \ KODIWAYLAND="@comment " \ KODIX11="@comment " .else PLIST_SUB+= KODICOMBINED="@comment " .if !empty(PORT_OPTIONS:MGBM) PLIST_SUB+= KODIGBM="" .else PLIST_SUB+= KODIGBM="@comment " .endif .if !empty(PORT_OPTIONS:MWAYLAND) PLIST_SUB+= KODIWAYLAND="" .else PLIST_SUB+= KODIWAYLAND="@comment " .endif .if !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODIX11="" .else PLIST_SUB+= KODIX11="@comment " .endif .endif post-extract: @${MKDIR} ${WRKSRC}/tools/depends/share/java @${MV} ${WRKDIR}/groovy-${GROOVY_VERSION} ${WRKSRC}/tools/depends/share/groovy @${MV} ${WRKDIR}/commons-lang3-${COMMONS_LANG_VERSION} ${WRKSRC}/tools/depends/share/java/lang @${MV} ${WRKDIR}/commons-text-${COMMONS_TEXT_VERSION} ${WRKSRC}/tools/depends/share/java/text post-patch: ${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xbmc/platform/linux/input/LibInputSettings.cpp post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/kodi.bin.1 ${STAGEDIR}${PREFIX}/share/man/man1 cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${LN} -s kodi.bin.1.gz kodi.1.gz ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kodi-TexturePacker ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -type f -name '*.so' -print0 | ${XARGS} -0 ${STRIP_CMD} ${RM} -r ${STAGEDIR}${PREFIX}/lib/firewalld .include diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index a16cb9775ed3..7b7e13ef44a1 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,201 +1,201 @@ PORTNAME= mpv DISTVERSIONPREFIX= v DISTVERSION= 0.41.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= multimedia audio MAINTAINER= multimedia@FreeBSD.org COMMENT= Free and open-source general-purpose video player WWW= https://mpv.io LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSE.LGPL BUILD_DEPENDS= ffmpeg>=6.1,1:multimedia/ffmpeg LIB_DEPENDS= libplacebo.so:graphics/libplacebo \ libavcodec.so:multimedia/ffmpeg \ libass.so:multimedia/libass USES= compiler:c11 cpe desktop-file-utils iconv jpeg \ meson pkgconfig python:build shebangfix tar:bz2 USE_LDCONFIG= yes SHEBANG_FILES= TOOLS/*.py USE_GITHUB= yes GH_ACCOUNT= mpv-player MESON_ARGS= --auto-features=auto \ -Dshaderc=disabled OPTIONS_DEFINE= ARCHIVE DOCS EXAMPLES LCMS2 MANPAGES MUJS RUBBERBAND \ UCHARDET YTDLP ZIMG OPTIONS_DEFAULT= ARCHIVE DRM DVDNAV LCMS2 LUAJIT MANPAGES NVDEC OPENGL UCHARDET \ V4L VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L VAPOURSYNTH OPTIONS_GROUP_VO= CACA DRM NVDEC OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK OPENAL PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_SINGLE= LUA OPTIONS_SINGLE_LUA= LUA LUAJIT LUA_NONE OPTIONS_SUB= yes DVDNAV_DESC= DVD menu navigation LUA_NONE_DESC= Disable Lua scripting language support LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support MUJS_DESC= Use MuJS for Javascript language support NVDEC_DESC= NVIDIA decoder with CUDA support RUBBERBAND_DESC= High quality pitch correction with librubberband SIXEL_DESC= Sixel graphics support UCHARDET_DESC= Guess subtitle encoding via uchardet VAPOURSYNTH_DESC= VapourSynth filter bridge VULKAN_DESC= Vulkan output support YTDLP_DESC= Support ytdl protocol (installs yt-dlp) ZIMG_DESC= High quality software scaling via "z" library IN_DESC= Input VO_DESC= Video Output AO_DESC= Audio Output ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_ENABLED= alsa ARCHIVE_USES= libarchive ARCHIVE_MESON_ENABLED= libarchive CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_MESON_ENABLED= caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_MESON_ENABLED= cdda DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_MESON_ENABLED= html-build DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_MESON_ENABLED= dvdnav JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_MESON_ENABLED= jack DRM_DESC= KMS console support DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libdisplay-info.so:sysutils/libdisplay-info DRM_MESON_ENABLED= drm LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms2 LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_MESON_ENABLED= libbluray LUA_USES= lua:51-52 LUA_MESON_ON= -Dlua=lua-${LUA_VER} LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua=luajit LUA_NONE_MESON_ON= -Dlua=disabled LUA_NONE_PREVENTS= YTDLP LUA_NONE_PREVENTS_MSG= Lua scripting is required for YouTube playback MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= manpage-build MUJS_LIB_DEPENDS= libmujs.so:lang/mujs MUJS_MESON_ENABLED= javascript NVDEC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers NVDEC_RUN_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers NVDEC_MESON_ENABLED= cuda-hwaccel OPENAL_USES= openal OPENAL_MESON_ENABLED= openal OPENAL_LDFLAGS= ${_OPENAL_LDFLAGS_${ARCH}} _OPENAL_LDFLAGS_i386= -Wl,-znotext OPENGL_USES= gl OPENGL_USE= GL=egl,gbm OPENGL_MESON_ENABLED= gl PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_ENABLED= pipewire PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_MESON_ENABLED= rubberband SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2-audio sdl2-gamepad sdl2-video SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_MESON_ENABLED= sixel SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_MESON_ENABLED= sndio UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_MESON_ENABLED= uchardet V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/dmx.h:multimedia/v4l_compat V4L_USES= localbase V4L_MESON_ENABLED= dvbin VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_MESON_ENABLED= vaapi VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_MESON_ENABLED= vapoursynth VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_MESON_ENABLED= vdpau VDPAU_IMPLIES= X11 VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_MESON_ENABLED= vulkan WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input-event-codes.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols # pkg-config WAYLAND_MESON_ENABLED= wayland WAYLAND_IMPLIES= OPENGL X11_USES= gnome xorg X11_USE= XORG=x11,xext,xfixes,xinerama,xorgproto,xpresent,xrandr,xscrnsaver,xv,xxf86vm X11_MESON_ENABLED= x11 x11-clipboard YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_MESON_ENABLED= zimg .include .if ${PORT_OPTIONS:MVAAPI} && ${PORT_OPTIONS:MWAYLAND} MESON_ARGS+= -Dvaapi-wayland=enabled LIB_DEPENDS+= libva-wayland.so:multimedia/libva .else MESON_ARGS+= -Dvaapi-wayland=disabled .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ ${WRKSRC}/DOCS/man/mpv.rst ${WRKSRC}/DOCS/man/options.rst \ ${WRKSRC}/etc/mpv.conf ${WRKSRC}/test/paths.c pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=true"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/sysutils/libdisplay-info/Makefile b/sysutils/libdisplay-info/Makefile index d0efcc28b734..488beef0a317 100644 --- a/sysutils/libdisplay-info/Makefile +++ b/sysutils/libdisplay-info/Makefile @@ -1,29 +1,29 @@ PORTNAME= libdisplay-info -DISTVERSION= 0.3.0 +DISTVERSION= 0.4.0 CATEGORIES= sysutils MAINTAINER= jbeich@FreeBSD.org COMMENT= EDID and DisplayID library WWW= https://gitlab.freedesktop.org/emersion/libdisplay-info LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hwdata>0:misc/hwdata TEST_DEPENDS= edid-decode:sysutils/edid-decode USES= compiler:c11 meson pkgconfig python:build shebangfix USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= emersion SHEBANG_FILES= tool/*.py PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/sysutils/libdisplay-info/distinfo b/sysutils/libdisplay-info/distinfo index 6aed46ad2da8..50620a2ab4ab 100644 --- a/sysutils/libdisplay-info/distinfo +++ b/sysutils/libdisplay-info/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755010656 -SHA256 (libdisplay-info-0.3.0.tar.bz2) = 915cc6713b7b2e173a90f9db248fb8994f9668171fecc1e9fded5e36bb34d890 -SIZE (libdisplay-info-0.3.0.tar.bz2) = 115512 +TIMESTAMP = 1784823161 +SHA256 (libdisplay-info-0.4.0.tar.bz2) = 5b88699ca21dceb10ab8fb1b41d1cbd9eabeb3b775e11e86ce9d7d6a3158a318 +SIZE (libdisplay-info-0.4.0.tar.bz2) = 122308 diff --git a/sysutils/libdisplay-info/pkg-plist b/sysutils/libdisplay-info/pkg-plist index 22229e756b40..428cf699d441 100644 --- a/sysutils/libdisplay-info/pkg-plist +++ b/sysutils/libdisplay-info/pkg-plist @@ -1,13 +1,15 @@ bin/di-edid-decode +include/libdisplay-info/cta-vic.h include/libdisplay-info/cta.h include/libdisplay-info/cvt.h include/libdisplay-info/displayid.h include/libdisplay-info/displayid2.h include/libdisplay-info/dmt.h include/libdisplay-info/edid.h include/libdisplay-info/gtf.h +include/libdisplay-info/hdmi-vic.h include/libdisplay-info/info.h lib/libdisplay-info.so lib/libdisplay-info.so.%%VERSION%% -lib/libdisplay-info.so.3 +lib/libdisplay-info.so.4 libdata/pkgconfig/libdisplay-info.pc diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile index e00d8b8bdac2..c2c361362251 100644 --- a/x11-toolkits/aquamarine/Makefile +++ b/x11-toolkits/aquamarine/Makefile @@ -1,44 +1,45 @@ PORTNAME= aquamarine DISTVERSIONPREFIX= v DISTVERSION= 0.13.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits MAINTAINER= tagattie@FreeBSD.org COMMENT= Very light linux rendering backend library WWW= https://github.com/hyprwm/aquamarine LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols \ hwdata>0:misc/hwdata LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri USES= cmake:testing compiler:c++11-lib gl pathfix pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= hyprwm USE_GL= egl gbm glesv2 USE_LDCONFIG= yes USE_XORG= pixman PLIST_SUB= SOVERSION_FULL=${DISTVERSION:C/-.*//} \ SOVERSION_MAJOR=12 .include .if ${ARCH} == i386 || ${ARCH:Marmv?} EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_backend_Headless.cpp .endif .include diff --git a/x11-toolkits/wlroots017/Makefile b/x11-toolkits/wlroots017/Makefile index 86abb6f655c3..2b19e464a87f 100644 --- a/x11-toolkits/wlroots017/Makefile +++ b/x11-toolkits/wlroots017/Makefile @@ -1,77 +1,77 @@ PORTNAME= wlroots DISTVERSION= 0.17.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 017 PATCH_SITES+= https://github.com/swaywm/${GL_PROJECT}/commit/:github PATCHFILES+= 62358b6c4dbf.patch:-p1:github # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4488 PATCH_SITES+= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 4b4f76cc1357.patch:-p1 # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4614 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library (deprecated 0.17.* series) WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.32:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes USE_GL= gbm USE_XORG= pixman USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org MESON_FALSE= examples MESON_ARGS= -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} PLIST_SUB= SUFFIX=-${DISTVERSION:R} PORTSCOUT= limit:^0\.17\. OPTIONS_DEFINE= DRM OPENGL VULKAN X11 OPTIONS_DEFAULT=DRM OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libliftoff.so:graphics/libliftoff \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput DRM_MESON_ENABLED= session DRM_VARS= BACKENDS+="drm libinput" OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-headers>0:graphics/vulkan-headers VULKAN_VARS= RENDERERS+=vulkan X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ Xwayland:x11-servers/xwayland X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland X11_VARS= BACKENDS+=x11 post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/include/wlr/meson.build .include diff --git a/x11-toolkits/wlroots018/Makefile b/x11-toolkits/wlroots018/Makefile index 31f76b55948c..5adb2e3eb35f 100644 --- a/x11-toolkits/wlroots018/Makefile +++ b/x11-toolkits/wlroots018/Makefile @@ -1,80 +1,80 @@ PORTNAME= wlroots DISTVERSION= 0.18.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 018 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library (deprecated 0.18.* series) WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes USE_GL= gbm USE_XORG= pixman USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org MESON_FALSE= examples MESON_ARGS= -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} PLIST_SUB= SUFFIX=-${DISTVERSION:R} PORTSCOUT= limit:^0\.18\. OPTIONS_DEFINE= DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_DEFAULT=DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput DRM_MESON_ENABLED= session DRM_VARS= BACKENDS+="drm libinput" LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= color-management LIBLIFTOFF_DESC= libliftoff DRM interface (see WLR_DRM_FORCE_LIBLIFTOFF) LIBLIFTOFF_LIB_DEPENDS= libliftoff.so:graphics/libliftoff LIBLIFTOFF_MESON_ENABLED= libliftoff LIBLIFTOFF_IMPLIES= DRM OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-headers>0:graphics/vulkan-headers VULKAN_VARS= RENDERERS+=vulkan X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ Xwayland:x11-servers/xwayland X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland X11_VARS= BACKENDS+=x11 post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/include/wlr/meson.build .include diff --git a/x11-toolkits/wlroots019/Makefile b/x11-toolkits/wlroots019/Makefile index e1cc77cf3806..609daf8baea6 100644 --- a/x11-toolkits/wlroots019/Makefile +++ b/x11-toolkits/wlroots019/Makefile @@ -1,80 +1,81 @@ PORTNAME= wlroots DISTVERSION= 0.19.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 019 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library (deprecated 0.19.* series) WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.41:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes USE_GL= gbm USE_XORG= pixman USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org MESON_FALSE= examples MESON_ARGS= -Dallocators=gbm \ -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} PLIST_SUB= SUFFIX=-${DISTVERSION:R} PORTSCOUT= limit:^0\.19\. OPTIONS_DEFINE= DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_DEFAULT=DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput DRM_MESON_ENABLED= session DRM_VARS= BACKENDS+="drm libinput" LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= color-management LIBLIFTOFF_DESC= libliftoff DRM interface (see WLR_DRM_FORCE_LIBLIFTOFF) LIBLIFTOFF_LIB_DEPENDS= libliftoff.so:graphics/libliftoff LIBLIFTOFF_MESON_ENABLED= libliftoff LIBLIFTOFF_IMPLIES= DRM OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-headers>0:graphics/vulkan-headers VULKAN_VARS= RENDERERS+=vulkan X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ Xwayland:x11-servers/xwayland X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland X11_VARS= BACKENDS+=x11 post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/include/wlr/meson.build .include diff --git a/x11-toolkits/wlroots020/Makefile b/x11-toolkits/wlroots020/Makefile index e89d30ac2d94..4bc438036a8b 100644 --- a/x11-toolkits/wlroots020/Makefile +++ b/x11-toolkits/wlroots020/Makefile @@ -1,81 +1,82 @@ PORTNAME= wlroots DISTVERSION= 0.20.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 020 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library (current 0.20.* series) WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.47:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= wayland-protocols>0:graphics/wayland-protocols USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes USE_GL= gbm USE_XORG= pixman USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org MESON_FALSE= examples MESON_ARGS= -Dallocators=gbm \ -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} PLIST_SUB= SUFFIX=-${DISTVERSION:R} PORTSCOUT= limit:^0\.20\. OPTIONS_DEFINE= DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_DEFAULT=DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput DRM_MESON_ENABLED= session DRM_VARS= BACKENDS+="drm libinput" LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= color-management LIBLIFTOFF_DESC= libliftoff DRM interface (see WLR_DRM_FORCE_LIBLIFTOFF) LIBLIFTOFF_LIB_DEPENDS= libliftoff.so:graphics/libliftoff LIBLIFTOFF_MESON_ENABLED= libliftoff LIBLIFTOFF_IMPLIES= DRM OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-headers>0:graphics/vulkan-headers VULKAN_VARS= RENDERERS+=vulkan X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ Xwayland:x11-servers/xwayland X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland X11_VARS= BACKENDS+=x11 post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/include/wlr/meson.build .include diff --git a/x11-wm/cosmic-comp/Makefile b/x11-wm/cosmic-comp/Makefile index 152fb74df563..7c774573b742 100644 --- a/x11-wm/cosmic-comp/Makefile +++ b/x11-wm/cosmic-comp/Makefile @@ -1,69 +1,69 @@ PORTNAME= cosmic-comp DISTVERSIONPREFIX= epoch- DISTVERSION= 1.0.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-wm wayland MAINTAINER= ports@FreeBSD.org COMMENT= Compositor for the COSMIC desktop environment WWW= https://github.com/pop-os/cosmic-comp LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-loader>0:graphics/vulkan-loader \ Xwayland:x11-servers/xwayland USES= cargo gl xorg USE_GITHUB= yes USE_GL= gbm USE_XORG= pixman GH_ACCOUNT= pop-os GH_TUPLE= pop-os:iced:0.4.2-3067-g10db38f9:iced/../${WRKSRC_crate_iced:T}/iced CARGO_FEATURES= --no-default-features # disable systemd PLIST_FILES= bin/${PORTNAME} \ share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/defaults/keybindings.ron \ share/cosmic/com.system76.CosmicSettings.WindowRules/v1/tiling_exception_defaults/tiling-exceptions.ron \ share/wayland-sessions/${PORTNAME:S/-comp//}.desktop \ .if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH:Marmv?} # https://github.com/rust-lang/rust/issues/85598 LTO_UNSAFE= yes CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false .endif post-patch: # XXX Strip double / to help "make cargo-crates" @${REINPLACE_CMD} -e 's,\(smithay\)//,\1/,' \ -e 's,\(pop-os\)//,\1/,' \ ${WRKSRC}/Cargo.lock .if 0 # breaks epoch-1.0.0-beta.1 # XXX Drop [patch.] section to help "make cargo-configure" @${REINPLACE_CMD} -e '/\[patch/,$$d' \ ${WRKSRC}/Cargo.toml .endif # /sys by default is a symlink to /usr/src/sys @${REINPLACE_CMD} -e 's,/sys,${LINUXBASE}&,' \ ${WRKSRC}/src/backend/kms/surface/timings.rs \ ${WRKSRC}/src/debug.rs \ ${WRKSRC}/src/utils/env.rs # https://github.com/RazrFalcon/fontdb/issues/61 @${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \ -e 's,/etc,${LOCALBASE}&,' \ ${WRKSRC_crate_fontdb}/src/lib.rs post-install: # Install extras similar to ${WRKSRC}/Makefile .for f in ${PLIST_FILES:Nbin/*:T:S,^,data/,} ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*${f:T}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*${f:T}} .endfor .include diff --git a/x11-wm/cosmic-comp/files/patch-libdisplay-info-0.3 b/x11-wm/cosmic-comp/files/patch-libdisplay-info-0.3 new file mode 100644 index 000000000000..00a948f71be4 --- /dev/null +++ b/x11-wm/cosmic-comp/files/patch-libdisplay-info-0.3 @@ -0,0 +1,20 @@ +thread 'main' (117587) panicked at cargo-crates/libdisplay-info-sys-0.3.0/build.rs:9:51: +called `Result::unwrap()` on an `Err` value: PkgConfig( +pkg-config exited with status code 1 +> pkg-config --libs --cflags libdisplay-info 'libdisplay-info >= 0.1.0' 'libdisplay-info < 0.4.0' + +pkg-config output: + Package dependency requirement 'libdisplay-info < 0.4.0' could not be satisfied. + Package 'libdisplay-info' has version '0.4.0', required version is '< 0.4.0' + +--- cargo-crates/libdisplay-info-sys-0.3.0/Cargo.toml~ 1970-01-01 00:00:01.000000000 +0000 ++++ cargo-crates/libdisplay-info-sys-0.3.0/Cargo.toml 2026-07-24 09:23:34.989371500 +0000 +@@ -42,7 +42,7 @@ name = "libdisplay-info" + + [package.metadata.system-deps.libdisplay-info] + name = "libdisplay-info" +-version = ">= 0.1.0, < 0.4.0" ++version = ">= 0.1.0" + + [package.metadata.system-deps.libdisplay-info.v0_2] + version = "0.2.0" diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile index 5dd22221e6be..4444233351f2 100644 --- a/x11-wm/gamescope/Makefile +++ b/x11-wm/gamescope/Makefile @@ -1,80 +1,80 @@ PORTNAME= gamescope DISTVERSION= 3.13.8 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= a618ea074660.patch:-p1 # https://github.com/ValveSoftware/gamescope/issues/120 PATCHFILES+= 4a067fb4ebe2.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/678 PATCHFILES+= 243582c0c762.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/1057 PATCHFILES+= 4a4fb1b53133.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/1296 PATCHFILES+= a9199c2097ff.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/1323 MAINTAINER= ports@FreeBSD.org COMMENT= SteamOS session compositing window manager WWW= https://github.com/ValveSoftware/gamescope LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers \ wayland-protocols>=1.17:graphics/wayland-protocols \ glm>0:math/glm \ hwdata>0:misc/hwdata LIB_DEPENDS= libdrm.so:graphics/libdrm \ libliftoff.so:graphics/libliftoff \ libvulkan.so:graphics/vulkan-loader \ libwayland-server.so:graphics/wayland \ libdisplay-info.so:sysutils/libdisplay-info \ libwlroots-0.17.so:x11-toolkits/wlroots017 \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= hwdata>0:misc/hwdata USES= cmake:indirect compiler:c++11-lib meson pkgconfig sdl xorg USE_GITHUB= yes USE_SDL= sdl2 USE_XORG= x11 xcb xcomposite xdamage xext xfixes xmu xrender xres xtst xxf86vm GH_ACCOUNT= ValveSoftware GH_TUPLE= nothings:stb:5736b15:stb/subprojects/stb \ KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-316-gd790ced:spirv_headers/thirdparty/SPIRV-Headers \ Joshua-Ashton:reshade:v4.4.2-2572-g9fdbea68:reshade/src/reshade \ Joshua-Ashton:vkroots:d5ef31a:vkroots/subprojects/vkroots MESON_ARGS= --force-fallback-for= # allow system wlroots + libliftoff MESON_ARGS+= -Dbenchmark=disabled # gamescope_color_microbench isn't installed MESON_ARGS+= -Denable_openvr_support=false # https://github.com/ValveSoftware/openvr/pull/564 MESON_ARCH_FAMILY= ${ARCH:S/amd/x86_/:S/i3/x/:C/v[67]//:S/power/p/:S/le$//} PLIST_FILES= bin/${PORTNAME} \ lib/libVkLayer_FROG_${PORTNAME}_wsi_${MESON_ARCH_FAMILY}.so \ share/vulkan/implicit_layer.d/VkLayer_FROG_${PORTNAME}_wsi.${MESON_ARCH_FAMILY}.json CXXFLAGS+= -DGLM_ENABLE_EXPERIMENTAL # GLM_GTX_string_cast is an experimental extension # https://github.com/freebsd/drm-kmod/issues/271 PORTSCOUT= ignore:1 OPTIONS_DEFINE= PIPEWIRE OPTIONS_DEFAULT=PIPEWIRE PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_ENABLED= pipewire post-extract: # Merge patch_directory for subprojects without meson.build @(cd ${WRKSRC}/subprojects/packagefiles && ${COPYTREE_SHARE} . ..) .if defined(PATCHFILES) && ${PATCHFILES:M4a067fb4ebe2*} # Pretend to be a regular file for vendor patch to apply as is @${RMDIR} ${WRKSRC}/subprojects/wlroots @${ECHO_CMD} "Subproject commit 1712a7d27444d62f8da8eeedf0840b386a810e96" \ >${WRKSRC}/subprojects/wlroots .endif .ifdef GH_TUPLE post-configure: @${REINPLACE_CMD} 's/meson install/& \ --skip-subprojects/' ${BUILD_WRKSRC}/build.ninja .endif .include diff --git a/x11-wm/mutter/Makefile b/x11-wm/mutter/Makefile index b3f4f339c43f..89883190425d 100644 --- a/x11-wm/mutter/Makefile +++ b/x11-wm/mutter/Makefile @@ -1,76 +1,76 @@ PORTNAME= mutter PORTVERSION= 47.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Window and compositing manager based on Clutter WWW= https://gnome.pages.gitlab.gnome.org/mutter/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config \ dbus>0:devel/dbus LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libgudev-1.0.so:devel/libgudev \ libdrm.so:graphics/libdrm \ libinput.so:x11/libinput \ libfribidi.so:converters/fribidi \ libgraphene-1.0.so:graphics/graphene \ libpipewire-0.3.so:multimedia/pipewire \ libstartup-notification-1.so:x11/startup-notification \ libxkbcommon.so:x11/libxkbcommon \ liblcms2.so:graphics/lcms2 \ libcolord.so:graphics/colord \ libharfbuzz.so:print/harfbuzz \ libei.so:x11/libei \ libdisplay-info.so:sysutils/libdisplay-info RUN_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config USES= compiler:c++0x gettext-tools gl gnome localbase meson \ pkgconfig tar:xz xorg USE_GL= egl gbm USE_GNOME= atk cairo gdkpixbuf gnomedesktop4 gtk40 introspection:build USE_XORG= ice pixman sm x11 xcb xcomposite xcursor xdamage xext \ xfixes xi xinerama xkbfile xrandr xrender xtst USE_LDCONFIG= yes PORTSCOUT= limit:^47\. CFLAGS+= -Wno-unknown-warning-option -Wno-format-nonliteral CPPFLAGS+= -fno-omit-frame-pointer MESON_ARGS= -Dlibdisplay_info=enabled \ -Dlibwacom=false \ -Dnative_backend=false \ -Dprofiler=false \ -Dsystemd=false \ -Dtests=disabled \ -Dcogl_tests=false \ -Dclutter_tests=false \ -Dmutter_tests=false \ -Dinstalled_tests=false GLIB_SCHEMAS= org.gnome.mutter.gschema.xml \ org.gnome.mutter.wayland.gschema.xml OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ xwayland>0:x11-servers/xwayland WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland WAYLAND_RUN_DEPENDS= xwayland>0:x11-servers/xwayland WAYLAND_USE= XORG=xau WAYLAND_MESON_TRUE= wayland \ xwayland .include diff --git a/x11-wm/niri/Makefile b/x11-wm/niri/Makefile index 316fd8c8f254..b1f9e2681237 100644 --- a/x11-wm/niri/Makefile +++ b/x11-wm/niri/Makefile @@ -1,61 +1,61 @@ PORTNAME= niri DISTVERSIONPREFIX= v DISTVERSION= 26.04 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-wm wayland MAINTAINER= lme@FreeBSD.org COMMENT= Scrollable-tiling Wayland compositor WWW= https://github.com/YaLTeR/niri LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri USES= cargo gl gnome xorg USE_GITHUB= yes USE_GL= egl gbm USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= niri-wm CARGO_FEATURES= --no-default-features dbus PLIST_FILES= bin/${PORTNAME} \ share/wayland-sessions/${PORTNAME}.desktop \ share/xdg-desktop-portal/${PORTNAME}-portals.conf OPTIONS_DEFINE= PIPEWIRE OPTIONS_DEFAULT=PIPEWIRE PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_USES= llvm PIPEWIRE_VARS= CARGO_FEATURES+=xdp-gnome-screencast post-patch: @${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \ ${WRKSRC_crate_clang-sys}/build/common.rs \ ${WRKSRC_crate_clang-sys}/src/support.rs # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/unknown commit/${DISTVERSIONFULL}/' \ ${WRKSRC}/src/main.rs # Respect PREFIX for system-wide config @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/src/main.rs # Don't generate debuginfo as the binaries will be stripped @${REINPLACE_CMD} '/line-tables-only/d' ${WRKSRC}/Cargo.toml post-install: # Install extras similar to package.metadata.generate-rpm .for f in resources/*.desktop resources/*-portals.conf ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .include diff --git a/x11-wm/niri/files/patch-libdisplay-info-0.3 b/x11-wm/niri/files/patch-libdisplay-info-0.3 new file mode 100644 index 000000000000..00a948f71be4 --- /dev/null +++ b/x11-wm/niri/files/patch-libdisplay-info-0.3 @@ -0,0 +1,20 @@ +thread 'main' (117587) panicked at cargo-crates/libdisplay-info-sys-0.3.0/build.rs:9:51: +called `Result::unwrap()` on an `Err` value: PkgConfig( +pkg-config exited with status code 1 +> pkg-config --libs --cflags libdisplay-info 'libdisplay-info >= 0.1.0' 'libdisplay-info < 0.4.0' + +pkg-config output: + Package dependency requirement 'libdisplay-info < 0.4.0' could not be satisfied. + Package 'libdisplay-info' has version '0.4.0', required version is '< 0.4.0' + +--- cargo-crates/libdisplay-info-sys-0.3.0/Cargo.toml~ 1970-01-01 00:00:01.000000000 +0000 ++++ cargo-crates/libdisplay-info-sys-0.3.0/Cargo.toml 2026-07-24 09:23:34.989371500 +0000 +@@ -42,7 +42,7 @@ name = "libdisplay-info" + + [package.metadata.system-deps.libdisplay-info] + name = "libdisplay-info" +-version = ">= 0.1.0, < 0.4.0" ++version = ">= 0.1.0" + + [package.metadata.system-deps.libdisplay-info.v0_2] + version = "0.2.0" diff --git a/x11-wm/plasma6-kwin-x11/Makefile b/x11-wm/plasma6-kwin-x11/Makefile index 7869eb7d7a69..9a94ba38d448 100644 --- a/x11-wm/plasma6-kwin-x11/Makefile +++ b/x11-wm/plasma6-kwin-x11/Makefile @@ -1,44 +1,45 @@ PORTNAME= kwin-x11 DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma COMMENT= Easy to use, but flexible, X Window Manager MAINTAINER= kde@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ hwdata>0:misc/hwdata \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ liblcms2.so:graphics/lcms2 \ libpipewire-0.3.so:multimedia/pipewire \ libqaccessibilityclient-qt6.so:accessibility/libqaccessibilityclient \ libudev.so:devel/libudev-devd \ libwayland-client.so:graphics/wayland \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= hwdata>0:misc/hwdata USES= cmake gettext gl kde:6 pkgconfig python qt:6 shebangfix tar:xz \ xorg USE_GL= egl gbm gl opengl USE_KDE= auth breeze colorscheme config \ configwidgets coreaddons crash dbusaddons decoration \ globalaccel globalacceld guiaddons i18n idletime kcmutils \ kdeclarative knighttime kscreenlocker libplasma newstuff \ notifications package runner service svg widgetsaddons \ windowsystem xmlgui \ ecm:build plasma-wayland-protocols:build \ aurorae:run breeze:run USE_QT= base declarative sensors tools wayland USE_XORG= ice sm x11 xcb xext xi BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= src/plugins/strip-effect-metadata.py .include diff --git a/x11-wm/plasma6-kwin/Makefile b/x11-wm/plasma6-kwin/Makefile index 1d88cb6068f1..f3467f754db3 100644 --- a/x11-wm/plasma6-kwin/Makefile +++ b/x11-wm/plasma6-kwin/Makefile @@ -1,61 +1,62 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma COMMENT= Easy to use, but flexible, Wayland Compositor MAINTAINER= kde@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ hwdata>0:misc/hwdata \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libinput.so:x11/libinput \ liblcms2.so:graphics/lcms2 \ libpipewire-0.3.so:multimedia/pipewire \ libqaccessibilityclient-qt6.so:accessibility/libqaccessibilityclient \ libudev.so:devel/libudev-devd \ libwayland-client.so:graphics/wayland \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcvt.so:x11/libxcvt \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= hwdata>0:misc/hwdata \ Xwayland:x11-servers/xwayland USES= cmake gettext gl kde:6 pkgconfig python qt:6 shebangfix tar:xz \ xorg USE_GL= egl gbm gl opengl USE_KDE= auth colorscheme config \ coreaddons crash dbusaddons decoration \ globalaccel globalacceld guiaddons holidays i18n idletime kcmutils \ kdeclarative knighttime kpipewire kscreenlocker libplasma newstuff \ notifications package runner service svg wayland widgetsaddons \ windowsystem xmlgui \ ecm:build plasma-wayland-protocols:build \ aurorae:run breeze:run USE_QT= base declarative multimedia sensors tools wayland USE_XORG= ice sm x11 xcb xext xi DATADIR= ${PREFIX}/share/kwin-wayland BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= src/plugins/strip-effect-metadata.py CONFLICTS_INSTALL= theseus-ship # bin/kwin_wayland OPTIONS_DEFINE= EI OPTIONS_DEFAULT= EI OPTIONS_SUB= yes EI_DESC= Emulated input for Wayland EI_LIB_DEPENDS= libei.so:x11/libei EI_CMAKE_BOOL= KWIN_BUILD_EIS .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500050 LIB_DEPENDS+= libinotify.so.0:devel/libinotify .endif .include diff --git a/x11/libxfce4windowing/Makefile b/x11/libxfce4windowing/Makefile index 27a4873f76e5..f4129eccd1eb 100644 --- a/x11/libxfce4windowing/Makefile +++ b/x11/libxfce4windowing/Makefile @@ -1,50 +1,51 @@ PORTNAME= libxfce4windowing DISTVERSION= 4.20.6 +PORTREVISION= 1 CATEGORIES= x11 xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Windowing concept abstraction library for X11 and Wayland WWW= https://gitlab.xfce.org/xfce/libxfce4windowing LICENSE= GPLv2 LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info USES= gettext-tools gnome meson pkgconfig python:build shebangfix \ tar:bz2 xfce xorg USE_GNOME= glib20 gtk30 libwnck3 USE_LDCONFIG= yes USE_XFCE= xdt USE_XORG= x11 xrandr SHEBANG_FILES= xdt-gen-visibility MESON_ARGS= -Dx11=enabled OPTIONS_DEFINE= DOCS GIR NLS VAPI WAYLAND OPTIONS_DEFAULT= GIR VAPI WAYLAND OPTIONS_SUB= yes GIR_DESC= GObject Introspection support DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc DOCS_MESON_TRUE= gtk-doc GIR_USE= GNOME=introspection:build GIR_MESON_TRUE= introspection NLS_USES= gettext-runtime VAPI_USES= vala:build VAPI_MESON_ENABLED= vala WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_RUN_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_MESON_ENABLED= wayland post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build .include