summaryrefslogtreecommitdiff
path: root/filesystems/dsbmc
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-09-27 12:48:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-06 16:17:35 +0100
commit6e2da9672f79f44048d597f0f61e4646cdeade9d (patch)
treec92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/dsbmc
parentmath/sdpa: speed up build (diff)
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
Diffstat (limited to 'filesystems/dsbmc')
-rw-r--r--filesystems/dsbmc/Makefile24
-rw-r--r--filesystems/dsbmc/distinfo3
-rw-r--r--filesystems/dsbmc/files/patch-src_mainwin.cpp13
-rw-r--r--filesystems/dsbmc/pkg-descr2
-rw-r--r--filesystems/dsbmc/pkg-plist3
5 files changed, 45 insertions, 0 deletions
diff --git a/filesystems/dsbmc/Makefile b/filesystems/dsbmc/Makefile
new file mode 100644
index 000000000000..dc7efcab0ba1
--- /dev/null
+++ b/filesystems/dsbmc/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= dsbmc
+DISTVERSION= 1.2
+PORTREVISION= 1
+CATEGORIES= filesystems sysutils
+
+MAINTAINER= mk@nic-nac-project.org
+COMMENT= Qt client for DSBMD that lets you mount media, and more
+WWW= https://github.com/mrclksr/DSBMC
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= dsbmd>=0.3:filesystems/dsbmd
+
+USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 tar:tgz
+
+USE_GL= gl
+USE_QT= buildtools:build core gui linguisttools:build widgets
+
+USE_GITHUB= yes
+GH_ACCOUNT= mrclksr
+GH_PROJECT= DSBMC
+
+.include <bsd.port.mk>
diff --git a/filesystems/dsbmc/distinfo b/filesystems/dsbmc/distinfo
new file mode 100644
index 000000000000..54db0704df9e
--- /dev/null
+++ b/filesystems/dsbmc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1612973352
+SHA256 (mrclksr-DSBMC-1.2_GH0.tar.gz) = 511c2e2454290614c526872c9abeaf127a7d074b2acec5edf4a02cac2bb324f5
+SIZE (mrclksr-DSBMC-1.2_GH0.tar.gz) = 38680
diff --git a/filesystems/dsbmc/files/patch-src_mainwin.cpp b/filesystems/dsbmc/files/patch-src_mainwin.cpp
new file mode 100644
index 000000000000..eb6e5ef3efba
--- /dev/null
+++ b/filesystems/dsbmc/files/patch-src_mainwin.cpp
@@ -0,0 +1,13 @@
+Add Qt5.14 compatibility
+
+--- src/mainwin.cpp.orig 2020-04-04 08:18:00 UTC
++++ src/mainwin.cpp
+@@ -27,6 +27,8 @@
+ #include <QSpinBox>
+ #include <QMenuBar>
+ #include <QMessageBox>
++#include <QMoveEvent>
++#include <QResizeEvent>
+ #include <QStatusBar>
+ #include <errno.h>
+
diff --git a/filesystems/dsbmc/pkg-descr b/filesystems/dsbmc/pkg-descr
new file mode 100644
index 000000000000..89f7c093e72d
--- /dev/null
+++ b/filesystems/dsbmc/pkg-descr
@@ -0,0 +1,2 @@
+DSBMC is a Qt client for DSBMD. It allows you to mount, unmount, open media
+in a file manager, set the reading speed of a CD/DVD or play a CD/DVD.
diff --git a/filesystems/dsbmc/pkg-plist b/filesystems/dsbmc/pkg-plist
new file mode 100644
index 000000000000..8eb4f23eed53
--- /dev/null
+++ b/filesystems/dsbmc/pkg-plist
@@ -0,0 +1,3 @@
+bin/dsbmc
+share/applications/dsbmc.desktop
+%%DATADIR%%/dsbmc_de.qm