hdhomerun utility program and firmware

This commit is contained in:
jolan 2008-11-21 18:39:32 +00:00
parent 90bc2c367d
commit 7687029f57
5 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/21 18:39:32 jolan Exp $
COMMENT= "HDHomeRun Config CLI utility & firmware"
FW= hdhomerun_atsc_firmware_20081002.bin
SRC= libhdhomerun_20081002.tgz
DISTFILES= ${FW} ${SRC}
EXTRACT_ONLY= ${SRC}
PKGNAME= hdhomerun-20081002
CATEGORIES= multimedia
MASTER_SITES= http://download.silicondust.com/hdhomerun/
HOMEPAGE= http://www.silicondust.com/
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
ALL_TARGET= hdhomerun_config
NO_REGRESS= Yes
USE_GMAKE= Yes
WANTLIB= c pthread
WRKDIST= ${WRKDIR}/libhdhomerun
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/hdhomerun_config ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/hdhomerun
${INSTALL_DATA} ${FULLDISTDIR}/${FW} ${PREFIX}/share/hdhomerun
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
MD5 (hdhomerun_atsc_firmware_20081002.bin) = EVCMGN/iGtoCas9wBKWa3Q==
MD5 (libhdhomerun_20081002.tgz) = UCniKkrjzE2mj0msJGC8Hg==
RMD160 (hdhomerun_atsc_firmware_20081002.bin) = I7y9bFG82WAkPEgG8wnSlFH4jTg=
RMD160 (libhdhomerun_20081002.tgz) = n4lyGT20F7AQkf7OtFBDi9DTC8E=
SHA1 (hdhomerun_atsc_firmware_20081002.bin) = uUsa0i5tVmodeQQLayIa6A0dB8M=
SHA1 (libhdhomerun_20081002.tgz) = a5ylGlu/nowocHNIEu2Iq8bGGig=
SHA256 (hdhomerun_atsc_firmware_20081002.bin) = CnUThpEmhiCK7Re7XnVqL1ElwOaU4MCCENDEsxuvfVg=
SHA256 (libhdhomerun_20081002.tgz) = cSEYN9QbNlUpkA8QDwULqcAvdPrO5YrwZxmfQlhRXJE=
SIZE (hdhomerun_atsc_firmware_20081002.bin) = 126976
SIZE (libhdhomerun_20081002.tgz) = 32301

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/11/21 18:39:32 jolan Exp $
--- Makefile.orig Thu Sep 25 18:36:15 2008
+++ Makefile Thu Nov 20 11:18:21 2008
@@ -7,8 +7,8 @@ LIBSRCS += hdhomerun_control.c
LIBSRCS += hdhomerun_video.c
LIBSRCS += hdhomerun_device.c
-CFLAGS += -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
-LDFLAGS += -lpthread
+CFLAGS += -Wall -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+LDFLAGS += -pthread
ifeq ($(OS),Windows_NT)
BINEXT := .exe
@@ -24,7 +24,6 @@ endif
hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS)
$(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
- strip $@
libhdhomerun$(LIBEXT) : $(LIBSRCS)
$(CC) $(CFLAGS) -fPIC -DDLL_EXPORT -shared -Wl,-soname,libhdhomerun$(LIBEXT) $+ $(LDFLAGS) -o $@

View File

@ -0,0 +1,6 @@
This package contains the HDHomeRun Config CLI Utility with firmware.
More information on the use of this utility can be found at the
following URL:
http://www.silicondust.com/support

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/21 18:39:32 jolan Exp $
@bin bin/hdhomerun_config
share/hdhomerun/
share/hdhomerun/hdhomerun_atsc_firmware_20081002.bin