git: 28facd725e92 - main - x11-toolkits/aquamarine: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jul 2024 20:04:07 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=28facd725e928d2dc57133e7fc4e225cb622cfad commit 28facd725e928d2dc57133e7fc4e225cb622cfad Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-07-19 09:29:50 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-07-19 20:03:39 +0000 x11-toolkits/aquamarine: add new port Aquamarine is a very light linux rendering backend library. It provides basic abstractions for an application to render on a Wayland session (in a window) or a native DRM session. It is agnostic of the rendering API (Vulkan/OpenGL) and designed to be lightweight, performant, and minimal. Aquamarine provides no bindings for other languages. It is C++-only. https://github.com/hyprwm/aquamarine --- x11-toolkits/Makefile | 1 + x11-toolkits/aquamarine/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ x11-toolkits/aquamarine/distinfo | 3 +++ x11-toolkits/aquamarine/pkg-descr | 8 ++++++++ x11-toolkits/aquamarine/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index dfd67f20b984..2d3ad2b6eeed 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -4,6 +4,7 @@ SUBDIR += Xaw3d SUBDIR += Xmt SUBDIR += amtk + SUBDIR += aquamarine SUBDIR += blt SUBDIR += bwidget SUBDIR += color-widgets-qt5 diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile new file mode 100644 index 000000000000..d674fc287217 --- /dev/null +++ b/x11-toolkits/aquamarine/Makefile @@ -0,0 +1,39 @@ +PORTNAME= aquamarine +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 +CATEGORIES= x11-toolkits + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Very light linux rendering backend library +WWW= https://github.com/hyprwm/aquamarine + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ + hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ + wayland-protocols>0:graphics/wayland-protocols \ + hwdata>0:misc/hwdata +LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ + libudev.so:devel/libudev-devd \ + libdrm.so:graphics/libdrm \ + libwayland-client.so:graphics/wayland \ + libdisplay-info.so:sysutils/libdisplay-info \ + libseat.so:sysutils/seatd \ + libinput.so:x11/libinput +RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri + +USES= cmake:testing compiler:c++11-lib gl pathfix pkgconfig xorg +USE_GITHUB= yes +USE_GL= egl gbm glesv2 +USE_XORG= pixman +GH_ACCOUNT= hyprwm +PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} + +# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 +# https://cgit.freebsd.org/src/commit/?id=af93fea71038 +.if !exists(/usr/include/sys/timerfd.h) +LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/aquamarine/distinfo b/x11-toolkits/aquamarine/distinfo new file mode 100644 index 000000000000..1ade16a28b51 --- /dev/null +++ b/x11-toolkits/aquamarine/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721381390 +SHA256 (hyprwm-aquamarine-v0.1.0_GH0.tar.gz) = 05b6eb96add1b3fd801734ba41cd9bb1d73c2777bae9c3940d116b9c5dbe9e0f +SIZE (hyprwm-aquamarine-v0.1.0_GH0.tar.gz) = 70171 diff --git a/x11-toolkits/aquamarine/pkg-descr b/x11-toolkits/aquamarine/pkg-descr new file mode 100644 index 000000000000..8165e0b41449 --- /dev/null +++ b/x11-toolkits/aquamarine/pkg-descr @@ -0,0 +1,8 @@ +Aquamarine is a very light linux rendering backend library. It +provides basic abstractions for an application to render on a Wayland +session (in a window) or a native DRM session. + +It is agnostic of the rendering API (Vulkan/OpenGL) and designed to be +lightweight, performant, and minimal. + +Aquamarine provides no bindings for other languages. It is C++-only. diff --git a/x11-toolkits/aquamarine/pkg-plist b/x11-toolkits/aquamarine/pkg-plist new file mode 100644 index 000000000000..06add6fd9604 --- /dev/null +++ b/x11-toolkits/aquamarine/pkg-plist @@ -0,0 +1,19 @@ +include/aquamarine/allocator/Allocator.hpp +include/aquamarine/allocator/GBM.hpp +include/aquamarine/allocator/Swapchain.hpp +include/aquamarine/backend/Backend.hpp +include/aquamarine/backend/DRM.hpp +include/aquamarine/backend/Headless.hpp +include/aquamarine/backend/Misc.hpp +include/aquamarine/backend/Session.hpp +include/aquamarine/backend/Wayland.hpp +include/aquamarine/backend/drm/Atomic.hpp +include/aquamarine/backend/drm/Legacy.hpp +include/aquamarine/buffer/Buffer.hpp +include/aquamarine/input/Input.hpp +include/aquamarine/misc/Attachment.hpp +include/aquamarine/output/Output.hpp +lib/libaquamarine.so +lib/libaquamarine.so.0 +lib/libaquamarine.so.%%VERSION%% +libdata/pkgconfig/aquamarine.pc