pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import libliftoff



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Thu Sep 11 10:49:29 2025 +0200
Changeset:	e4f6266a58e01b2b55d0803c115fb64e02ffafb9

Modified Files:
	Makefile
Added Files:
	libliftoff/DESCR
	libliftoff/Makefile
	libliftoff/PLIST
	libliftoff/buildlink3.mk
	libliftoff/distinfo

Log Message:
Import libliftoff

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e4f6266a58e01b2b55d0803c115fb64e02ffafb9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                 |  1 +
 libliftoff/DESCR         |  5 +++++
 libliftoff/Makefile      | 20 ++++++++++++++++++++
 libliftoff/PLIST         |  6 ++++++
 libliftoff/buildlink3.mk | 14 ++++++++++++++
 libliftoff/distinfo      |  5 +++++
 6 files changed, 51 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 17791d1734..6b298c6af9 100644
--- a/Makefile
+++ b/Makefile
@@ -2095,6 +2095,7 @@ SUBDIR+=	libjdksmidi
 SUBDIR+=	libjingle
 SUBDIR+=	libkml
 SUBDIR+=	libks
+SUBDIR+=	libliftoff
 SUBDIR+=	liblingoteach
 SUBDIR+=	libltc
 SUBDIR+=	libm4ri
diff --git a/libliftoff/DESCR b/libliftoff/DESCR
new file mode 100644
index 0000000000..c081cfba32
--- /dev/null
+++ b/libliftoff/DESCR
@@ -0,0 +1,5 @@
+The 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.
diff --git a/libliftoff/Makefile b/libliftoff/Makefile
new file mode 100644
index 0000000000..7e8d48bbcb
--- /dev/null
+++ b/libliftoff/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=		libliftoff-0.5.0
+CATEGORIES=		graphics
+MASTER_SITE_GITLAB=	https://gitlab.freedesktop.org/
+MASTER_SITES=		${MASTER_SITE_GITLAB:=emersion/}
+GITLAB_TAG=		v${PKGVERSION_NOREV}
+
+MAINTAINER=	kikadf.01%gmail.com@localhost
+HOMEPAGE=	https://gitlab.freedesktop.org/emersion/libliftoff
+COMMENT=	Lightweight KMS plane library
+LICENSE=	mit
+
+USE_TOOLS+=	pkg-config
+
+WRKSRC=		${WRKDIR}/libliftoff-${GITLAB_TAG}
+
+.include "../../devel/meson/build.mk"
+.include "../../x11/libdrm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libliftoff/PLIST b/libliftoff/PLIST
new file mode 100644
index 0000000000..19d1ecd0d0
--- /dev/null
+++ b/libliftoff/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+include/libliftoff.h
+lib/libliftoff.so
+lib/libliftoff.so.0
+lib/libliftoff.so.${PKGVERSION}
+lib/pkgconfig/libliftoff.pc
diff --git a/libliftoff/buildlink3.mk b/libliftoff/buildlink3.mk
new file mode 100644
index 0000000000..4da229f9cb
--- /dev/null
+++ b/libliftoff/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libliftoff
+
+.if !defined(LIBLIFTOFF_BUILDLINK3_MK)
+LIBLIFTOFF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libliftoff+=	libliftoff>=0.5.0
+BUILDLINK_ABI_DEPENDS.libliftoff+=	libliftoff>=0.5.0
+BUILDLINK_PKGSRCDIR.libliftoff?=	../../wip/libliftoff
+
+.endif # LIBLIFTOFF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libliftoff
diff --git a/libliftoff/distinfo b/libliftoff/distinfo
new file mode 100644
index 0000000000..d6cf0ea895
--- /dev/null
+++ b/libliftoff/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (libliftoff-0.5.0.tar.gz) = 5d871ea62eca5427919cf15fdd818cd182e10f8cf17437131081abe1bcb64a9a
+SHA512 (libliftoff-0.5.0.tar.gz) = 0ca13a298af6510b85adb30282014474e623f9759bf09fcd865ef4e9634db4401cd5e5bd5ab9e2c5848a5bfd59cd43e3035103814c355d9c164880a7a1108c74
+Size (libliftoff-0.5.0.tar.gz) = 38939 bytes


Home | Main Index | Thread Index | Old Index