aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery <valery@vslash.com>2026-07-21 21:19:51 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-21 21:26:15 +0000
commit169c99e7b739edeb3e0bf0d8d84de68f1f07e25a (patch)
tree4c42bc6ddc6f6655d0684224fb20bde66a8f9e31
parent1a5e84f03689e9ce57a56783cbce6209f9608b9c (diff)
-rw-r--r--audio/cardinal/Makefile2
-rw-r--r--audio/cardinal/pkg-message25
2 files changed, 27 insertions, 0 deletions
diff --git a/audio/cardinal/Makefile b/audio/cardinal/Makefile
index 78cd1117fde4..f73553b1bdeb 100644
--- a/audio/cardinal/Makefile
+++ b/audio/cardinal/Makefile
@@ -2,6 +2,7 @@
PORTNAME= cardinal
DISTVERSION= 26.02
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/DISTRHO/Cardinal/releases/download/${DISTVERSION}/
@@ -28,6 +29,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile \
libspeexdsp.so:audio/speexdsp
+RUN_DEPENDS= xdg-desktop-portal:deskutils/xdg-desktop-portal
USES= compiler:c++17-lang gl gmake libarchive localbase:ldflags pkgconfig python sdl shebangfix tar:xz xorg
USE_XORG= x11 xcursor xext xrandr
diff --git a/audio/cardinal/pkg-message b/audio/cardinal/pkg-message
new file mode 100644
index 000000000000..fb09dcc61ba7
--- /dev/null
+++ b/audio/cardinal/pkg-message
@@ -0,0 +1,25 @@
+[
+{ type: install
+ message: <<EOM
+You installed Cardinal: Audio plugin wrapper around VCV Rack.
+
+* Cardinal and xdg-desktop-portal
+
+Cardinal uses the dbus service xdg-desktop-portal in order to save/export files.
+You will be not able to save your projects without it.
+xdg-desktop-portal uses one or more backend like x11/xdg-desktop-portal-gtk, which
+provides the "Save File" widget expected.
+In order to use this dbus service, you will have to launch Cardinal using dbus:
+
+$ dbus-launch Cardinal
+
+* HDPI Display
+
+The default font size of the main gui is too small for 4K screen display.
+The Cardinal env variable DPF_SCALE_FACTOR has to be set before running Cardinal, eg:
+
+$ dbus-launch env DPF_SCALE_FACTOR=2.5 Cardinal
+
+EOM
+}
+]