summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/system/xdg-desktop-portal-tde
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/applications/system/xdg-desktop-portal-tde')
-rw-r--r--freebsd/applications/system/xdg-desktop-portal-tde/Makefile40
-rw-r--r--freebsd/applications/system/xdg-desktop-portal-tde/distinfo3
-rw-r--r--freebsd/applications/system/xdg-desktop-portal-tde/pkg-descr4
-rw-r--r--freebsd/applications/system/xdg-desktop-portal-tde/pkg-plist9
4 files changed, 56 insertions, 0 deletions
diff --git a/freebsd/applications/system/xdg-desktop-portal-tde/Makefile b/freebsd/applications/system/xdg-desktop-portal-tde/Makefile
new file mode 100644
index 000000000..82b6fece7
--- /dev/null
+++ b/freebsd/applications/system/xdg-desktop-portal-tde/Makefile
@@ -0,0 +1,40 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: applications/system/xdg-desktop-portal-tde
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= xdg-desktop-portal-trinity
+COMMENT= An implementation of the FreeDesktop Portals API for TDE
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= x/${PORTNAME}
+DISTSRC= xdg-desktop-portal-tde-trinity-${TDE_VERSION}${TDE_PREVERSION}
+PORTREVISION= 0
+CATEGORIES= deskutils x11
+DIST_SUBDIR= TDE/applications/system
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+LIB_DEPENDS+= libtqt.so:x11-toolkits/libtqtinterface \
+
+RUN_DEPENDS+= ${LOCALBASE}/libexec/xdg-desktop-portal:deskutils/xdg-desktop-portal \
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>
diff --git a/freebsd/applications/system/xdg-desktop-portal-tde/distinfo b/freebsd/applications/system/xdg-desktop-portal-tde/distinfo
new file mode 100644
index 000000000..1528a7954
--- /dev/null
+++ b/freebsd/applications/system/xdg-desktop-portal-tde/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729260064
+SHA256 (TDE/applications/system/xdg-desktop-portal-trinity_14.1.3.orig.tar.xz) = e552a8eb923a48a0f78d8aff7f8eff2418149ff451140a8128b445b79820add7
+SIZE (TDE/applications/system/xdg-desktop-portal-trinity_14.1.3.orig.tar.xz) = 14236
diff --git a/freebsd/applications/system/xdg-desktop-portal-tde/pkg-descr b/freebsd/applications/system/xdg-desktop-portal-tde/pkg-descr
new file mode 100644
index 000000000..c9423f6be
--- /dev/null
+++ b/freebsd/applications/system/xdg-desktop-portal-tde/pkg-descr
@@ -0,0 +1,4 @@
+An implementation of the FreeDesktop Portals API for TDE
+
+Exposes TDE APIs to applications which use the Portals API.
+As a result, these applications can transparently use native TDE APIs and dialogs.
diff --git a/freebsd/applications/system/xdg-desktop-portal-tde/pkg-plist b/freebsd/applications/system/xdg-desktop-portal-tde/pkg-plist
new file mode 100644
index 000000000..dfa38a302
--- /dev/null
+++ b/freebsd/applications/system/xdg-desktop-portal-tde/pkg-plist
@@ -0,0 +1,9 @@
+lib/trinity/libexec/xdg-desktop-portal-tde
+share/applications/xdg-desktop-portal-tde.desktop
+/usr/local/share/dbus-1/services/org.freedesktop.impl.portal.desktop.tde.service
+/usr/share/xdg-desktop-portal/portals/tde.portal
+/usr/share/xdg-desktop-portal/tde-portals.conf
+@dir /usr/local/share/dbus-1/services
+@dir /usr/local/share/dbus-1
+@dir /usr/share/xdg-desktop-portal/portals
+@dir /usr/share/xdg-desktop-portal