pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libportal: add new package
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Mon Mar 10 11:48:52 2025 +0100
Changeset: b6f0ae0e45d03bcb11b435475d2f39f5dc4cd275
Modified Files:
Makefile
Added Files:
libportal/DESCR
libportal/Makefile
libportal/PLIST
libportal/buildlink3.mk
libportal/distinfo
Log Message:
libportal: add new package
This is probably not very useful on NetBSD, but wip/deskflow expects
to be able to link against the library ...
--8<--
libportal provides GIO-style async APIs for most Flatpak portals.
Flatpak portals are the secure interfaces through which Flatpak
applications, which run in a sandbox, interact with the host system.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b6f0ae0e45d03bcb11b435475d2f39f5dc4cd275
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libportal/DESCR | 3 +++
libportal/Makefile | 35 +++++++++++++++++++++++++++++++++++
libportal/PLIST | 33 +++++++++++++++++++++++++++++++++
libportal/buildlink3.mk | 14 ++++++++++++++
libportal/distinfo | 5 +++++
6 files changed, 91 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 55cf74ef23..ba3a7e9953 100644
--- a/Makefile
+++ b/Makefile
@@ -2116,6 +2116,7 @@ SUBDIR+= libpare
SUBDIR+= libparsifal
SUBDIR+= libpatterns
SUBDIR+= libplist2
+SUBDIR+= libportal
SUBDIR+= libppd
SUBDIR+= libpsurface
SUBDIR+= libpthread-stubs
diff --git a/libportal/DESCR b/libportal/DESCR
new file mode 100644
index 0000000000..02f6a4036a
--- /dev/null
+++ b/libportal/DESCR
@@ -0,0 +1,3 @@
+libportal provides GIO-style async APIs for most Flatpak portals.
+Flatpak portals are the secure interfaces through which Flatpak
+applications, which run in a sandbox, interact with the host system.
diff --git a/libportal/Makefile b/libportal/Makefile
new file mode 100644
index 0000000000..16562d0e10
--- /dev/null
+++ b/libportal/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME= libportal-0.9.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=flatpak/}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/flatpak/libportal/
+COMMENT= Flatpak portal library
+LICENSE= gnu-lgpl-v3
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+NOT_FOR_PLATFORM+= Darwin-*-*
+
+MESON_ARGS+= -Dbackend-gtk3=disabled
+MESON_ARGS+= -Dbackend-gtk4=disabled
+MESON_ARGS+= -Dbackend-qt5=disabled
+MESON_ARGS+= -Dbackend-qt6=disabled
+MESON_ARGS+= -Dintrospection=false
+MESON_ARGS+= -Ddocs=false
+MESON_ARGS+= -Dtests=false
+MESON_ARGS+= -Dvapi=false
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/glib2/buildlink3.mk"
+#.include "../../devel/gobject-introspection/buildlink3.mk"
+#.include "../../x11/gtk3/buildlink3.mk"
+#.include "../../x11/gtk4/buildlink3.mk"
+#.include "../../x11/qt5-qtbase/buildlink3.mk"
+#.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libportal/PLIST b/libportal/PLIST
new file mode 100644
index 0000000000..8237c858f5
--- /dev/null
+++ b/libportal/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD$
+include/libportal/account.h
+include/libportal/background.h
+include/libportal/camera.h
+include/libportal/dynamic-launcher.h
+include/libportal/email.h
+include/libportal/filechooser.h
+include/libportal/glib-backports.h
+include/libportal/inhibit.h
+include/libportal/inputcapture-pointerbarrier.h
+include/libportal/inputcapture-zone.h
+include/libportal/inputcapture.h
+include/libportal/location.h
+include/libportal/notification.h
+include/libportal/openuri.h
+include/libportal/parent.h
+include/libportal/portal-enums.h
+include/libportal/portal-helpers.h
+include/libportal/portal.h
+include/libportal/print.h
+include/libportal/remote.h
+include/libportal/screenshot.h
+include/libportal/session.h
+include/libportal/settings.h
+include/libportal/spawn.h
+include/libportal/trash.h
+include/libportal/types.h
+include/libportal/updates.h
+include/libportal/wallpaper.h
+lib/libportal.so
+lib/libportal.so.1
+lib/libportal.so.1.0.0
+lib/pkgconfig/libportal.pc
diff --git a/libportal/buildlink3.mk b/libportal/buildlink3.mk
new file mode 100644
index 0000000000..322322ad15
--- /dev/null
+++ b/libportal/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libportal
+
+.if !defined(LIBPORTAL_BUILDLINK3_MK)
+LIBPORTAL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libportal+= libportal>=0.9.1
+BUILDLINK_PKGSRCDIR.libportal?= ../../wip/libportal
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # LIBPORTAL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libportal
diff --git a/libportal/distinfo b/libportal/distinfo
new file mode 100644
index 0000000000..1f65ec4b7f
--- /dev/null
+++ b/libportal/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (libportal-0.9.1.tar.xz) = 319c3f9cc545b90efa3e1c35a6a642cf4671b0e0fa9c89743860b8fab4ded3f8
+SHA512 (libportal-0.9.1.tar.xz) = 445f0c9295220668123b9b3503bb5e75edef3ea939d6f28b159c0ded2f017b35b35e8a6013f550ac6a1f8a5fb9f04c93ce5ced39694bd14731da19172649c895
+Size (libportal-0.9.1.tar.xz) = 108572 bytes
Home |
Main Index |
Thread Index |
Old Index