git: 5d81b5cabd02 - main - x11/bhotkeys-media: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Oct 2026 19:26:10 UTC
The branch main has been updated by dteske:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5d81b5cabd0273d8fd5457dda5b6595adeca1e5e
commit 5d81b5cabd0273d8fd5457dda5b6595adeca1e5e
Author: Devin Teske <dteske@FreeBSD.org>
AuthorDate: 2026-10-10 19:23:00 +0000
Commit: Devin Teske <dteske@FreeBSD.org>
CommitDate: 2026-10-10 19:23:00 +0000
x11/bhotkeys-media: New port
Media-key hotkeys for bhotkeys.
Approved by: jrm (mentor)
Reviewed by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D60500
---
x11/Makefile | 1 +
x11/bhotkeys-media/Makefile | 30 ++++++++++++++++++++++++++++++
x11/bhotkeys-media/distinfo | 3 +++
x11/bhotkeys-media/pkg-descr | 2 ++
4 files changed, 36 insertions(+)
diff --git a/x11/Makefile b/x11/Makefile
index b9633d8942d2..111972a47f03 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -29,6 +29,7 @@
SUBDIR += bgrot
SUBDIR += bgs
SUBDIR += bhotkeys
+ SUBDIR += bhotkeys-media
SUBDIR += bhotkeys-xfce
SUBDIR += bitmap
SUBDIR += bmpanel2
diff --git a/x11/bhotkeys-media/Makefile b/x11/bhotkeys-media/Makefile
new file mode 100644
index 000000000000..865f16c0d873
--- /dev/null
+++ b/x11/bhotkeys-media/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= bhotkeys-media
+DISTVERSION= 1.0
+CATEGORIES= x11
+
+MAINTAINER= dteske@FreeBSD.org
+COMMENT= Media-key hotkeys for bhotkeys
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libdbus-1.so:devel/dbus
+RUN_DEPENDS= bhotkeys:x11/bhotkeys
+
+USES= pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= FrauBSD
+
+PLIST_FILES= bin/mpris-control \
+ share/bhotkeys/plugins.d/fn-next \
+ share/bhotkeys/plugins.d/fn-play \
+ share/bhotkeys/plugins.d/fn-prev \
+ share/man/man1/mpris-control.1.gz
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/bin
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpris-control
+
+.include <bsd.port.mk>
diff --git a/x11/bhotkeys-media/distinfo b/x11/bhotkeys-media/distinfo
new file mode 100644
index 000000000000..0a492f65e686
--- /dev/null
+++ b/x11/bhotkeys-media/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791426167
+SHA256 (FrauBSD-bhotkeys-media-1.0_GH0.tar.gz) = 3ffaad60aac4c82b8cd562ee4eead8e3111b66fad3cf70b5ec270e58afc5c3b7
+SIZE (FrauBSD-bhotkeys-media-1.0_GH0.tar.gz) = 9017
diff --git a/x11/bhotkeys-media/pkg-descr b/x11/bhotkeys-media/pkg-descr
new file mode 100644
index 000000000000..f8e8e70cb65e
--- /dev/null
+++ b/x11/bhotkeys-media/pkg-descr
@@ -0,0 +1,2 @@
+Media-key hotkeys for bhotkeys. mpris-control drives the active
+MPRIS player on the session bus.