aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-18 07:38:12 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-18 07:38:12 +0800
commitc26aadef633224b207b98b6037182948578ce89f (patch)
treef4e1409526d7900982d3ee5cf614411ac9916ecc /multimedia
parent03f877a4190e853e3776da37c725209a23d1d0f6 (diff)
downloadfreebsd-ports-gnome-c26aadef633224b207b98b6037182948578ce89f.tar.gz
freebsd-ports-gnome-c26aadef633224b207b98b6037182948578ce89f.tar.zst
freebsd-ports-gnome-c26aadef633224b207b98b6037182948578ce89f.zip
- Update to 1.4.3
--Add support for HAL registration of DVB devices (required by Kaffeine) --New input source selection mechanism for capture app --Various usability/performance improvements PR: ports/169086 Submitted by: Jason Harmening <jason.harmening@gmail.com> (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/cx88/Makefile35
-rw-r--r--multimedia/cx88/distinfo4
2 files changed, 31 insertions, 8 deletions
diff --git a/multimedia/cx88/Makefile b/multimedia/cx88/Makefile
index b72258b20e29..876681ec1a5e 100644
--- a/multimedia/cx88/Makefile
+++ b/multimedia/cx88/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cx88
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.3
CATEGORIES= multimedia kld
MASTER_SITES= ftp://corona.homeunix.net/ports/cx88/
@@ -17,24 +17,47 @@ LICENSE= BSD
LIB_DEPENDS= tuner.1:${PORTSDIR}/multimedia/libtuner
BUILD_DEPENDS= ${LOCALBASE}/lib/libezxml.a:${PORTSDIR}/textproc/ezxml \
- libtuner>=1.0.8:${PORTSDIR}/multimedia/libtuner
+ libtuner>=1.0.9:${PORTSDIR}/multimedia/libtuner
KMODDIR= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR}
MAKE_ARGS+= LIBTUNER_LIB=${LOCALBASE}/lib/libtuner LIBTUNER_HEADER=${LOCALBASE}/include/libtuner KMODDIR=${KMODDIR}
MAKE_JOBS_UNSAFE= yes
+OPTIONS_DEFINE= DEBUG LINUX_COMPAT HAL
+
+DEBUG_DESC= Build with debugging and verbose output enabled
+LINUX_COMPAT_DESC= Support for Linux DVB and radio devices (requires FreeBSD 8.1+)
+HAL_DESC= Register Linux DVB devices with HAL
+
+OPTIONS_DEFAULT= LINUX_COMPAT
+
+.include <bsd.port.options.mk>
+
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MDEBUG}
+MAKE_ARGS+= DIAGNOSTIC=0x7f
+.endif
+
.if (${OSVERSION} >= 801000)
-LIB_DEPENDS+= cuse4bsd.1:${PORTSDIR}/multimedia/cuse4bsd-kmod
-BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \
+.if ${PORT_OPTIONS:MLINUX_COMPAT}
+LIB_DEPENDS+= cuse4bsd.1:${PORTSDIR}/multimedia/cuse4bsd-kmod
+BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \
cuse4bsd-kmod>=0.1.12:${PORTSDIR}/multimedia/cuse4bsd-kmod
-MAKE_ARGS+= -D WITH_LINUX_COMPAT
+MAKE_ARGS+= -D WITH_LINUX_COMPAT
+.if ${PORT_OPTIONS:MHAL}
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal \
+ dbus-1:${PORTSDIR}/devel/dbus
+BUILD_DEPENDS+= hal>=0.5.14:${PORTSDIR}/sysutils/hal \
+ dbus>=1.4.0:${PORTSDIR}/devel/dbus
+MAKE_ARGS+= -D WITH_HAL
+.endif
+.endif
.endif
.if (${OSVERSION} < 704000) || ((${OSVERSION} >= 800000) && (${OSVERSION} < 801000))
-IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
+IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
.endif
.if !exists(${SRC_BASE}/sys/Makefile)
diff --git a/multimedia/cx88/distinfo b/multimedia/cx88/distinfo
index cc6734b0a80a..077e00bd96a9 100644
--- a/multimedia/cx88/distinfo
+++ b/multimedia/cx88/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cx88-1.4.2.tar.gz) = c9127481fbed600452f043ae3f395c29b2cac88db5ee84f1786f07336ca7c8ec
-SIZE (cx88-1.4.2.tar.gz) = 182216
+SHA256 (cx88-1.4.3.tar.gz) = 5955ea85157faa049ac1977c11815f967b6006ebe7e9b4602b71452087834411
+SIZE (cx88-1.4.3.tar.gz) = 186964