Index: head/audio/tuneradio/Makefile =================================================================== --- head/audio/tuneradio/Makefile (revision 528631) +++ head/audio/tuneradio/Makefile (revision 528632) @@ -1,18 +1,22 @@ # Created by: pozar # $FreeBSD$ PORTNAME= tuneradio PORTVERSION= 1.3 CATEGORIES= audio MASTER_SITES= http://www.lns.com/papers/tuneradio/ \ http://cvsup1.theplanet.com/distfiles/ MAINTAINER= pozar@lns.com COMMENT= Command line method of tuning a Brooktree FM tuner card +.if !exists(/usr/include/dev/bktr/ioctl_bt848.h) +IGNORE= needs bktr(4) which is no longer available on your FreeBSD version +.endif + PLIST_FILES= bin/tuneradio do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tuneradio ${STAGEDIR}${PREFIX}/bin .include Index: head/audio/xmradio/Makefile =================================================================== --- head/audio/xmradio/Makefile (revision 528631) +++ head/audio/xmradio/Makefile (revision 528632) @@ -1,22 +1,25 @@ # Created by: Thomas Runge # $FreeBSD$ PORTNAME= xmradio PORTVERSION= 1.2 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= https://BSDforge.com/projects/source/audio/xmradio/ MAINTAINER= portmaster@BSDforge.com COMMENT= Motif based FM tuner (for use with bktr(4) driver) LICENSE= BSD2CLAUSE +.if !exists(/usr/include/dev/bktr/ioctl_bt848.h) +IGNORE= needs bktr(4) which is no longer available on your FreeBSD version +.endif ONLY_FOR_ARCHS= i386 amd64 USES= imake motif xorg USE_XORG= ice sm x11 xext xmu xpm xt PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio .include Index: head/multimedia/bsdbktr_tvtune/Makefile =================================================================== --- head/multimedia/bsdbktr_tvtune/Makefile (revision 528631) +++ head/multimedia/bsdbktr_tvtune/Makefile (revision 528632) @@ -1,22 +1,26 @@ # Created by: Mina Naguib # $FreeBSD$ PORTNAME= bsdbktr_tvtune PORTVERSION= 0.02 CATEGORIES= multimedia MASTER_SITES= http://mina.naguib.ca/dist/ MAINTAINER= mina.website@naguib.ca COMMENT= Console Brooktree (bktr) TV tuner LICENSE= NONE +.if !exists(/usr/include/dev/bktr/ioctl_bt848.h) +IGNORE= needs bktr(4) which is no longer available on your FreeBSD version +.endif ONLY_FOR_ARCHS= i386 + PLIST_FILES= bin/bsdbktr_tvtune WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= bsdbktr_tvtune do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bsdbktr_tvtune ${STAGEDIR}${PREFIX}/bin .include Index: head/multimedia/camserv/Makefile =================================================================== --- head/multimedia/camserv/Makefile (revision 528631) +++ head/multimedia/camserv/Makefile (revision 528632) @@ -1,51 +1,56 @@ # Created by: Chuck Hein & Jim Overholt # $FreeBSD$ PORTNAME= camserv PORTVERSION= 0.5.1 PORTREVISION= 20 PORTEPOCH= 1 CATEGORIES= multimedia MASTER_SITES= SF/cserv/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Free program to do streaming video via the web LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl USES= autoreconf jpeg libtool GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= IMLIB2 PIXBUF V4L DOCS -OPTIONS_DEFAULT=IMLIB2 -OPTIONS_SUB= yes +OPTIONS_DEFINE= BKTR IMLIB2 PIXBUF V4L DOCS +OPTIONS_DEFAULT= BKTR IMLIB2 +.if !exists(/usr/include/dev/bktr/ioctl_bt848.h) +OPTIONS_EXCLUDE= BKTR +.endif +OPTIONS_SUB= yes + +BKTR_DESC= bktr(4) support IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CONFIGURE_OFF= ac_cv_path_IMLIB2_CONFIG=no PIXBUF_USES= gnome PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_CONFIGURE_OFF= ac_cv_path_GDKPIXBUF_CONFIG=no V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_CONFIGURE_OFF= ac_cv_header_linux_videodev_h=no post-patch: .for i in common/Makefile.am relay/Makefile.am @${REINPLACE_CMD} -e \ '/^CFLAGS/s|-g||' ${WRKSRC}/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README javascript.txt \ ${STAGEDIR}${DOCSDIR}) .include Index: head/multimedia/camserv/pkg-plist =================================================================== --- head/multimedia/camserv/pkg-plist (revision 528631) +++ head/multimedia/camserv/pkg-plist (revision 528632) @@ -1,38 +1,38 @@ bin/camserv bin/relay %%PIXBUF%%lib/camserv/libgdk_pixbuf_filter.a %%PIXBUF%%lib/camserv/libgdk_pixbuf_filter.so %%PIXBUF%%lib/camserv/libgdk_pixbuf_filter.so.0 %%PIXBUF%%lib/camserv/libgdk_pixbuf_filter.so.0.0.0 %%IMLIB2%%lib/camserv/libimlib2_filter.a %%IMLIB2%%lib/camserv/libimlib2_filter.so %%IMLIB2%%lib/camserv/libimlib2_filter.so.0 %%IMLIB2%%lib/camserv/libimlib2_filter.so.0.0.0 lib/camserv/libjpg_filter.a lib/camserv/libjpg_filter.so lib/camserv/libjpg_filter.so.0 lib/camserv/libjpg_filter.so.0.0.0 lib/camserv/librand_filter.a lib/camserv/librand_filter.so lib/camserv/librand_filter.so.0 lib/camserv/librand_filter.so.0.0.0 lib/camserv/libtext_filter.a lib/camserv/libtext_filter.so lib/camserv/libtext_filter.so.0 lib/camserv/libtext_filter.so.0.0.0 lib/camserv/libvideo_basic.a lib/camserv/libvideo_basic.so lib/camserv/libvideo_basic.so.0 lib/camserv/libvideo_basic.so.0.0.0 -lib/camserv/libvideo_fbsd_bttv.a -lib/camserv/libvideo_fbsd_bttv.so -lib/camserv/libvideo_fbsd_bttv.so.0 -lib/camserv/libvideo_fbsd_bttv.so.0.0.0 +%%BKTR%%lib/camserv/libvideo_fbsd_bttv.a +%%BKTR%%lib/camserv/libvideo_fbsd_bttv.so +%%BKTR%%lib/camserv/libvideo_fbsd_bttv.so.0 +%%BKTR%%lib/camserv/libvideo_fbsd_bttv.so.0.0.0 %%V4L%%lib/camserv/libvideo_v4l.a %%V4L%%lib/camserv/libvideo_v4l.so %%V4L%%lib/camserv/libvideo_v4l.so.0 %%V4L%%lib/camserv/libvideo_v4l.so.0.0.0 %%DATADIR%%/camserv.cfg.dist %%DATADIR%%/defpage.html %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/javascript.txt Index: head/multimedia/fxtv/Makefile =================================================================== --- head/multimedia/fxtv/Makefile (revision 528631) +++ head/multimedia/fxtv/Makefile (revision 528632) @@ -1,38 +1,41 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= fxtv PORTVERSION= 1.03 PORTREVISION= 13 CATEGORIES= multimedia MASTER_SITES= LOCAL/sanpei MAINTAINER= ports@FreeBSD.org COMMENT= X11-based TV display and capture application (for use with bt848 driver) LICENSE= BSD2CLAUSE +.if !exists(/usr/include/dev/bktr/ioctl_bt848.h) +IGNORE= needs bktr(4) which is no longer available on your FreeBSD version +.endif ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libtiff.so:graphics/tiff \ libXaw3d.so:x11-toolkits/Xaw3d USES= gmake jpeg tar:tgz xorg MAKE_ENV= X11BASE=${LOCALBASE} USE_XORG= ice sm x11 xaw xext xmu xt xpm xxf86vm xxf86dga MAKE_FLAGS= -e OPTIONS_DEFINE= EXTRA EXTRA_DESC= Extra programs required to record/playback/save # This program does not actually require the programs below unless you # use audio/video recording and/or playback and save to a non-raw format. EXTRA_RUN_DEPENDS= sox:audio/sox \ mpg123:audio/mpg123 \ mpeg_encode:multimedia/mpeg_encode \ mplex:multimedia/mplex pre-install: @${CP} -p ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man .include Index: head/multimedia/xawtv/Makefile =================================================================== --- head/multimedia/xawtv/Makefile (revision 528631) +++ head/multimedia/xawtv/Makefile (revision 528632) @@ -1,100 +1,100 @@ # Created by: George Reid # $FreeBSD$ PORTNAME= xawtv PORTVERSION= 3.106 CATEGORIES= multimedia MASTER_SITES= http://linuxtv.org/downloads/xawtv/ MAINTAINER= oliver@FreeBSD.org COMMENT= TV viewing application and a few TV utilities BUILD_DEPENDS= ${LOCALBASE}/share/fonts/misc/led-iso8859-1.pcf.gz:x11-fonts/tv-fonts RUN_DEPENDS= ${LOCALBASE}/share/fonts/misc/led-iso8859-1.pcf.gz:x11-fonts/tv-fonts LIB_DEPENDS= libpng.so:graphics/png -OPTIONS_DEFINE= AALIB DV QUICKTIME ZVBI +OPTIONS_DEFINE= AALIB BKTR DV QUICKTIME ZVBI OPTIONS_DEFINE_i386= MMX -OPTIONS_DEFAULT= AALIB +OPTIONS_DEFAULT= AALIB BKTR +.if !exists(/usr/include/dev/bktr/ioctl_bt848.h) +OPTIONS_EXCLUDE= BKTR +.endif +OPTIONS_SUB= yes + +BKTR_DESC= bktr(4) support ZVBI_DESC= Enable libzvbi support +BKTR_MAKE_ARGS= HAVE_BKTR=yes + USES= gmake iconv jpeg motif ncurses perl5 tar:bzip2 pkgconfig xorg GNU_CONFIGURE= yes USE_XORG= x11 xaw CPPFLAGS+= -I${WRKSRC}/common LIBS+= -L${LOCALBASE}/lib MAKE_ENV= verbose=yes USE_LDCONFIG= yes ONLY_FOR_ARCHS= amd64 i386 FILES_LIBJPEG= console/Subdir.mk x11/Subdir.mk libng/plugins/Subdir.mk .include .if ${PORT_OPTIONS:MAALIB} CONFIGURE_ARGS+=--enable-aa LIB_DEPENDS+= libaa.so:graphics/aalib -PLIST_SUB+= AA="" .else CONFIGURE_ARGS+=--disable-aa -PLIST_SUB+= AA="@comment " .endif .if ${PORT_OPTIONS:MZVBI} LIB_DEPENDS+= libzvbi.so:devel/libzvbi CONFIGURE_ARGS+=--enable-zvbi -PLIST_SUB+= ZVBI="" .else CONFIGURE_ARGS+=--enable-zvbi=no -PLIST_SUB+= ZVBI="@comment " .endif .if ${PORT_OPTIONS:MDV} LIB_DEPENDS+= libdv.so:multimedia/libdv CONFIGURE_ARGS+=--enable-dv -PLIST_SUB+= DV= .else CONFIGURE_ARGS+=--enable-dv=no -PLIST_SUB+= DV="@comment " .endif .if ${PORT_OPTIONS:MMMX} CONFIGURE_ARGS+=--enable-mmx CFLAGS+= -DMMX=1 .endif .if ${PORT_OPTIONS:MQUICKTIME} CONFIGURE_ARGS+=--enable-quicktime LIB_DEPENDS+= libquicktime.so:multimedia/libquicktime -PLIST_SUB+= QT= .else CONFIGURE_ARGS+=--enable-quicktime=no -PLIST_SUB+= QT="@comment " .endif PLIST_SUB+= X11PREFIX=${LOCALBASE} post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \ s|/usr/local|${LOCALBASE}|g; \ s|-lquicktime|-L${LOCALBASE}/lib &|g; \ s|LIBV4L="yes"|LIBV4L="no"|g; \ s|-lunicode|-liconv &|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-ldl||g' \ ${WRKSRC}/console/Subdir.mk \ ${WRKSRC}/x11/Subdir.mk @${REINPLACE_CMD} -e 's|linuxyesyes|bsdyesyes|g' \ ${WRKSRC}/x11/Subdir.mk @${REINPLACE_CMD} -e 's|\(@CFLAGS@.*\)\$$(LIB_FLAGS) |\$$(LIB_FLAGS) \1|g; \ s|-Llibng||g' \ ${WRKSRC}/Makefile.in .for i in ${FILES_LIBJPEG} @${REINPLACE_CMD} -e "s|-ljpeg|-L${LOCALBASE}/lib -ljpeg|g" ${WRKSRC}/$i .endfor .include Index: head/multimedia/xawtv/files/patch-libng_plugins_Subdir.mk =================================================================== --- head/multimedia/xawtv/files/patch-libng_plugins_Subdir.mk (nonexistent) +++ head/multimedia/xawtv/files/patch-libng_plugins_Subdir.mk (revision 528632) @@ -0,0 +1,16 @@ +--- libng/plugins/Subdir.mk.orig 2020-03-18 04:43:15 UTC ++++ libng/plugins/Subdir.mk +@@ -28,9 +28,11 @@ TARGETS-plugins += \ + libng/plugins/drv0-libv4l.so + endif + ifeq ($(FOUND_OS),bsd) ++ifeq ($(HAVE_BKTR),yes) + TARGETS-plugins += \ +- libng/plugins/drv0-bsd.so \ +- libng/plugins/snd-oss.so ++ libng/plugins/drv0-bsd.so ++endif ++TARGETS-plugins += libng/plugins/snd-oss.so + endif + + GONE-plugins := \ Property changes on: head/multimedia/xawtv/files/patch-libng_plugins_Subdir.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/xawtv/pkg-plist =================================================================== --- head/multimedia/xawtv/pkg-plist (revision 528631) +++ head/multimedia/xawtv/pkg-plist (revision 528632) @@ -1,103 +1,103 @@ %%ZVBI%%bin/alevtd bin/dump-mixers bin/motv %%ZVBI%%bin/mtt bin/ntsc-cc bin/pia bin/propwatch bin/record bin/rootv %%ZVBI%%bin/scantv bin/showqt bin/showriff bin/streamer bin/subtitles -%%AA%%bin/ttv +%%AALIB%%bin/ttv bin/v4lctl bin/webcam bin/xawtv bin/xawtv-remote lib/xawtv/bilinear.so lib/xawtv/conv-mjpeg.so lib/xawtv/cubic.so -lib/xawtv/drv0-bsd.so +%%BKTR%%lib/xawtv/drv0-bsd.so lib/xawtv/flt-disor.so lib/xawtv/flt-gamma.so lib/xawtv/flt-invert.so lib/xawtv/flt-smooth.so lib/xawtv/linear-blend.so lib/xawtv/linedoubler.so lib/xawtv/read-avi.so %%DV%%lib/xawtv/read-dv.so -%%QT%%lib/xawtv/read-qt.so +%%QUICKTIME%%lib/xawtv/read-qt.so lib/xawtv/snd-oss.so lib/xawtv/write-avi.so %%DV%%lib/xawtv/write-dv.so -%%QT%%lib/xawtv/write-qt.so +%%QUICKTIME%%lib/xawtv/write-qt.so man/man1/alevtd.1.gz man/man1/dump-mixers.1.gz man/man1/fbtv.1.gz man/man1/motv.1.gz man/man1/mtt.1.gz man/man1/ntsc-cc.1.gz man/man1/pia.1.gz man/man1/propwatch.1.gz man/man1/radio.1.gz man/man1/record.1.gz man/man1/rootv.1.gz man/man1/scantv.1.gz man/man1/showriff.1.gz man/man1/streamer.1.gz man/man1/subtitles.1.gz man/man1/ttv.1.gz man/man1/v4l-info.1.gz man/man1/v4lctl.1.gz man/man1/webcam.1.gz man/man1/xawtv-remote.1.gz man/man1/xawtv.1.gz man/man5/xawtvrc.5.gz man/man8/v4l-conf.8.gz man/es/man1/fbtv.1.gz man/es/man1/rootv.1.gz man/es/man1/scantv.1.gz man/es/man1/streamer.1.gz man/es/man1/subtitles.1.gz man/es/man1/ttv.1.gz man/es/man1/v4lctl.1.gz man/es/man1/xawtv-remote.1.gz man/es/man1/xawtv.1.gz man/es/man5/xawtvrc.5.gz man/es/man8/v4l-conf.8.gz man/fr/man1/xawtv.1.gz share/xawtv/Index.map share/xawtv/argentina.list share/xawtv/ccir-h.list share/xawtv/ccir-i-iii.list share/xawtv/ccir-sl-sh.list share/xawtv/europe-east.list share/xawtv/europe-west.list share/xawtv/ntsc-bcast-jp.list share/xawtv/ntsc-bcast.list share/xawtv/ntsc-cable-ca.list share/xawtv/ntsc-cable-jp.list share/xawtv/ntsc-cable.list share/xawtv/ntsc-hrc.list share/xawtv/oirt-h.list share/xawtv/oirt-i-iii.list share/xawtv/oirt-sl-sh.list share/xawtv/pal-australia-optus.list share/xawtv/pal-australia.list share/xawtv/pal-bcast-cn.list share/xawtv/pal-bcast-za.list share/xawtv/pal-ireland.list share/xawtv/pal-italy.list share/xawtv/pal-newzealand.list share/xawtv/secam-france.list share/xawtv/secam-russia.list share/xawtv/uhf.list lib/X11/app-defaults/MoTV lib/X11/app-defaults/Xawtv lib/X11/app-defaults/mtt lib/X11/de_DE.UTF-8/app-defaults/MoTV lib/X11/fr_FR.UTF-8/app-defaults/MoTV lib/X11/it_IT.UTF-8/app-defaults/MoTV