1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

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
This commit is contained in:
Jan Beich 2024-07-19 11:29:50 +02:00
parent 165683db33
commit 28facd725e
5 changed files with 70 additions and 0 deletions

View File

@ -4,6 +4,7 @@
SUBDIR += Xaw3d
SUBDIR += Xmt
SUBDIR += amtk
SUBDIR += aquamarine
SUBDIR += blt
SUBDIR += bwidget
SUBDIR += color-widgets-qt5

View File

@ -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>

View File

@ -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

View File

@ -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.

View File

@ -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