Skip to content

Commit

Permalink
new vdr plugin webbridge
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabrimus committed Sep 4, 2024
1 parent 7fc4f0a commit dc7f349
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vdr/_vdr-plugin-webbridge/conf.d/webbridge.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# possible command line arguments
# -p <num>, --port=<number> websocket port
# -t <mode>, --trace=<mode> set the tracing mode

[iptv]
-p 3030
24 changes: 24 additions & 0 deletions packages/vdr/_vdr-plugin-webbridge/package.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-License-Identifier: GPL-2.0-or-later

PKG_NAME="_vdr-plugin-webbridge"
PKG_VERSION="32c3030f655d172c861c43af9424dff848085a30"
PKG_SHA256="c709f1394282ae1f327f1e9accbadff054607cc0fbc38ccf1b1b0688432085ed"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/Zabrimus/vdr-plugin-webbridge"
PKG_URL="https://github.com/Zabrimus/vdr-plugin-webbridge/archive/${PKG_VERSION}.zip"
PKG_DEPENDS_TARGET="toolchain _vdr vdr-helper"
PKG_DEPENDS_CONFIG="_vdr"
PKG_NEED_UNPACK="$(get_pkg_directory _vdr vdr-helper)"
PKG_SOURCE_DIR="vdr-plugin-webbridge-${PKG_VERSION}"
PKG_LONGDESC="Bridge between websockets and VDR SVDRP"
PKG_BUILD_FLAGS="+speed"

pre_make_target() {
export LDFLAGS="$(echo ${LDFLAGS} | sed -e "s|-Wl,--as-needed||") -L${SYSROOT_PREFIX}/usr/local/lib"
export PKG_CONFIG_DISABLE_SYSROOT_PREPEND="yes"
}

post_makeinstall_target() {
PLUGIN="$(cat ${PKG_BUILD}/Makefile | grep 'PLUGIN = ' | cut -d ' ' -f 3)"
$(get_build_dir vdr-helper)/zip_config.sh ${INSTALL} ${PKG_DIR} ${PLUGIN}
}
1 change: 1 addition & 0 deletions packages/virtual/vdr-all/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ PKG_DEPENDS_TARGET+=" _vdr-plugin-web"
PKG_DEPENDS_TARGET+=" _vdr-plugin-webapp"
PKG_DEPENDS_TARGET+=" _vdr-plugin-epgborder"
PKG_DEPENDS_TARGET+=" _vdr-plugin-xmltv4vdr"
PKG_DEPENDS_TARGET+=" _vdr-plugin-webbridge"

if [ "${EXTRA_EASYVDR}" = "y" ]; then
PKG_DEPENDS_TARGET+=" _vdr-plugin-easyvdr"
Expand Down

0 comments on commit dc7f349

Please sign in to comment.