diff options
-rw-r--r-- | graphics/libliftoff/Makefile | 22 | ||||
-rw-r--r-- | graphics/libliftoff/distinfo | 2 | ||||
-rw-r--r-- | graphics/libliftoff/pkg/DESCR | 16 | ||||
-rw-r--r-- | graphics/libliftoff/pkg/PLIST | 3 |
4 files changed, 43 insertions, 0 deletions
diff --git a/graphics/libliftoff/Makefile b/graphics/libliftoff/Makefile new file mode 100644 index 0000000..42b32d8 --- /dev/null +++ b/graphics/libliftoff/Makefile @@ -0,0 +1,22 @@ +COMMENT = Lightweight KMS plane library + +V = 0.4.1 +DISTNAME = libliftoff-v$V +PKGNAME = libliftoff-$V +CATEGORIES = graphics + +# MIT +PERMIT_PACKAGE = Yes + +SHARED_LIBS += liftoff 0.5.0 # 0.5.0 + +MASTER_SITES = https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v$V/ + +MODULES = devel/meson + +WANTLIB = drm + +LIB_DEPENDS = sysutils/libdrm + +.include <bsd.port.mk> + diff --git a/graphics/libliftoff/distinfo b/graphics/libliftoff/distinfo new file mode 100644 index 0000000..5ad85ee --- /dev/null +++ b/graphics/libliftoff/distinfo @@ -0,0 +1,2 @@ +SHA256 (libliftoff-v0.4.1.tar.gz) = ROxc/dDfBA0QI9TWpIsjwx8hzmHuI0fanhyiRP4k3Rw= +SIZE (libliftoff-v0.4.1.tar.gz) = 36391 diff --git a/graphics/libliftoff/pkg/DESCR b/graphics/libliftoff/pkg/DESCR new file mode 100644 index 0000000..f198c6c --- /dev/null +++ b/graphics/libliftoff/pkg/DESCR @@ -0,0 +1,16 @@ +Lightweight KMS plane library. + +libliftoff eases the use of KMS planes from userspace without standing +in your way. Users create "virtual planes" called layers, set KMS +properties on them, and libliftoff will pick hardware planes for these +layers if possible. + +Resources: + + Blog post introducing the project: + https://emersion.fr/blog/2019/xdc2019-wrap-up/#libliftoff + FOSDEM 2020 talk: + https://fosdem.org/2020/schedule/event/kms_planes/ + +libliftoff is used in production by gamescope on Steam Deck devices, +and work is underway to integrate it with wlroots. diff --git a/graphics/libliftoff/pkg/PLIST b/graphics/libliftoff/pkg/PLIST new file mode 100644 index 0000000..6c12c5b --- /dev/null +++ b/graphics/libliftoff/pkg/PLIST @@ -0,0 +1,3 @@ +include/libliftoff.h +@bin lib/libliftoff.so.0.5.0 +lib/pkgconfig/libliftoff.pc |