diff --git a/accessibility/redshift/Makefile b/accessibility/redshift/Makefile index 85ebca947d79..8cf49635a29c 100644 --- a/accessibility/redshift/Makefile +++ b/accessibility/redshift/Makefile @@ -1,70 +1,70 @@ # Created by: Mark Felder PORTNAME= redshift PORTVERSION= 1.12 DISTVERSIONPREFIX= v PORTREVISION= 1 -CATEGORIES= accessibility +CATEGORIES= accessibility wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 60f45972a543.patch:-p1 # avoid patch conflict PATCHFILES+= 7da875d34854.patch:-p1 # wayland, see #663 MAINTAINER= lcook@FreeBSD.org COMMENT= Adjusts the color temperature of your screen LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdrm.so:graphics/libdrm USES= autoreconf:build gettext gmake gnome libtool localbase \ pkgconfig shebangfix tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= jonls USE_GNOME= intltool GNU_CONFIGURE= yes SHEBANG_FILES= src/redshift-gtk/redshift-gtk.in CONFIGURE_ARGS+= --disable-wingdi OPTIONS_DEFINE= GEO GUI NLS RANDR VIDMODE WAYLAND OPTIONS_DEFAULT=GEO RANDR WAYLAND OPTIONS_SUB= yes GUI_DESC= Tray icon RANDR_DESC= Support RANDR for changing colors VIDMODE_DESC= Support VIDMODE for changing colors (NVIDIA) WAYLAND_DESC= Support Wayland (wlroots) for changing colors GEO_DESC= Use geoclue (requires dbus) NLS_USES= iconv NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} \ --with-libintl-prefix=${LOCALBASE} NLS_CONFIGURE_OFF= --disable-nls RANDR_USES= xorg RANDR_USE= XORG=xcb,xrandr RANDR_CONFIGURE_ENABLE= randr VIDMODE_USES= xorg VIDMODE_USE= XORG=x11,xxf86vm VIDMODE_CONFIGURE_ENABLE= vidmode WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland GUI_USES= python:3.6+ GUI_CONFIGURE_ENABLE= gui GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} GEO_CONFIGURE_ON= --enable-geoclue2 GEO_CONFIGURE_OFF= --disable-geoclue2 GEO_LIB_DEPENDS= libgeoclue-2.so:net/geoclue pre-configure: @cd ${WRKSRC} ; ./bootstrap .include diff --git a/accessibility/wl-gammarelay-rs/Makefile b/accessibility/wl-gammarelay-rs/Makefile index fb65b802ef22..00b464d4ab0f 100644 --- a/accessibility/wl-gammarelay-rs/Makefile +++ b/accessibility/wl-gammarelay-rs/Makefile @@ -1,132 +1,132 @@ PORTNAME= wl-gammarelay-rs DISTVERSIONPREFIX= v DISTVERSION= 0.2.2 PORTREVISION= 3 -CATEGORIES= accessibility +CATEGORIES= accessibility wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Adjust color temperature/brightness under Wayland via DBus LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENCE USES= cargo USE_GITHUB= yes GH_ACCOUNT= MaxVerevkin PLIST_FILES= bin/${PORTNAME} CARGO_CRATES= aho-corasick-0.7.18 \ anyhow-1.0.56 \ async-broadcast-0.3.4 \ async-channel-1.6.1 \ async-executor-1.4.1 \ async-lock-2.5.0 \ async-recursion-0.3.2 \ async-task-4.2.0 \ async-trait-0.1.53 \ atty-0.2.14 \ autocfg-1.1.0 \ bitflags-1.3.2 \ byteorder-1.4.3 \ cache-padded-1.2.0 \ cc-1.0.73 \ cfg-if-1.0.0 \ clap-3.1.8 \ clap_derive-3.1.7 \ concurrent-queue-1.2.2 \ derivative-2.2.0 \ dlib-0.5.0 \ downcast-rs-1.2.0 \ easy-parallel-3.2.0 \ enumflags2-0.7.4 \ enumflags2_derive-0.7.4 \ event-listener-2.5.2 \ fastrand-1.7.0 \ futures-0.3.21 \ futures-channel-0.3.21 \ futures-core-0.3.21 \ futures-executor-0.3.21 \ futures-io-0.3.21 \ futures-lite-1.12.0 \ futures-macro-0.3.21 \ futures-sink-0.3.21 \ futures-task-0.3.21 \ futures-util-0.3.21 \ getrandom-0.2.6 \ hashbrown-0.11.2 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hex-0.4.3 \ indexmap-1.8.1 \ instant-0.1.12 \ lazy_static-1.4.0 \ libc-0.2.122 \ libloading-0.7.3 \ log-0.4.16 \ memchr-2.4.1 \ memmap-0.7.0 \ memoffset-0.6.5 \ mio-0.8.2 \ miow-0.3.7 \ nix-0.23.1 \ ntapi-0.3.7 \ once_cell-1.10.0 \ ordered-stream-0.0.1 \ os_str_bytes-6.0.0 \ parking-2.0.0 \ pin-project-lite-0.2.8 \ pin-utils-0.1.0 \ pkg-config-0.3.25 \ ppv-lite86-0.2.16 \ proc-macro-crate-1.1.3 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.37 \ quote-1.0.17 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.3 \ regex-1.5.5 \ regex-syntax-0.6.25 \ scoped-tls-1.0.0 \ serde-1.0.136 \ serde_derive-1.0.136 \ serde_repr-0.1.7 \ sha1-0.6.1 \ sha1_smol-1.0.0 \ shmemfdrs-0.1.2 \ slab-0.4.6 \ smallvec-1.8.0 \ socket2-0.4.4 \ static_assertions-1.1.0 \ strsim-0.10.0 \ syn-1.0.91 \ termcolor-1.1.3 \ textwrap-0.15.0 \ thiserror-1.0.30 \ thiserror-impl-1.0.30 \ tokio-1.17.0 \ tokio-macros-1.7.0 \ toml-0.5.8 \ unicode-xid-0.2.2 \ version_check-0.9.4 \ waker-fn-1.1.0 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wayland-backend-0.1.0-alpha9 \ wayland-client-0.30.0-alpha9 \ wayland-protocols-0.30.0-alpha9 \ wayland-scanner-0.30.0-alpha9 \ wayland-sys-0.30.0-alpha9 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ xml-rs-0.8.4 \ zbus-2.1.1 \ zbus_macros-2.1.1 \ zbus_names-2.1.0 \ zvariant-3.1.2 \ zvariant_derive-3.1.2 .include diff --git a/accessibility/wlsunset/Makefile b/accessibility/wlsunset/Makefile index 409abbee345c..87e9edde3b20 100644 --- a/accessibility/wlsunset/Makefile +++ b/accessibility/wlsunset/Makefile @@ -1,28 +1,28 @@ PORTNAME= wlsunset DISTVERSION= 0.2.0 -CATEGORIES= accessibility +CATEGORIES= accessibility wayland MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ PATCH_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/commit/ PATCHFILES+= 601dfc87ff6e.patch:-p1 # https://lists.sr.ht/~kennylevinsen/wlsunset-devel/patches/26904 MAINTAINER= jbeich@FreeBSD.org COMMENT= Day/night gamma adjustments for Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 meson pkgconfig PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include diff --git a/benchmarks/vkmark/Makefile b/benchmarks/vkmark/Makefile index 6b68f7109fef..ae04059e4a97 100644 --- a/benchmarks/vkmark/Makefile +++ b/benchmarks/vkmark/Makefile @@ -1,51 +1,51 @@ PORTNAME= vkmark DISTVERSION= 2017.08-29 DISTVERSIONSUFFIX= -gd872846 -CATEGORIES= benchmarks +CATEGORIES= benchmarks wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 27fa846e34ed.patch:-p1 # https://github.com/vkmark/vkmark/pull/29 MAINTAINER= jbeich@FreeBSD.org COMMENT= Vulkan benchmark LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING-LGPL2.1 BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \ glm>0:math/glm LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \ libassimp.so:multimedia/assimp USES= compiler:c++14-lang localbase meson pkgconfig USE_GITHUB= yes OPTIONS_DEFINE= DRM WAYLAND X11 OPTIONS_DEFAULT=DRM WAYLAND X11 OPTIONS_EXCLUDE=DRM # https://github.com/vkmark/vkmark/issues/33 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan_intel.h:graphics/mesa-dri DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_USES= gl DRM_USE= GL=gbm DRM_MESON_TRUE= kms WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MESON_TRUE= wayland X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm X11_USES= xorg X11_USE= XORG=xcb X11_MESON_TRUE= xcb post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/deskutils/xdg-desktop-portal/Makefile b/deskutils/xdg-desktop-portal/Makefile index bd2d460833f4..c4f3f03aabeb 100644 --- a/deskutils/xdg-desktop-portal/Makefile +++ b/deskutils/xdg-desktop-portal/Makefile @@ -1,36 +1,36 @@ PORTNAME= xdg-desktop-portal PORTVERSION= 1.10.1 -CATEGORIES= deskutils +CATEGORIES= deskutils wayland PATCH_SITES= https://arrowd.name/:freebsd_compat PATCHFILES= 552.patch:-p1:freebsd_compat MAINTAINER= arrowd@FreeBSD.org COMMENT= Portal frontend service for Flatpak LICENSE= LGPL21 LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs \ libgeoclue-2.so:net/geoclue \ libjson-glib-1.0.so:devel/json-glib \ libpipewire-0.3.so:multimedia/pipewire \ libportal.so:deskutils/libportal USES= autoreconf gettext-tools gmake gnome libtool pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= flatpak .include .if (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400008) \ || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300501) \ || ${OSVERSION} < 1300000 IGNORE= requires O_PATH support in open(2) .endif .include diff --git a/devel/sdl12-compat/Makefile b/devel/sdl12-compat/Makefile index cb74bfb198d8..a6b2ae60ffa4 100644 --- a/devel/sdl12-compat/Makefile +++ b/devel/sdl12-compat/Makefile @@ -1,72 +1,72 @@ PORTNAME= sdl12-compat DISTVERSIONPREFIX= release- DISTVERSION= 1.2.52 -CATEGORIES= devel +CATEGORIES= devel wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake:testing localbase sdl USE_GITHUB= yes USE_LDCONFIG= yes USE_SDL= sdl2 CMAKE_OFF= SDL12DEVEL CMAKE_OFF+= ${CMAKE_TESTING_ON} CMAKE_TESTING_ON= SDL12TESTS CMAKE_TESTING_TARGET= # post-test GH_ACCOUNT= libsdl-org SUFFIX= -${PORTNAME:C/.*-//} PLIST_FILES= etc/libmap.d/${PORTNAME}.conf \ lib/libSDL-1.2${SUFFIX}.so \ lib/libSDL-1.2${SUFFIX}.so.0 \ lib/libSDL-1.2${SUFFIX}.so.1.2.52 \ "@comment lib/libSDLmain.a" post-patch: # Add library suffix to co-exist with sdl12 package @${REINPLACE_CMD} -e '/OUTPUT_NAME/s/")$$/${SUFFIX}&/' \ ${WRKSRC}/CMakeLists.txt # doesn't exist on BSDs and is included by on Linux @${REINPLACE_CMD} -e '/ALLOCA_H/d' \ ${WRKSRC}/include/SDL/SDL_config.h # Drop unused dependency on libGLU @${REINPLACE_CMD} -e '/glu\.h/d' \ ${WRKSRC}/include/SDL/SDL_opengl.h post-install: # Replace sdl12 with sdl12-compat at runtime @${ECHO_CMD} ${PLIST_FILES:T:M*.so.?:_:S/${SUFFIX}//} $_ \ >${STAGEDIR}${PREFIX}/etc/libmap.d/${PORTNAME}.conf pre-test: # Enable RPATH for test executables to avoid LD_LIBRARY_PATH @${REINPLACE_CMD} -i.tests -e '/CMAKE_SKIP_RPATH/d' \ ${WRKSRC}/CMakeLists.txt post-test: # subset known to work .for t in ver error file platform thread timer (cd ${TEST_WRKSRC} && ./test$t) .endfor (cd ${TEST_WRKSRC} && ./testloadso libpthread.so pthread_create) (cd ${TEST_WRKSRC} && ./torturethread) # (cd ${TEST_WRKSRC} && ./testiconv) # FAIL: UCS4 # (cd ${TEST_WRKSRC} && timeout 10 ./testlock) # hangs # (cd ${TEST_WRKSRC} && timeout -s ABRT 20 ./testsem mysem) # hangs .if exists(/dev/dsp) (cd ${TEST_WRKSRC} && timeout --preserve-status 10 ./loopwave) .endif .if defined(WAYLAND_DISPLAY) || defined(DISPLAY) || exists(/dev/dri/card0) # Text-only: finishes without interaction . for t in vidinfo joystick keys blitspeed (cd ${TEST_WRKSRC} && ./test$t) . endfor # Window: finishes via user input or timeout . for t in bitmap gl overlay overlay2 sprite win (cd ${TEST_WRKSRC} && timeout --preserve-status 3 ./test$t) . endfor .endif .include diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile index caaabbe6c676..f72c8f9f6ceb 100644 --- a/emulators/rpcs3/Makefile +++ b/emulators/rpcs3/Makefile @@ -1,108 +1,108 @@ PORTNAME= rpcs3 DISTVERSIONPREFIX= v DISTVERSION= 0.0.23-13939 # git rev-list --count HEAD DISTVERSIONSUFFIX= -g845af8bd96 -CATEGORIES= emulators +CATEGORIES= emulators wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= PS3 emulator/debugger LICENSE= APACHE20 ISCL GPLv2 MIT ZLIB LICENSE_COMB= multi LICENSE_FILE_ISCL= ${WRKSRC_cubeb}/LICENSE LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md BUILD_DEPENDS= flatc:devel/flatbuffers LIB_DEPENDS= libxxhash.so:devel/xxhash \ libcurl.so:ftp/curl \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libpugixml.so:textproc/pugixml ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= requires int128 and SSE2 USE_GITHUB= yes GH_ACCOUNT= RPCS3 GH_TUPLE= RPCS3:hidapi:hidapi-0.12.0-2-gc2aa9dd:hidapi/3rdparty/hidapi/hidapi \ RPCS3:llvm-mirror:5521155be5c8:llvm/llvm \ RPCS3:soundtouch:2.3.1-16-g83cfba6:soundtouch/3rdparty/SoundTouch/soundtouch \ asmjit:asmjit:06d0bad:asmjit/3rdparty/asmjit/asmjit \ jbeder:yaml-cpp:yaml-cpp-0.7.0-1-g0b67821:yamlcpp/3rdparty/yaml-cpp/yaml-cpp \ KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-152-g4995a2f:spirv_headers/3rdparty/SPIRV/SPIRV-Headers \ KhronosGroup:SPIRV-Tools:v2022.2:spirv_tools/3rdparty/SPIRV/SPIRV-Tools \ KhronosGroup:glslang:11.10.0:glslang/3rdparty/glslang/glslang \ kinetiknz:cubeb:cubeb-0.2-1381-g708f52c:cubeb/3rdparty/cubeb/cubeb \ wolfSSL:wolfssl:v5.3.0-stable:wolfssl/3rdparty/wolfssl/wolfssl USES= cmake compiler:c++17-lang elfctl gl iconv:wchar_t localbase:ldflags \ openal:soft pkgconfig python:3.4+,build qt:5 xorg USE_GL= gl glew USE_QT= qmake_build buildtools_build core concurrent dbus gui multimedia svg widgets USE_XORG= x11 CMAKE_ON= CMAKE_SKIP_RPATH ${CURL FFMPEG FLATBUFFERS LIBPNG PUGIXML XXHASH:L:S/^/USE_SYSTEM_/} CMAKE_ON+= BUNDLE_SPEEX # only used by cubeb tests CMAKE_OFF= USE_NATIVE_INSTRUCTIONS USE_PRECOMPILED_HEADERS LDFLAGS+= -Wl,--as-needed # GLU ELF_FEATURES= +noaslr,wxneeded:bin/${PORTNAME} OPTIONS_DEFINE= ALSA EVDEV FAUDIO PULSEAUDIO JACK SNDIO VULKAN OPTIONS_DEFAULT=EVDEV FAUDIO PULSEAUDIO JACK SNDIO VULKAN ALSA_BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA EVDEV_DESC= libevdev-based joystick support EVDEV_CMAKE_BOOL= USE_LIBEVDEV EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev FAUDIO_DESC= FAudio audio support FAUDIO_LIB_DEPENDS= libFAudio.so:audio/faudio FAUDIO_CMAKE_BOOL= USE_FAUDIO USE_SYSTEM_FAUDIO JACK_BUILD_DEPENDS= jackit>0:audio/jack JACK_CMAKE_BOOL= USE_JACK PULSEAUDIO_BUILD_DEPENDS=pulseaudio>0:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE SNDIO_BUILD_DEPENDS= sndio>0:audio/sndio SNDIO_CMAKE_BOOL= USE_SNDIO VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= USE_VULKAN post-patch: @${REINPLACE_CMD} -e '/GIT_BRANCH/s/local_build/master/' \ -e '/GIT_FULL_BRANCH/s/local_build/${GH_ACCOUNT}\/${GH_PROJECT}\/master/' \ -e '/GIT_VERSION/s/local_build/${GH_TAGNAME:C/[^-]*-//}/' \ ${WRKSRC}/${PORTNAME}/git-version.cmake .include # Ignore Mk/bsd.default-versions.mk but respect make.conf(5) .if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mllvm*} LLVM_DEFAULT= 13 # bump if not latest release .endif BUILD_DEPENDS+= clang++${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} USES:= ${USES:Ncompiler*} CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} CPP= clang-cpp${LLVM_DEFAULT} # XXX Move into separate port and standardize via USES GH_TUPLE+= llvm:llvm-project:llvmorg-13.0.1-rc1:libcxx CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1 LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt pre-configure: bundled-libcxx bundled-libcxx: @${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS:M*Ninja*} \ -DCMAKE_INSTALL_PREFIX:PATH=${WRKDIR}/libcxx_prefix \ -B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build .include diff --git a/games/retroarch/Makefile b/games/retroarch/Makefile index d6dbf81b1b90..825d6147ff60 100644 --- a/games/retroarch/Makefile +++ b/games/retroarch/Makefile @@ -1,108 +1,108 @@ # Created by: Yuri Victorovich PORTNAME= RetroArch PORTVERSION= 1.10.3 DISTVERSIONPREFIX= v -CATEGORIES= games emulators +CATEGORIES= games emulators wayland MAINTAINER= greg@unrelenting.technology COMMENT= Cross-platform entertainment system based on libretro API LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vulkan-loader>0:graphics/vulkan-loader \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ libdrm.so:graphics/libdrm \ libass.so:multimedia/libass \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets USES= compiler:c++11-lib cpe gmake pkgconfig python:3.6+ shebangfix ssl CPE_VENDOR= libretro USE_GITHUB= yes GH_ACCOUNT= libretro SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py \ tools/cg2glsl.py tools/vulkan_loader_generator.py HAS_CONFIGURE= yes CONFIGURE_ARGS+=--enable-threads --disable-discord \ --sysconfdir=${LOCALBASE}/etc CONFIGURE_ENV+= MAN_DIR=${MANPREFIX}/man LDFLAGS_i386= -Wl,-znotext DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl} SUB_FILES= pkg-message OPTIONS_DEFINE= CACA FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 DOCS OPTIONS_DEFAULT=FFMPEG OSS SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 FFMPEG_DESC= On-the-fly recording of gameplay with libavcodec WAYLAND_DESC= Wayland display support UDEV_DESC= udev device hotplug support QT_DESC= Qt based desktop-style GUI CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= caca FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE=ffmpeg OSS_CONFIGURE_ENABLE= oss JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa SDL_USES= sdl SDL_USE= SDL=sdl2 image2 SDL_CONFIGURE_ON= --disable-sdl --enable-sdl2 SDL_CONFIGURE_OFF= --disable-sdl --disable-sdl2 OPENGL_USES= gl OPENGL_USE= GL=gl,egl,gbm OPENGL_CONFIGURE_ENABLE=opengl OPENAL_USES= openal:soft OPENAL_CONFIGURE_ENABLE=al V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_CONFIGURE_ENABLE= v4l2 FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/kd.h:graphics/svgalib WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libepoll-shim.so:devel/libepoll-shim UDEV_CFLAGS= -I${LOCALBASE}/include/libepoll-shim UDEV_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim UDEV_CONFIGURE_ENABLE= udev QT_USES= qt:5 QT_USE= QT=core,gui,widgets,concurrent,network QT_CONFIGURE_ENABLE= qt X11_USES= xorg X11_USE= XORG=x11,xcb,xext,xinerama,xv,xxf86vm,xrandr X11_CONFIGURE_ENABLE= x11 post-patch: @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/camera/drivers/video4linux2.c \ ${WRKSRC}/libretro-common/libco/armeabi.c \ ${WRKSRC}/memory/wii/mem2_manager.c @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/camera/drivers/video4linux2.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch @${REINPLACE_CMD} \ -e 's|# libretro_directory =|libretro_directory = "${PREFIX}/lib/libretro"|' \ -e 's|# libretro_info_path =|libretro_info_path = "${PREFIX}/share/libretro/info"|' \ -e 's|# assets_directory =|assets_directory = "${PREFIX}/share/libretro/assets"|' \ -e 's|# video_shader_dir =|video_shader_dir = "${PREFIX}/share/libretro/shaders"|' \ -e 's|# video_filter_dir =|video_filter_dir = "${PREFIX}/lib/retroarch/filters/video"|' \ -e 's|# audio_filter_dir =|audio_filter_dir = "${PREFIX}/lib/retroarch/filters/audio"|' \ -e 's|# joypad_autoconfig_dir =|joypad_autoconfig_dir = "${PREFIX}/share/retroarch/autoconfig"|' \ -e 's|# menu_show_core_updater = true|menu_show_core_updater = false|' \ ${STAGEDIR}${PREFIX}/etc/retroarch.cfg .include diff --git a/graphics/egl-wayland/Makefile b/graphics/egl-wayland/Makefile index 61af4f36d19f..692eeabeb365 100644 --- a/graphics/egl-wayland/Makefile +++ b/graphics/egl-wayland/Makefile @@ -1,31 +1,31 @@ PORTNAME= egl-wayland DISTVERSION= 1.1.10 -CATEGORIES= graphics +CATEGORIES= graphics wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= EGLStream-based Wayland external platform LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= eglexternalplatform>=1.1:graphics/eglexternalplatform \ ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \ wayland-protocols>=1.8:graphics/wayland-protocols LIB_DEPENDS= libwayland-server.so:graphics/wayland USES= gl meson pkgconfig USE_GITHUB= yes USE_GL= egl USE_LDCONFIG= yes GH_ACCOUNT= NVIDIA post-patch: @${REINPLACE_CMD} -e "/install/s/datadir')/prefix'), 'libdata'/" \ ${WRKSRC}/meson.build post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d ${INSTALL_DATA} ${FILESDIR}/10_nvidia_wayland.json \ ${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d .include diff --git a/graphics/glew-wayland/Makefile b/graphics/glew-wayland/Makefile index 31ff37e6ab5e..67821b95362e 100644 --- a/graphics/glew-wayland/Makefile +++ b/graphics/glew-wayland/Makefile @@ -1,39 +1,41 @@ PORTREVISION= 3 PKGNAMESUFFIX= -wayland # https://github.com/nigels-com/glew/issues/172 MAINTAINER= jbeich@FreeBSD.org MASTERDIR= ${.CURDIR}/../glew PLIST= ${.CURDIR}/pkg-plist PKGMESSAGE= ${.CURDIR}/pkg-message USE_GL= egl opengl USE_XORG= # empty MAKE_ARGS= NAME=${PORTNAME:tu}${PKGNAMESUFFIX} INSTALL_TARGET= install.lib OPTIONS_DEFINE= # empty post-patch: slave-post-patch slave-post-patch: @${REINPLACE_CMD} 's/Makefile.$$(SYSTEM)/&-egl-glvnd/' ${WRKSRC}/Makefile @${SED} 's/linux/${OPSYS:tl}/' ${WRKSRC}/config/Makefile.linux-egl-glvnd \ >${WRKSRC}/config/Makefile.${OPSYS:tl}-egl-glvnd @${REINPLACE_CMD} -e '/^Name:/s/${PORTNAME}/${PKGBASE}/' \ ${WRKSRC}/${PORTNAME}.pc.in # GCC 4.2 doesn't support redefining same typedef @${REINPLACE_CMD} '/typedef.*EGLint;/d' ${WRKSRC}/include/GL/eglew.h post-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo \ ${STAGEDIR}${PREFIX}/bin/glewinfo${PKGNAMESUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo \ ${STAGEDIR}${PREFIX}/bin/visualinfo${PKGNAMESUFFIX} ${MKDIR} ${STAGEDIR}${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/include/GL/eglew.h \ ${STAGEDIR}${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/${PKGBASE}.pc .include "${MASTERDIR}/Makefile" + +CATEGORIES+= wayland diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile index 927f7b8e2ac8..c72df42a26e7 100644 --- a/graphics/imv/Makefile +++ b/graphics/imv/Makefile @@ -1,81 +1,81 @@ PORTNAME= imv DISTVERSIONPREFIX= v DISTVERSION= 4.3.1 PORTREVISION= 2 -CATEGORIES= graphics +CATEGORIES= graphics wayland MASTER_SITES= https://git.sr.ht/~exec64/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple image viewer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libicuuc.so:devel/icu \ libinih.so:devel/inih \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= bash:shells/bash USES= compiler:c11 desktop-file-utils gettext-runtime gl gnome meson \ pkgconfig shebangfix USE_GL= egl USE_GNOME= cairo glib20 pango SHEBANG_FILES= contrib/imv-folder CONFLICTS_INSTALL= renameutils OPTIONS_DEFINE= FREEIMAGE HEIF JPEG NSGIF PNG SVG TEST TIFF OPTIONS_DEFAULT= ALL FREEIMAGE HEIF JPEG NSGIF PNG SVG TIFF OPTIONS_SINGLE= WIN OPTIONS_SINGLE_WIN= ALL WAYLAND X11 OPTIONS_SUB= yes ALL_DESC= Both Wayland and X11 support FREEIMAGE_DESC= FreeImage backend (support for many image formats) NSGIF_DESC= NetSurf GIF backend (support for animated GIF) WIN_DESC= Windowing system ALL_LIB_DEPENDS+= libwayland-client.so:graphics/wayland ALL_USES= xorg ALL_USE= GL=glu \ XORG=x11,xcb ALL_MESON_ON= -Dwindows=all FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage FREEIMAGE_MESON_ENABLED= freeimage HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= libheif JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo JPEG_MESON_ENABLED= libjpeg NSGIF_LIB_DEPENDS= libnsgif.so:graphics/libnsgif NSGIF_MESON_ENABLED= libnsgif PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= libpng SVG_USE= GNOME=librsvg2 SVG_MESON_ENABLED= librsvg TEST_LIB_DEPENDS= libcmocka.so:sysutils/cmocka TEST_MESON_ENABLED= test TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland WAYLAND_MESON_ON= -Dwindows=wayland X11_USES= xorg X11_USE= GL=glu \ XORG=x11,xcb X11_MESON_ON= -Dwindows=x11 post-patch: @${REINPLACE_CMD} -e 's|--sort=version|-V|g' ${WRKSRC}/contrib/imv-folder .include diff --git a/graphics/qt5-wayland/Makefile b/graphics/qt5-wayland/Makefile index a037689f5659..3159908f0b67 100644 --- a/graphics/qt5-wayland/Makefile +++ b/graphics/qt5-wayland/Makefile @@ -1,25 +1,25 @@ PORTNAME= wayland PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} -CATEGORIES= graphics +CATEGORIES= graphics wayland PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 wrapper for Wayland BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++11-lang gl gnome pkgconfig qmake:norecursive \ qt-dist:5,wayland xorg USE_GL= egl gl USE_GNOME= glib20 USE_QT= core dbus gui declarative \ buildtools_build qmake_build USE_XORG= x11 xcomposite QT_BINARIES= yes .include diff --git a/graphics/swappy/Makefile b/graphics/swappy/Makefile index 1843add336a0..19fb1d8e10f9 100644 --- a/graphics/swappy/Makefile +++ b/graphics/swappy/Makefile @@ -1,45 +1,45 @@ PORTNAME= swappy DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 -CATEGORIES= graphics +CATEGORIES= graphics wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Snapshot editing for Wayland (a la Snappy on macOS) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 desktop-file-utils gettext-tools gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 GH_ACCOUNT= jtheoof PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ share/locale/de/LC_MESSAGES/${PORTNAME}.mo \ share/locale/en/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt_BR/LC_MESSAGES/${PORTNAME}.mo \ share/locale/tr/LC_MESSAGES/${PORTNAME}.mo \ ${NULL} OPTIONS_DEFINE= CLIPBOARD ICONSFONT MANPAGES OPTIONS_DEFAULT=CLIPBOARD ICONSFONT MANPAGES CLIPBOARD_DESC= Copy to clipboard support CLIPBOARD_RUN_DEPENDS= wl-copy:x11/wl-clipboard ICONSFONT_DESC= Install Font Awesome to properly render icons ICONSFONT_RUN_DEPENDS= font-awesome>0:x11-fonts/font-awesome MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/graphics/vulkan-caps-viewer/Makefile b/graphics/vulkan-caps-viewer/Makefile index f2a7d8cb8714..3cc2f932c0f6 100644 --- a/graphics/vulkan-caps-viewer/Makefile +++ b/graphics/vulkan-caps-viewer/Makefile @@ -1,45 +1,45 @@ PORTNAME= vulkan-caps-viewer DISTVERSION= 3.23 -CATEGORIES= graphics +CATEGORIES= graphics wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Vulkan Hardware Capability Viewer LICENSE= LGPL3 # based on license headers LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader USES= compiler:c++11-lib pkgconfig qmake qt:5 USE_GITHUB= yes USE_QT= qmake_build buildtools_build core gui network widgets GH_ACCOUNT= SaschaWillems GH_PROJECT= VulkanCapsViewer GH_TUPLE= KhronosGroup:Vulkan-Headers:v1.3.218:vkheaders/Vulkan-Headers LDFLAGS+= -Wl,--as-needed # avoid overlinking (GL, wayland) PLIST_FILES= bin/vulkanCapsViewer \ share/applications/vulkanCapsViewer.desktop \ share/icons/hicolor/256x256/apps/vulkanCapsViewer.png OPTIONS_DEFINE= WAYLAND X11 OPTIONS_DEFAULT=WAYLAND X11 WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_USE= QT=wayland_build WAYLAND_QMAKE_ON= DEFINES+=WAYLAND X11_USE= QT=x11extras X11_QMAKE_ON= DEFINES+=X11 post-patch: # Hint qmake how to install generated file @${CP} ${WRKSRC}/gfx/android_icon_256.png \ ${WRKSRC}/vulkanCapsViewer.png # Avoid platform whitelists for generic non-Windows code @${REINPLACE_CMD} -Ee 's/linux/unix/' \ -e '/bin|share/s,/usr,$$$$PREFIX,' \ ${WRKSRC}/vulkanCapsViewer.pro @${REINPLACE_CMD} -e 's/__linux/__unix/' \ ${WRKSRC}/vulkancapsviewer.cpp \ ${WRKSRC}/Vulkan-Headers/include/vulkan/vulkan.hpp .include diff --git a/graphics/vulkan-tools/Makefile b/graphics/vulkan-tools/Makefile index 93fbdae92cad..a29ac340f99c 100644 --- a/graphics/vulkan-tools/Makefile +++ b/graphics/vulkan-tools/Makefile @@ -1,61 +1,61 @@ PORTNAME= vulkan-tools DISTVERSIONPREFIX= v DISTVERSION= 1.3.221 -CATEGORIES= graphics +CATEGORIES= graphics wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Tools and demos for the Vulkan graphics API LICENSE= APACHE20 BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader USES= alias cmake compiler:c++11-lib pkgconfig python:3.4+,build USE_GITHUB= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= Vulkan-Tools CMAKE_OFF= BUILD_CUBE BUILD_ICD CMAKE_ARGS= -DGLSLANG_INSTALL_DIR:PATH="${LOCALBASE}" OPTIONS_DEFINE= WAYLAND XCB XLIB OPTIONS_DEFAULT= WAYLAND XCB XLIB OPTIONS_SLAVE= DISPLAY OPTIONS_SUB= yes WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= BUILD_WSI_WAYLAND_SUPPORT XCB_DESC= ${X11_DESC} via libxcb XCB_USES= xorg XCB_USE= XORG=xcb XCB_CMAKE_BOOL= BUILD_WSI_XCB_SUPPORT XLIB_DESC= ${X11_DESC} via libX11 XLIB_USES= xorg XLIB_USE= XORG=x11,xext,ice,sm XLIB_CMAKE_BOOL= BUILD_WSI_XLIB_SUPPORT # https://github.com/KhronosGroup/Vulkan-Tools/issues/307 .for _wsi in display wayland xcb xlib do-configure-${_wsi:tu}-on: ${_wsi}-configure ${_wsi}-configure: @${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_SOURCE_PATH} \ -DBUILD_CUBE:BOOL=ON -DBUILD_VULKANINFO:BOOL=OFF \ -DCUBE_WSI_SELECTION:STRING=${_wsi:tu} \ -B${CONFIGURE_WRKSRC}-${_wsi} do-build-${_wsi:tu}-on: ${_wsi}-build ${_wsi}-build: @${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --build ${BUILD_WRKSRC}-${_wsi} do-install-${_wsi:tu}-on: ${_wsi}-install ${_wsi}-install: . for _file in vkcube vkcubepp ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}-${_wsi}/cube/${_file} \ ${STAGEDIR}${PREFIX}/bin/${_file}-${_wsi} . endfor .endfor .include diff --git a/graphics/wayland-utils/Makefile b/graphics/wayland-utils/Makefile index 2f88322e35a8..ef16b5cf6252 100644 --- a/graphics/wayland-utils/Makefile +++ b/graphics/wayland-utils/Makefile @@ -1,26 +1,26 @@ PORTNAME= wayland-utils DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 1.0.0 -CATEGORIES= graphics +CATEGORIES= graphics wayland PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= d367b894f9c8.patch:-p1 # https://gitlab.freedesktop.org/wayland/wayland-utils/-/merge_requests/1 MAINTAINER= jbeich@FreeBSD.org COMMENT= Display information about protocols supported by Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= wayland-protocols>=1.18:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= meson pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= wayland GL_COMMIT= 1664a20eb1dfd830113a38d02ad0937de73e4f90 PLIST_FILES= bin/wayland-info \ man/man1/wayland-info.1.gz .include diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index f423abb5f29b..0288cf646e71 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,74 +1,74 @@ # Created by: Joe Marcus Clarke PORTNAME= thunderbird DISTVERSION= 91.11.0 PORTREVISION= 2 -CATEGORIES= mail news net-im +CATEGORIES= mail news net-im wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build2/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Mozilla Thunderbird is standalone mail and news that stands above BUILD_DEPENDS= nspr>=4.32:devel/nspr \ nss>=3.68:security/nss \ icu>=67.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=2.8.1:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.37:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ libvpx>=1.8.2:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf2.13:devel/autoconf2.13 \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip LIB_DEPENDS= libjson-c.so:devel/json-c \ libbotan-2.so:security/botan2 SSP_UNSAFE= yes USE_GECKO= gecko USE_MOZILLA= -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 USES= tar:xz MOZ_OPTIONS= --enable-application=comm/mail --enable-official-branding MOZ_OPTIONS+= --with-system-bz2 --with-system-jsonc --with-system-botan MOZ_MK_OPTIONS= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 MOZ_EXPORT= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 PORTNAME_ICON= ${MOZILLA}.png PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png SYSTEM_PREFS= ${FAKEDIR}/lib/${PORTNAME}/defaults/pref/${PORTNAME}.js OPTIONS_DEFAULT=CANBERRA .include "${.CURDIR}/../../www/firefox/Makefile.options" .include post-extract: @${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON:R}|;s|@MOZILLA@|${MOZILLA}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/comm/mail/app/nsMailApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf2.13) (cd ${MOZSRC} && ${LOCALBASE}/bin/autoconf2.13) (cd ${MOZSRC}/js/src/ && ${LOCALBASE}/bin/autoconf2.13) port-pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/defaults post-install: ${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${LN} -sf ${PORTNAME_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME_ICON} .include diff --git a/multimedia/kooha/Makefile b/multimedia/kooha/Makefile index 59d0ea36982d..b2fbfdb9d5fe 100644 --- a/multimedia/kooha/Makefile +++ b/multimedia/kooha/Makefile @@ -1,223 +1,223 @@ PORTNAME= kooha DISTVERSIONPREFIX= v DISTVERSION= 2.0.1 PORTREVISION= 9 -CATEGORIES= multimedia +CATEGORIES= multimedia wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Elegantly record your screen LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libgraphene-1.0.so:graphics/graphene USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix USE_GITHUB= yes USE_GNOME= gtk40 libadwaita USE_GSTREAMER= good opus pulse vpx GH_ACCOUNT= SeaDve GH_PROJECT= Kooha SHEBANG_FILES= build-aux/meson_post_install.py MAKE_ENV= ${CARGO_ENV} GLIB_SCHEMAS= io.github.seadve.Kooha.gschema.xml CARGO_CRATES= aho-corasick-0.7.18 \ anyhow-1.0.44 \ approx-0.5.0 \ ashpd-0.2.0-alpha-4 \ async-broadcast-0.3.4 \ async-channel-1.6.1 \ async-executor-1.4.1 \ async-io-1.6.0 \ async-lock-2.4.0 \ async-recursion-0.3.2 \ async-task-4.0.3 \ atomic_refcell-0.1.7 \ atty-0.2.14 \ autocfg-1.0.1 \ bitflags-1.2.1 \ block-0.1.6 \ byteorder-1.4.3 \ cache-padded-1.1.1 \ cairo-rs-0.14.7 \ cairo-sys-rs-0.14.0 \ cc-1.0.70 \ cfg-expr-0.8.1 \ cfg-expr-0.9.0 \ cfg-if-1.0.0 \ chrono-0.4.19 \ color_quant-1.1.0 \ concurrent-queue-1.2.2 \ derivative-2.2.0 \ dlib-0.5.0 \ downcast-rs-1.2.0 \ easy-parallel-3.1.0 \ either-1.6.1 \ enumflags2-0.6.4 \ enumflags2_derive-0.6.4 \ env_logger-0.7.1 \ event-listener-2.5.1 \ fastrand-1.5.0 \ field-offset-0.3.4 \ futures-0.3.17 \ futures-channel-0.3.17 \ futures-core-0.3.17 \ futures-executor-0.3.17 \ futures-io-0.3.17 \ futures-lite-1.12.0 \ futures-macro-0.3.17 \ futures-sink-0.3.17 \ futures-task-0.3.17 \ futures-util-0.3.17 \ gdk-pixbuf-0.14.0 \ gdk-pixbuf-sys-0.14.0 \ gdk4-0.3.0 \ gdk4-sys-0.3.0 \ gdk4-wayland-0.3.0 \ gdk4-wayland-sys-0.3.0 \ gdk4-x11-0.3.0 \ gdk4-x11-sys-0.3.0 \ getrandom-0.2.3 \ gettext-rs-0.7.0 \ gettext-sys-0.21.2 \ gif-0.11.2 \ gio-0.14.6 \ gio-sys-0.14.0 \ glib-0.14.5 \ glib-macros-0.14.1 \ glib-sys-0.14.0 \ gobject-sys-0.14.0 \ graphene-rs-0.14.0 \ graphene-sys-0.14.0 \ gsk4-0.3.0 \ gsk4-sys-0.3.0 \ gst-plugin-gif-0.7.2 \ gst-plugin-version-helper-0.7.1 \ gstreamer-0.17.4 \ gstreamer-base-0.17.2 \ gstreamer-base-sys-0.17.0 \ gstreamer-sys-0.17.3 \ gstreamer-video-0.17.2 \ gstreamer-video-sys-0.17.0 \ gtk4-0.3.0 \ gtk4-macros-0.3.0 \ gtk4-sys-0.3.0 \ heck-0.3.3 \ hermit-abi-0.1.19 \ hex-0.4.3 \ humantime-1.3.0 \ instant-0.1.10 \ itertools-0.10.1 \ lazy_static-1.4.0 \ libadwaita-0.1.0-alpha-5 \ libadwaita-sys-0.1.0-alpha-5 \ libc-0.2.102 \ libloading-0.7.0 \ libpulse-binding-2.25.0 \ libpulse-sys-1.19.2 \ locale_config-0.3.0 \ log-0.4.14 \ malloc_buf-0.0.6 \ memchr-2.4.1 \ memoffset-0.6.4 \ muldiv-1.0.0 \ nix-0.20.1 \ nix-0.21.1 \ num-derive-0.3.3 \ num-integer-0.1.44 \ num-rational-0.4.0 \ num-traits-0.2.14 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ once_cell-1.8.0 \ pango-0.14.3 \ pango-sys-0.14.0 \ parking-2.0.0 \ paste-1.0.5 \ pest-2.1.3 \ pin-project-lite-0.2.7 \ pin-utils-0.1.0 \ pkg-config-0.3.19 \ polling-2.1.0 \ ppv-lite86-0.2.10 \ pretty-hex-0.2.1 \ pretty_env_logger-0.4.0 \ proc-macro-crate-1.1.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro-nested-0.1.7 \ proc-macro2-1.0.29 \ pulsectl-rs-0.3.2 \ quick-error-1.2.3 \ quote-1.0.9 \ rand-0.8.4 \ rand_chacha-0.3.1 \ rand_core-0.6.3 \ rand_hc-0.3.1 \ regex-1.5.4 \ regex-syntax-0.6.25 \ rustc_version-0.3.3 \ scoped-tls-1.0.0 \ semver-0.11.0 \ semver-parser-0.10.2 \ serde-1.0.130 \ serde_derive-1.0.130 \ serde_repr-0.1.7 \ sha1-0.6.0 \ slab-0.4.4 \ slotmap-1.0.6 \ smallvec-1.6.1 \ socket2-0.4.2 \ static_assertions-1.1.0 \ strum-0.21.0 \ strum_macros-0.21.1 \ syn-1.0.76 \ system-deps-3.2.0 \ system-deps-4.0.0 \ temp-dir-0.1.11 \ termcolor-1.1.2 \ thiserror-1.0.29 \ thiserror-impl-1.0.29 \ time-0.1.43 \ toml-0.5.8 \ tracing-0.1.28 \ tracing-attributes-0.1.16 \ tracing-core-0.1.20 \ ucd-trie-0.1.3 \ unicode-segmentation-1.8.0 \ unicode-xid-0.2.2 \ version-compare-0.0.11 \ version_check-0.9.3 \ waker-fn-1.1.0 \ wasi-0.10.2+wasi-snapshot-preview1 \ wayland-client-0.28.6 \ wayland-commons-0.28.6 \ wayland-scanner-0.28.6 \ wayland-sys-0.28.6 \ weezl-0.1.5 \ wepoll-ffi-0.1.2 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ x11-2.19.0 \ xml-rs-0.8.4 \ zbus-2.0.0-beta.6 \ zbus_macros-2.0.0-beta.6 \ zbus_names-1.0.0 \ zvariant-2.8.0 \ zvariant_derive-2.8.0 CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no post-patch: # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e '/cargo/s/ --/&verbose&verbose&/' \ ${WRKSRC}/build-aux/cargo.sh .include diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 4ab296bdda3b..4d7d78024639 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,215 +1,215 @@ # Created by: Grzegorz Blach PORTNAME= mpv DISTVERSIONPREFIX= v DISTVERSION= 0.34.1 PORTREVISION= 2 PORTEPOCH= 1 -CATEGORIES= multimedia audio +CATEGORIES= multimedia audio wayland MASTER_SITES= https://waf.io/:waf DISTFILES= ${WAF_RELEASE}${EXTRACT_SUFX}:waf PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= b030cfe05f58.patch:-p1 # https://github.com/mpv-player/mpv/pull/9440 PATCHFILES+= edf0039d7621.patch:-p1 # https://github.com/mpv-player/mpv/pull/9298 PATCHFILES+= 5319731526fb.patch:-p1 # https://github.com/mpv-player/mpv/pull/9298 PATCHFILES+= 82390d212123.patch:-p1 # https://github.com/mpv-player/mpv/pull/9587 PATCHFILES+= 22b0bac28e6c.patch:-p1 # https://github.com/mpv-player/mpv/pull/9587 PATCHFILES+= b7a71ea70671.patch:-p1 # https://github.com/mpv-player/mpv/pull/9734 PATCHFILES+= 09343bc86e8b.patch:-p1 # https://github.com/mpv-player/mpv/pull/9734 PATCHFILES+= bc9805c71a67.patch:-p1 # https://github.com/mpv-player/mpv/pull/9830 MAINTAINER= multimedia@FreeBSD.org COMMENT= Free and open-source general-purpose video player LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ffmpeg>=4.0.2,1:multimedia/ffmpeg LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libass.so:multimedia/libass USES= compiler:c11 cpe desktop-file-utils iconv jpeg localbase:ldflags \ pkgconfig python:build tar:bz2 waf USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= mpv-player # Keep in sync with bootstrap.py to avoid regressions WAF_CMD= ${WRKDIR}/${WAF_RELEASE}/waf-light WAF_RELEASE= waf-2.0.20 CONFIGURE_ENV= BIN_PYTHON="${PYTHON_CMD}" CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \ --htmldir="${DOCSDIR}/html" \ --mandir="${MANPREFIX}/man" \ --disable-debug-build \ --disable-optimize \ --disable-pdf \ --disable-rubberband \ --disable-shaderc \ --disable-vapoursynth \ --enable-libmpv-shared OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 MANPAGES MUJS TEST UCHARDET EXAMPLES ZIMG OPTIONS_DEFAULT= ARCHIVE DVDNAV LUA MANPAGES OPENGL UCHARDET \ V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDLP OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L OPTIONS_GROUP_VO= CACA OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK OPENAL PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_RADIO= YOUTUBE OPTIONS_RADIO_YOUTUBE= YTDL YTDLP 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 PIPEWIRE_DESC= Pipewire sound server support SIXEL_DESC= Sixel graphics support UCHARDET_DESC= Guess subtitle encoding via uchardet VULKAN_DESC= Vulkan output support YTDLP_DESC= Install yt-dlp (youtube-dl fork) YTDL_DESC= Install youtube-dl 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_CONFIGURE_OFF= --disable-alsa ARCHIVE_USES= libarchive ARCHIVE_CONFIGURE_ON= --enable-libarchive CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_OFF= --disable-caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ON= --enable-cdda DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_CONFIGURE_ON= --enable-html DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav \ libdvdread.so:multimedia/libdvdread DVDNAV_CONFIGURE_ON= --enable-dvdnav JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_OFF= --disable-lcms2 LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ON= --enable-libbluray LIBBLURAY_CONFIGURE_OFF= --disable-libbluray LUA_USES= lua:51-52 LUA_CONFIGURE_ON= --lua=${LUA_VER_STR}fbsd LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_CONFIGURE_ON= --lua=luajit LUA_NONE_CONFIGURE_ON= --disable-lua MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_CONFIGURE_OFF= --disable-manpage MUJS_LIB_DEPENDS= libmujs.so:lang/mujs MUJS_CONFIGURE_ON= --enable-javascript MUJS_CONFIGURE_OFF= --disable-javascript OPENAL_CONFIGURE_ENABLE= openal OPENAL_USES= openal OPENAL_LDFLAGS= ${_OPENAL_LDFLAGS_${ARCH}} _OPENAL_LDFLAGS_i386= -Wl,-znotext OPENGL_USES= gl OPENGL_USE= GL=egl,gbm OPENGL_CONFIGURE_OFF= --disable-gl PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CONFIGURE_OFF= --disable-pipewire PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ON= --enable-sdl2 SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_CONFIGURE_OFF= --disable-sixel SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --enable-sndio SNDIO_CONFIGURE_OFF= --disable-sndio TEST_CONFIGURE_ON= --enable-tests UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_CONFIGURE_OFF= --disable-uchardet V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/dmx.h:multimedia/v4l_compat V4L_CONFIGURE_ON= --enable-dvbin VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_OFF= --disable-vaapi VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libplacebo.so:graphics/libplacebo \ libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_OFF= --disable-vulkan --disable-libplacebo WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.14: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_CONFIGURE_OFF= --disable-wayland WAYLAND_IMPLIES= OPENGL X11_USES= gnome xorg X11_USE= XORG=x11,xext,xinerama,xorgproto,xrandr,xscrnsaver,xv,xxf86vm X11_CONFIGURE_OFF= --disable-x11 YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp YTDL_RUN_DEPENDS= youtube-dl:www/youtube_dl ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_OFF= --disable-zimg .include .if ${PORT_OPTIONS:MVAAPI} && ${PORT_OPTIONS:MWAYLAND} CONFIGURE_ARGS+= --enable-vaapi-wayland LIB_DEPENDS+= libva-wayland.so:multimedia/libva .else CONFIGURE_ARGS+= --disable-vaapi-wayland .endif post-patch: @${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ ${WRKSRC}/wscript_build.py post-patch-MANPAGES-on: @${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' pre-install-TEST-on: @(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} build/mpv --unittest=all-simple) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpv.so .include diff --git a/multimedia/mpvpaper/Makefile b/multimedia/mpvpaper/Makefile index 4af7b444eb11..0470b6fd1a24 100644 --- a/multimedia/mpvpaper/Makefile +++ b/multimedia/mpvpaper/Makefile @@ -1,29 +1,29 @@ PORTNAME= mpvpaper DISTVERSION= 1.2.1 -CATEGORIES= multimedia +CATEGORIES= multimedia wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Video wallpaper for wlroots compositors LICENSE= GPLv3 BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libmpv.so:multimedia/mpv USES= compiler:c11 gl meson pkgconfig USE_GITHUB= yes USE_GL= egl GH_ACCOUNT= GhostNaN PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}-holder \ share/man/man1/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} 's/pidof/pgrep/' ${WRKSRC}/src/main.c post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \ ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 .include diff --git a/multimedia/wlrobs/Makefile b/multimedia/wlrobs/Makefile index a2638206d4c7..34f770a0581d 100644 --- a/multimedia/wlrobs/Makefile +++ b/multimedia/wlrobs/Makefile @@ -1,22 +1,22 @@ PORTNAME= wlrobs DISTVERSIONPREFIX= v PORTVERSION= 1.0 PORTREVISION= 2 -CATEGORIES= multimedia +CATEGORIES= multimedia wayland MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL:C/.*-//}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland screen capture plugin for obs-studio LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libobs.so:multimedia/obs-studio USES= compiler:c11 gl meson pkgconfig USE_GL= egl DATADIR= ${PREFIX}/lib/obs-plugins PORTDATA= lib${PORTNAME}.so .include diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile index 0ed795d58cb2..8dc919a8e11e 100644 --- a/net/freerdp/Makefile +++ b/net/freerdp/Makefile @@ -1,155 +1,155 @@ # Created by: Alexander Logvinov PORTNAME= freerdp DISTVERSION= 2.7.0 -CATEGORIES= net comms +CATEGORIES= net comms wayland MASTER_SITES= https://pub.freerdp.com/releases/ \ https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/ #PATCH_SITES= https://github.com/FreeRDP/FreeRDP/commit/ MAINTAINER= vvd@unislabs.com COMMENT= Free implementation of Remote Desktop Protocol LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= libressl-devel BROKEN_SSL_REASON_libressl-devel= fails to compile: no member named 'alert_dispatch' in 'struct ssl3_state_st' LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim USES= alias cmake compiler:c++11-lib cpe gettext localbase pathfix pkgconfig ssl USE_LDCONFIG= yes PATCHVERSION= ${PORTVERSION} MAJORVERSION= ${PORTVERSION:R:R} CMAKE_ARGS+= ${CMAKE_ARGS_${ARCH}} CMAKE_ON= WITH_CHANNELS WITH_OPENSSL WITH_OSS WITH_ZLIB CHANNEL_URBDRC_CLIENT CMAKE_OFF= WITH_DSP_EXPERIMENTAL WITH_GPROF WITH_GSTREAMER_0_10 WITH_IPP \ WITH_LIBSYSTEMD WITH_MBEDTLS WITH_OPENCL WITH_OPENSLES WITH_PROFILER \ WITH_SAMPLE WITH_SANITIZE_ADDRESS WITH_SANITIZE_MEMORY \ WITH_SANITIZE_THREAD WITH_SERVER WITH_SERVER_INTERFACE \ WITH_SMARTCARD_INSPECT WITH_THIRD_PARTY WITH_VALGRIND_MEMCHECK CMAKE_ARGS_aarch64+= -DWITH_NEON=ON CFLAGS_aarch64+= -D__ARM_NEON__=__ARM_NEON # clang PLIST_SUB+= PATCHVERSION="${PATCHVERSION}" PLIST_SUB+= MAJORVERSION="${MAJORVERSION}" OPTIONS_DEFINE= ALSA BROKENFOCUS CUPS FAAC FAAD FFMPEG GSM GSTREAMER \ ICU JPEG KERBEROS LAME MANPAGES OPENH264 PCSC \ PULSEAUDIO SOXR WAYLAND X11 OPTIONS_DEFAULT= CUPS GSTREAMER ICU KERBEROS MANPAGES SWSCALE WAYLAND X11 OPTIONS_RADIO= SCALE OPTIONS_RADIO_SCALE= CAIRO SWSCALE OPTIONS_SUB= yes OPTIONS_DEFINE_armv6= NEON OPTIONS_DEFINE_armv7= NEON OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA BROKENFOCUS_DESC= Work around focus bug in some WMs (PR \#254908) BROKENFOCUS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-focusbug.diff CAIRO_DESC= Use CAIRO image library for screen resizing CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_CMAKE_BOOL= WITH_CAIRO CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CMAKE_BOOL= WITH_FAAC FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CMAKE_BOOL= WITH_FAAD2 FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG WITH_DSP_FFMPEG GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CMAKE_BOOL= WITH_GSM GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 CHANNEL_TSMF GSTREAMER_USES= gnome gstreamer xorg GSTREAMER_USE= gnome=glib20 xorg=x11,xext,xorgproto,xrandr GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 ICU_LIB_DEPENDS= libicuuc.so:devel/icu ICU_CMAKE_BOOL= WITH_ICU JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG KERBEROS_CMAKE_BOOL= WITH_GSSAPI_HEIMDAL LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CMAKE_BOOL= WITH_LAME MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto MANPAGES_CMAKE_BOOL= WITH_MANPAGES MANPAGES_CMAKE_OFF= -DWITH_MANPAGES=OFF NEON_DESC= Enable Media Processing Engine instructions NEON_CMAKE_BOOL= WITH_NEON .if ! ${CFLAGS:M-march*} NEON_CFLAGS= -march=armv7-a .endif OPENH264_DESC= H.264 video codec support via OpenH264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CMAKE_BOOL= WITH_OPENH264 PCSC_DESC= Smart card support (smart card device redirection) PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite PCSC_CMAKE_BOOL= WITH_PCSC PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= WITH_SOXR SSE_CMAKE_BOOL= WITH_SSE2 SWSCALE_DESC= Use SWScale image library for screen resizing (recommended) SWSCALE_LIB_DEPENDS= libswscale.so:multimedia/ffmpeg SWSCALE_CMAKE_BOOL= WITH_SWSCALE WAYLAND_DESC= Build FreeRDP Wayland client WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= WITH_WAYLAND X11_DESC= Build FreeRDP X11 client X11_CMAKE_ON= -DWITH_X11:BOOL=ON -DWITH_XCURSOR:BOOL=ON \ -DWITH_XEXT:BOOL=ON -DWITH_XFIXES:BOOL=ON \ -DWITH_XI:BOOL=ON -DWITH_XINERAMA:BOOL=ON \ -DWITH_XKBFILE:BOOL=ON -DWITH_XRANDR:BOOL=ON \ -DWITH_XRENDER:BOOL=ON -DWITH_XSHM:BOOL=ON \ -DWITH_XV:BOOL=ON X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF -DWITH_XKBFILE:BOOL=OFF X11_USES= xorg X11_USE= xorg=x11,xcursor,xext,xorgproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv post-patch: @${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ ${WRKSRC}/cmake/FindGSM.cmake \ ${WRKSRC}/libfreerdp/codec/dsp.c pre-configure: ${CP} ${FILESDIR}/mntent.h ${WRKSRC}/rdtk/include ${CP} ${FILESDIR}/mntent_compat.c ${WRKSRC}/channels/rdpdr/client .include diff --git a/net/waypipe/Makefile b/net/waypipe/Makefile index 584afa7b11ae..914b86a6e1fa 100644 --- a/net/waypipe/Makefile +++ b/net/waypipe/Makefile @@ -1,50 +1,50 @@ PORTNAME= waypipe DISTVERSIONPREFIX= v DISTVERSION= 0.8.2 -CATEGORIES= net +CATEGORIES= net wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Network transparency with Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 localbase:ldflags meson pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= mstoeckl GL_COMMIT= a11a59c58bee3972ce9e1e18731eba28cc0a8f0a PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD OPTIONS_DEFAULT=FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= with_video LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_MESON_ENABLED= with_lz4 MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz OPENGL_USES= gl OPENGL_USE= GL=gbm OPENGL_LIB_DEPENDS= libdrm.so:graphics/libdrm OPENGL_MESON_ENABLED= with_dmabuf VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_MESON_ENABLED= with_vaapi VAAPI_IMPLIES= FFMPEG ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ENABLED= with_zstd post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/net/wayvnc/Makefile b/net/wayvnc/Makefile index 237e4955d88b..d2a1e878c190 100644 --- a/net/wayvnc/Makefile +++ b/net/wayvnc/Makefile @@ -1,43 +1,43 @@ PORTNAME= wayvnc DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 -CATEGORIES= net +CATEGORIES= net wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= VNC server for wlroots-based compositors LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libaml.so:devel/aml \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libneatvnc.so:net/neatvnc \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_GITHUB= yes USE_XORG= pixman USE_LDCONFIG= yes GH_ACCOUNT= any1 PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES OPENGL OPTIONS_DEFAULT=MANPAGES OPENGL MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz OPENGL_USES= gl OPENGL_USE= GL=gbm OPENGL_MESON_ENABLED= screencopy-dmabuf post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/net/wlvncc/Makefile b/net/wlvncc/Makefile index ba54bab6e801..b1a77dedd7fc 100644 --- a/net/wlvncc/Makefile +++ b/net/wlvncc/Makefile @@ -1,32 +1,32 @@ PORTNAME= wlvncc PORTVERSION= s20220710 -CATEGORIES= net +CATEGORIES= net wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland Native VNC Client LICENSE= GPLv2+ ISCL LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL LICENSE_FILE_ISCL= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm LIB_DEPENDS= liblzo2.so:archivers/lzo2 \ libaml.so:devel/aml \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libavcodec.so:multimedia/ffmpeg \ libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl jpeg meson pkgconfig xorg USE_GITHUB= yes USE_GL= egl gbm glesv2 USE_XORG= pixman GH_ACCOUNT= any1 GH_TAGNAME= df203e5 PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/dunst/Makefile b/sysutils/dunst/Makefile index a06c70646427..7a21d6566431 100644 --- a/sysutils/dunst/Makefile +++ b/sysutils/dunst/Makefile @@ -1,68 +1,68 @@ # Created by: Rod Person PORTNAME= dunst DISTVERSIONPREFIX= v DISTVERSION= 1.9.0 -CATEGORIES= sysutils +CATEGORIES= sysutils wayland MAINTAINER= dmgk@FreeBSD.org COMMENT= Lightweight notification daemon LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libdbus-1.so:devel/dbus \ libharfbuzz.so:print/harfbuzz USES= gmake gnome perl5 pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= dunst-project USE_GNOME= cairo gdkpixbuf2 pango USE_PERL5= build USE_XORG= x11 xext xinerama xrandr xscrnsaver MAKE_ARGS= MANPREFIX="${PREFIX}/man" SYSCONFDIR="${PREFIX}/etc" SYSTEMD=0 OPTIONS_DEFINE= DUNSTIFY WAYLAND OPTIONS_DEFAULT= DUNSTIFY WAYLAND DUNSTIFY_DESC= Install dunstify (alternative to the notify-send) DUNSTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify DUNSTIFY_PLIST_FILES= bin/dunstify WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MAKE_ENV_OFF= WAYLAND=0 post-patch: @${REINPLACE_CMD} \ -e 's,/usr/bin,${PREFIX}/bin,g' \ -e 's,/usr/share,${PREFIX}/share,g' \ -e 's,/etc,${PREFIX}&,g' \ ${WRKSRC}/docs/dunst.?.pod \ ${WRKSRC}/dunstrc \ ${WRKSRC}/src/settings_data.h \ ${WRKSRC}/src/icon-lookup.c post-patch-DUNSTIFY-off: @${REINPLACE_CMD} -e '/^all:/s/dunstify//' \ -e '/^install:/s/install-dunstify//' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} '/libnotify/d' ${WRKSRC}/config.mk pre-install: @${MKDIR} ${STAGEDIR}${ETCDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst ${MV} ${STAGEDIR}/${ETCDIR}/dunstrc ${STAGEDIR}/${ETCDIR}/dunstrc.sample post-install-DUNSTIFY-on: ${INSTALL_PROGRAM} ${WRKSRC}/dunstify ${STAGEDIR}${PREFIX}/bin .include diff --git a/sysutils/pam_xdg/Makefile b/sysutils/pam_xdg/Makefile index 2a2df336658b..d5a9d7c1f606 100644 --- a/sysutils/pam_xdg/Makefile +++ b/sysutils/pam_xdg/Makefile @@ -1,29 +1,29 @@ PORTNAME= pam_xdg PORTVERSION= s20210916 PORTREVISION= 1 -CATEGORIES= sysutils +CATEGORIES= sysutils wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= PAM module to manage XDG Base Directories LICENSE= ISCL USES= uidfix USE_GITHUB= yes GH_ACCOUNT= sdaoden GH_PROJECT= s-toolbox GH_TAGNAME= cdbe3ce PLIST_FILES= lib/${PORTNAME}.so \ share/man/man8/${PORTNAME}.8.gz # pam_xdg.makefile is too crufty, so roll our own MAKEFILE= bsd.lib.mk MAKE_ARGS+= SHLIB_NAME="${PORTNAME}.so" MAN="${PORTNAME}.8" \ SRCS="${PORTNAME}.c" LDADD="-lpam" \ LIBDIR="${PREFIX}/lib" SHAREDIR="${PREFIX}/share" CFLAGS+= -DXDG_CONFIG_DIR="${PREFIX}/etc" \ -DXDG_DATA_DIR_LOCAL="${PREFIX}" \ -DXDG_RUNTIME_DIR_OUTER="/var/run" LDFLAGS+= -Wl,-z,defs .include diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 6f1dbf844ec7..b813e262f257 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,348 +1,348 @@ # Created by: Florent Thoumie PORTNAME= chromium PORTVERSION= 103.0.5060.134 -CATEGORIES= www +CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ chrome-linux-${PORTVERSION}-llvm13.profdata${EXTRACT_SUFX}:external MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libevent.so:devel/libevent \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gnome iconv jpeg \ localbase:ldflags ninja perl5 pkgconfig python:3.7+,build shebangfix \ tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl USE_GNOME= atk dconf gdkpixbuf2 glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_hangout_services_extension=true \ enable_js_type_check=false \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ enable_wmax_tokens=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=false \ use_gnome_keyring=false \ use_lld=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libjpeg=true \ use_system_wayland_scanner=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles # FreeBSD Chromium Api Key # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO TEST OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=ffmpeg_branding="Chrome" \ GN_ARGS+=proprietary_codecs=true CODECS_VARS_OFF= GN_ARGS+=ffmpeg_branding="Chromium" \ GN_ARGS+=proprietary_codecs=false CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA or PulseAudio. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .include "Makefile.tests" TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} \ test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz:external TEST_ALL_TARGET= ${TEST_TARGETS} .include .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif .if ${COMPILER_VERSION} < 130 LLVM_DEFAULT= 13 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} .else BINARY_ALIAS+= ar=/usr/bin/llvm-ar \ nm=/usr/bin/llvm-nm .endif # swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " .else PLIST_SUB+= NOT_AARCH64="" .endif # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} post-extract-TEST-on: @${MKDIR} ${WRKSRC}/third_party/test_fonts/test_fonts @${MV} ${WRKDIR}/test_fonts ${WRKSRC}/third_party/test_fonts/ pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ flac fontconfig freetype harfbuzz-ng icu libdrm libevent libpng \ libusb libwebp libxml libxslt openh264 opus snappy || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it .for brand in Chrome Chromium ${CP} -R \ ${WRKSRC}/third_party/ffmpeg/chromium/config/${brand}/linux/ \ ${WRKSRC}/third_party/ffmpeg/chromium/config/${brand}/freebsd .endfor do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${MANPREFIX}/man/man1/chrome.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Chromium Web Browser,g' \ ${STAGEDIR}${MANPREFIX}/man/man1/chrome.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${PREFIX}/bin/chromedriver do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .include diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 66f1daa9591b..260813affecb 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -1,63 +1,63 @@ # Created by: Alan Eldridge PORTNAME= firefox DISTVERSION= 91.12.0 PORTEPOCH= 1 -CATEGORIES= www +CATEGORIES= www wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source PKGNAMESUFFIX= -esr DISTFILES= ${DISTNAME}esr.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.32:devel/nspr \ nss>=3.68:security/nss \ icu>=67.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=2.8.1:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.37:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ libvpx>=1.8.2:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf2.13:devel/autoconf2.13 \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip USE_GECKO= gecko CPE_PRODUCT= ${PORTNAME}_esr CONFLICTS_INSTALL= firefox USE_MOZILLA= -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 USES= tar:xz FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/${MOZILLA}-snap/${MOZILLA}.desktop MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding .include "${.CURDIR}/../../www/firefox/Makefile.options" post-patch: @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ ${FIREFOX_DESKTOP} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf2.13) post-install: ${INSTALL_DATA} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include diff --git a/www/firefox/Makefile b/www/firefox/Makefile index e996d41ba97c..dcf6ad19c182 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,77 +1,77 @@ # Created by: Alan Eldridge PORTNAME= firefox DISTVERSION= 103.0 PORTEPOCH= 2 -CATEGORIES= www +CATEGORIES= www wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.32:devel/nspr \ nss>=3.80:security/nss \ icu>=71.1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=4.3.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.37:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ libvpx>=1.11.0:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf2.13:devel/autoconf2.13 \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip USE_GECKO= gecko CONFLICTS_INSTALL= firefox-esr USE_MOZILLA= -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 # work around bindgen not finding ICU, e.g. # dist/include/mozilla/intl/ICU4CGlue.h:8:10: fatal error: 'unicode/uenum.h' file not found, err: true CONFIGURE_ENV+= BINDGEN_CFLAGS="-I${LOCALBASE}/include" USES= tar:xz # helpful when testing beta WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/${MOZILLA}-snap/${MOZILLA}.desktop MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding .include "${.CURDIR}/../../www/firefox/Makefile.options" .include .if ${ARCH} == powerpc64 MOZ_OPTIONS+= --disable-webrtc --without-wasm-sandboxed-libraries .else BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx \ ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc \ ${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/clang/${LLVM_VERSION}/lib/wasi/libclang_rt.builtins-wasm32.a:devel/wasi-compiler-rt${LLVM_DEFAULT} MOZ_OPTIONS+= --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot .endif post-patch: @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ ${FIREFOX_DESKTOP} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf2.13) post-install: ${INSTALL_DATA} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include diff --git a/www/iridium/Makefile b/www/iridium/Makefile index ce3e4ddbc024..f1b7509700c9 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,318 +1,318 @@ PORTNAME= iridium PORTVERSION= 2022.04.100.0 PORTREVISION= 5 -CATEGORIES= www +CATEGORIES= www wayland MASTER_SITES= https://downloads.iridiumbrowser.de/source/ PKGNAMESUFFIX= -browser DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= chromium@FreeBSD.org COMMENT= Iridium browser LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libevent.so:devel/libevent \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gnome jpeg localbase:ldflags \ ninja perl5 pkgconfig python:3.7+,build shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl USE_GNOME= atk dconf gdkpixbuf2 glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_hangout_services_extension=true \ enable_js_type_check=false \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ enable_wmax_tokens=false \ fatal_linker_warnings=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=false \ use_gnome_keyring=false \ use_lld=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libjpeg=true \ use_system_wayland_scanner=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles SUB_FILES= iridium-browser.desktop iridium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG KERBEROS LTO OPTIONS_DEFAULT= CODECS CUPS KERBEROS SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=ffmpeg_branding="Chrome" \ GN_ARGS+=proprietary_codecs=true CODECS_VARS_OFF= GN_ARGS+=ffmpeg_branding="Chromium" \ GN_ARGS+=proprietary_codecs=false CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA or PulseAudio. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .include .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif .if ${COMPILER_VERSION} < 130 LLVM_DEFAULT= 13 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} .else BINARY_ALIAS+= ar=/usr/bin/llvm-ar \ nm=/usr/bin/llvm-nm .endif # swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " .else PLIST_SUB+= NOT_AARCH64="" .endif # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Iridium, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ flac fontconfig freetype harfbuzz-ng libdrm libevent libpng \ libusb libwebp libxml libxslt openh264 opus snappy || ${FALSE} # Iridium uses an unreleased version of FFmpeg, so configure it .for brand in Chrome Chromium ${CP} -R \ ${WRKSRC}/third_party/ffmpeg/chromium/config/${brand}/linux/ \ ${WRKSRC}/third_party/ffmpeg/chromium/config/${brand}/freebsd .endfor do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${MANPREFIX}/man/man1/iridium.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Iridium Web Browser,g' \ ${STAGEDIR}${MANPREFIX}/man/man1/iridium.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/iridium.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in icudtl.dat snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR}/iridium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/iridium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/iridium ${STAGEDIR}${PREFIX}/bin # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 @${MKDIR} ${STAGEDIR}${DATADIR}/swiftshader ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} .for g in libEGL.so libGLESv2.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/swiftshader/${g} \ ${STAGEDIR}${DATADIR}/swiftshader .endfor .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} .include diff --git a/x11-clocks/wlclock/Makefile b/x11-clocks/wlclock/Makefile index 578b9d6179ee..45a2f2df0c07 100644 --- a/x11-clocks/wlclock/Makefile +++ b/x11-clocks/wlclock/Makefile @@ -1,26 +1,26 @@ PORTNAME= wlclock DISTVERSIONPREFIX= v DISTVERSION= 1.0.1 -CATEGORIES= x11-clocks +CATEGORIES= x11-clocks wayland MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Digital analog clock for Wayland desktops LICENSE= GPLv3 BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GNOME= cairo PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include diff --git a/x11-wm/cage/Makefile b/x11-wm/cage/Makefile index 163fed29419b..3a8e585ae9b8 100644 --- a/x11-wm/cage/Makefile +++ b/x11-wm/cage/Makefile @@ -1,47 +1,47 @@ PORTNAME= cage DISTVERSIONPREFIX= v DISTVERSION= 0.1.4 PORTREVISION= 3 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 70ecdcb02ea0.patch:-p1 # https://github.com/Hjdskes/cage/pull/148 PATCHFILES+= 31a3571a7798.patch:-p1 # https://github.com/Hjdskes/cage/pull/209 PATCHFILES+= 1a3ab3eb3ad0.patch:-p1 # https://github.com/Hjdskes/cage/pull/198 PATCHFILES+= ee748fec3adf.patch:-p1 # https://github.com/Hjdskes/cage/pull/197 MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland kiosk LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols \ wlroots>=0.15.0:x11-toolkits/wlroots LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_GITHUB= yes USE_XORG= pixman GH_ACCOUNT= Hjdskes PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES X11 OPTIONS_DEFAULT=MANPAGES X11 MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz X11_MESON_TRUE= xwayland post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/x11-wm/dwl/Makefile b/x11-wm/dwl/Makefile index 0411d1533734..211a38a0df02 100644 --- a/x11-wm/dwl/Makefile +++ b/x11-wm/dwl/Makefile @@ -1,69 +1,69 @@ PORTNAME= dwl DISTVERSIONPREFIX= v DISTVERSION= 0.3.1 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= cba259e9bf4a.patch:-p1 # https://github.com/djpohly/dwl/pull/212 MAINTAINER= jbeich@FreeBSD.org COMMENT= dwm for Wayland LICENSE= CC0-1.0 GPLv3+ MIT LICENSE_COMB= multi LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSE.tinywl LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.dwm BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wlroots>=0.15.0:x11-toolkits/wlroots LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= djpohly PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/wayland-sessions/${PORTNAME}.desktop PORTDOCS= README.md OPTIONS_DEFINE= ADDONS DOCS X11 OPTIONS_DEFAULT=ADDONS X11 ADDONS_DESC= Install extra applications: ${ADDONS_RUN_DEPENDS:C/\:.*//} ADDONS_RUN_DEPENDS?= alacritty:x11/alacritty \ bemenu-run:x11/bemenu X11_USES= xorg X11_USE= XORG=xcb X11_CFLAGS= -DXWAYLAND pre-everything:: @${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable" @${ECHO_MSG} "either in ${.CURDIR:T}/Makefile.local, make.conf(5), environ(7) or command line e.g.," @${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_CONF=/path/to/${PORTNAME}/config.h" post-extract: # .if exists(...) before bsd.port.mk ignores *_CONF in make.conf(5) and Makefile.local @if [ -e "${${PORTNAME:tu}_CONF}" ]; then \ ${ECHO_MSG} "Creating symlink: config.h -> ${${PORTNAME:tu}_CONF}"; \ ${LN} -fs "${${PORTNAME:tu}_CONF}" ${WRKSRC}/config.h; \ fi post-patch-X11-off: @${REINPLACE_CMD} 's/ xcb//' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${MKDIR} ${STAGEDIR}${PREFIX}/share/wayland-sessions ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/wayland-sessions (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/x11/gromit-mpx/Makefile b/x11/gromit-mpx/Makefile index b5b58899d950..44bb6ab3d678 100644 --- a/x11/gromit-mpx/Makefile +++ b/x11/gromit-mpx/Makefile @@ -1,26 +1,26 @@ PORTNAME= gromit-mpx DISTVERSION= 1.4.2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Desktop annotation tool, multi-pointer port of Gromit LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libappindicator3.so:devel/libappindicator USES= cmake gnome pkgconfig xorg USE_CSTD= gnu99 USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= x11 xi GH_ACCOUNT= bk138 LDFLAGS+= -Wl,--as-needed # atk, dbusmenu, pango post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/data.*cfg/s/)/ RENAME ${PORTNAME}.cfg.sample)/' \ ${WRKSRC}/CMakeLists.txt .include diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile index 1bbee5d6256b..a334e82fff36 100644 --- a/x11/libxkbcommon/Makefile +++ b/x11/libxkbcommon/Makefile @@ -1,38 +1,38 @@ PORTNAME= libxkbcommon PORTVERSION= 1.4.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://xkbcommon.org/download/ MAINTAINER= x11@FreeBSD.org COMMENT= Keymap handling library for toolkits and window systems LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config USES= bison compiler:c11 cpe gnome meson pkgconfig tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes MESON_ARGS= -Denable-docs=false \ -Dx-locale-root="${PREFIX}/lib/X11/locale" \ ${MESON_ARGS_${OPSYS}_${OSREL:R}} CPE_VENDOR= xkbcommon OPTIONS_DEFINE= EVDEV WAYLAND X11 OPTIONS_DEFAULT=EVDEV WAYLAND X11 OPTIONS_SUB= yes EVDEV_DESC= Interactive debugger for XKB keymaps for evdev EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_USES= localbase WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MESON_TRUE= enable-wayland X11_USES= xorg X11_USE= XORG=xcb X11_MESON_TRUE= enable-x11 .include diff --git a/x11/nwg-bar/Makefile b/x11/nwg-bar/Makefile index cb762cfba5c0..16daf2fd7f95 100644 --- a/x11/nwg-bar/Makefile +++ b/x11/nwg-bar/Makefile @@ -1,44 +1,44 @@ PORTNAME= nwg-bar DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 PORTREVISION= 2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3-based button bar for sway and other wlroots-based compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gnome go:modules pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ dlasky:gotk3-layershell:5cca0b819261:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ golang:sync:56d357773e84:golang_sync/vendor/golang.org/x/sync \ gotk3:gotk3:v0.6.0:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ joshuarubin:go-sway:v0.0.4:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.0.0:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ uber-go:atomic:v1.3.2:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:multierr:v1.1.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= images *.css *.json post-patch: # Respect PREFIX for button images @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/config/*.json \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile @${CP} -p ${WRKSRC}/config/* ${WRKSRC} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/nwg-launchers/Makefile b/x11/nwg-launchers/Makefile index c5ab35769c3f..8178d6c0e146 100644 --- a/x11/nwg-launchers/Makefile +++ b/x11/nwg-launchers/Makefile @@ -1,36 +1,36 @@ PORTNAME= nwg-launchers DISTVERSIONPREFIX= v DISTVERSION= 0.6.3 PORTREVISION= 2 -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= f123f433ad2d.patch:-p1 # https://github.com/nwg-piotr/nwg-launchers/pull/196 MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK-based launchers: application grid, button bar, dmenu for sway and other window managers LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtkmm30 GH_ACCOUNT= nwg-piotr OPTIONS_DEFINE= GLS OPTIONS_DEFAULT=GLS GLS_DESC= Layer-shell support GLS_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell GLS_MESON_ENABLED= layer-shell post-patch: # Respect PREFIX when looking for .desktop files @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/common/nwg_classes.cc \ ${WRKSRC}/grid/grid_tools.cc .include diff --git a/x11/nwg-menu/Makefile b/x11/nwg-menu/Makefile index 7fa0052ec481..7446cd95d87f 100644 --- a/x11/nwg-menu/Makefile +++ b/x11/nwg-menu/Makefile @@ -1,43 +1,43 @@ PORTNAME= nwg-menu DISTVERSIONPREFIX= v DISTVERSION= 0.1.1 PORTREVISION= 4 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= MenuStart plugin to nwg-panel, also capable of working standalone LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gnome go:modules pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ dlasky:gotk3-layershell:5cca0b819261:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ golang:sync:56d357773e84:golang_sync/vendor/golang.org/x/sync \ gotk3:gotk3:v0.6.0:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ joshuarubin:go-sway:v0.0.4:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.0.0:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ uber-go:atomic:v1.3.2:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:multierr:v1.1.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= desktop-directories *.css post-patch: # Respect PREFIX for *.desktop and system configs @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/main.go \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/showmethekey/Makefile b/x11/showmethekey/Makefile index f31319edbdd4..80fe7500ae1a 100644 --- a/x11/showmethekey/Makefile +++ b/x11/showmethekey/Makefile @@ -1,27 +1,27 @@ PORTNAME= showmethekey DISTVERSIONPREFIX= v DISTVERSION= 1.7.3 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Show keys you typed on screen LICENSE= APACHE20 BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${PKEXEC} USES= compiler:c11 gettext-tools gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo gtk40 GH_ACCOUNT= AlynxZhou PKEXEC?= pkexec:sysutils/polkit MESON_ARGS= -Dpkexec_path="${PKEXEC:C/\:.*//}" GLIB_SCHEMAS= one.alynx.showmethekey.gschema.xml .include diff --git a/x11/taiga/Makefile b/x11/taiga/Makefile index 4a24a8153711..a076d0ddcbb4 100644 --- a/x11/taiga/Makefile +++ b/x11/taiga/Makefile @@ -1,20 +1,20 @@ PORTNAME= taiga PORTVERSION= s20200907 DISTVERSIONSUFFIX= -34c64aa7c3d7 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONSUFFIX:S/^-//}${EXTRACT_SUFX}?dummy=/ DISTNAME= ${PORTNAME}${DISTVERSIONSUFFIX} MAINTAINER= jbeich@FreeBSD.org COMMENT= Take animated screenshots on wlroots compositors LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libavcodec.so:multimedia/ffmpeg USES= compiler:c11 meson pkgconfig PLIST_FILES= bin/${PORTNAME} .include diff --git a/x11/wallutils/Makefile b/x11/wallutils/Makefile index 0ab185babe54..35ec3c1403f4 100644 --- a/x11/wallutils/Makefile +++ b/x11/wallutils/Makefile @@ -1,67 +1,67 @@ PORTNAME= wallutils DISTVERSION= 5.11.0 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Utilities for handling monitors, resolutions, wallpapers and timed wallpapers LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libX11.so:x11/libX11 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= xyproto GH_TUPLE= antchfx:xmlquery:v1.3.8:antchfx_xmlquery/vendor/github.com/antchfx/xmlquery \ antchfx:xpath:v1.2.0:antchfx_xpath/vendor/github.com/antchfx/xpath \ anthonynsimon:bild:v0.13.0:anthonynsimon_bild/vendor/github.com/anthonynsimon/bild \ cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ fatih:color:v1.13.0:fatih_color/vendor/github.com/fatih/color \ golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \ golang:image:64ec528b34cd:golang_image/vendor/golang.org/x/image \ golang:net:58aab5ef257a:golang_net/vendor/golang.org/x/net \ golang:sys:9f5ed59c137d:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \ mattn:go-colorable:v0.1.12:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ stretchr:powerwalk:bceb9d014549:stretchr_powerwalk/vendor/github.com/stretchr/powerwalk \ urfave:cli:v1.22.5:urfave_cli/vendor/github.com/urfave/cli \ xyproto:env:v1.7.0:xyproto_env/vendor/github.com/xyproto/env \ xyproto:heic:v1.0.0:xyproto_heic/vendor/github.com/xyproto/heic GL_TUPLE= https://gitlab.howett.net:go:plist:1454fab16a0642638feb0ae98c41f79eccb2a20a:go_plist/vendor/howett.net/plist GO_TARGET= ./cmd/getdpi \ ./cmd/lscollection \ ./cmd/lsmon \ ./cmd/lstimed \ ./cmd/lswallpaper \ ./cmd/setcollection \ ./cmd/setrandom \ ./cmd/settimed \ ./cmd/setwallpaper \ ./cmd/timedinfo \ ./cmd/wayinfo \ ./cmd/xinfo \ ./cmd/xml2stw \ ${NULL} PLIST_FILES= ${GO_TARGET:S,./cmd,bin,} OPTIONS_DEFINE= HEIF OPTIONS_DEFAULT= HEIF HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_USES= pkgconfig HEIF_MESON_ENABLED= libheif HEIF_VARS= GO_TARGET+=./cmd/heic2stw post-patch: # Respect PREFIX for wallpapers @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/cmd/heic2stw/main.go \ ${WRKSRC}/collections.go .include