summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-01 16:17:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-01 16:17:56 +0000
commit1af3e66fa251f8f2030c331f929ba075704f28e0 (patch)
tree34bf027bf4e3ae9f06ead8427caea5e3116a39e7 /multimedia
parent- Update to 1.39 (diff)
cx88 provides drivers for TV/radio capture cards based on
the Conexant CX23880/1/2/3 series of chips. This port includes the cx88 kernel drivers as well as a simple app for HDTV capture. It requires multimedia/libtuner for channel selection and peripheral configuration. PR: 127669 Submitted by: Jason Harmening <jason dot harmening at gmail dot com>
Notes
Notes: svn path=/head/; revision=221088
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/cx88/Makefile34
-rw-r--r--multimedia/cx88/distinfo3
-rw-r--r--multimedia/cx88/pkg-descr5
-rw-r--r--multimedia/cx88/pkg-plist33
5 files changed, 76 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index ff653d00ce9a..c27605f36e5d 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -19,6 +19,7 @@
SUBDIR += castpodder
SUBDIR += cheese
SUBDIR += clive
+ SUBDIR += cx88
SUBDIR += devede
SUBDIR += dirac
SUBDIR += dirac-reference
diff --git a/multimedia/cx88/Makefile b/multimedia/cx88/Makefile
new file mode 100644
index 000000000000..5b994b55e055
--- /dev/null
+++ b/multimedia/cx88/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: cx88
+# Date created: 7 September 2008
+# Whom: jah
+#
+# $FreeBSD$
+#
+
+PORTNAME= cx88
+PORTVERSION= 1.0.1
+CATEGORIES= multimedia kld
+MASTER_SITES= ftp://corona.homeunix.net/ports/cx88/
+EXTRACT_ONLY= cx88-${PORTVERSION}.tar.gz
+
+MAINTAINER= jason.harmening@gmail.com
+COMMENT= Drivers for Conexant CX23880/1/2/3-based TV/radio capture cards
+
+LIB_DEPENDS= tuner:${PORTSDIR}/multimedia/libtuner
+BUILD_DEPENDS= ${LOCALBASE}/lib/libezxml.a:${PORTSDIR}/textproc/ezxml
+
+KMODDIR= /boot/modules
+PLIST_SUB+= KMODDIR=${KMODDIR}
+MAKE_ARGS+= LIBTUNER_LIB=${LOCALBASE}/lib/libtuner LIBTUNER_HEADER=${LOCALBASE}/include/libtuner KMODDIR=${KMODDIR}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700055
+IGNORE= requires FreeBSD 7.0-RELEASE or later
+.endif
+
+.if !exists(/usr/src/sys/Makefile)
+IGNORE= requires kernel source files
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/cx88/distinfo b/multimedia/cx88/distinfo
new file mode 100644
index 000000000000..1c7a3f39e3a7
--- /dev/null
+++ b/multimedia/cx88/distinfo
@@ -0,0 +1,3 @@
+MD5 (cx88-1.0.1.tar.gz) = bab32b056819b5665862abb58eb9c262
+SHA256 (cx88-1.0.1.tar.gz) = de926651cf76f1d8bf2ba771803bf66738905bb6ba224633ffb849be48027fff
+SIZE (cx88-1.0.1.tar.gz) = 123639
diff --git a/multimedia/cx88/pkg-descr b/multimedia/cx88/pkg-descr
new file mode 100644
index 000000000000..2d1b5b2a815d
--- /dev/null
+++ b/multimedia/cx88/pkg-descr
@@ -0,0 +1,5 @@
+cx88 provides drivers for TV/radio capture cards based on
+the Conexant CX23880/1/2/3 series of chips. This port
+includes the cx88 kernel drivers as well as a simple app
+for HDTV capture. It requires multimedia/libtuner for
+channel selection and peripheral configuration.
diff --git a/multimedia/cx88/pkg-plist b/multimedia/cx88/pkg-plist
new file mode 100644
index 000000000000..ad4b73b91a86
--- /dev/null
+++ b/multimedia/cx88/pkg-plist
@@ -0,0 +1,33 @@
+bin/cx88
+%%DATADIR%%/or51132_qam.fw
+%%DATADIR%%/or51132_vsb.fw
+%%EXAMPLESDIR%%/cx88.xml.sample
+%%EXAMPLESDIR%%/cx88_audio_client.cpp
+%%EXAMPLESDIR%%/cx88_audio_enable.cpp
+%%EXAMPLESDIR%%/hd3k_analog_kbuf.cpp
+%%EXAMPLESDIR%%/hd3k_analog_ubuf.cpp
+%%EXAMPLESDIR%%/hd3k_mpeg_kbuf.cpp
+%%EXAMPLESDIR%%/hd3k_mpeg_ubuf.cpp
+%%EXAMPLESDIR%%/hd5k_analog_ubuf.cpp
+%%EXAMPLESDIR%%/hd5k_mpeg_kbuf.cpp
+%%EXAMPLESDIR%%/hd5k_mpeg_ubuf.cpp
+%%EXAMPLESDIR%%/remote.cpp
+%%EXAMPLESDIR%%/tuner_config
+include/iicdev/iicdev_ioctl.h
+include/cx88/cx88_mpeg_ioctl.h
+include/cx88/cx88_video_ioctl.h
+include/cx88/cx88_audio_ioctl.h
+@dirrm include/iicdev
+@dirrm include/cx88
+@dirrm %%EXAMPLESDIR%%
+@dirrm %%DATADIR%%
+@cwd %%KMODDIR%%
+cx88.ko
+cx88i2c.ko
+iicdev.ko
+cx88ir.ko
+cx88mpeg.ko
+cx88video.ko
+cx88audio.ko
+@exec kldxref %D
+@unexec kldxref %D