mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Scantv is now able to detect stations. Actually You still won't get the
station-names Bump PORTREVISION
This commit is contained in:
parent
9c902952a6
commit
1628aa3dc7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100722
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= xawtv
|
||||
PORTVERSION= 3.91
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://bytesex.org/xawtv/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
@ -94,7 +94,7 @@ pre-everything::
|
||||
@${ECHO} " WITH_LIBDV=yes Enable reading/writing raw dv files"
|
||||
@${ECHO} " WITH_LIBQTIME=yes Enable quicktime support"
|
||||
@${ECHO} " WITH_LIBZVBI=yes Enable libzvbi support"
|
||||
@${ECHO} " (scantv compiles, but doesn't work for me)"
|
||||
@${ECHO} " (You wont get station names)"
|
||||
@${ECHO} " WITH_MMX=yes Enable mmx support"
|
||||
@${ECHO} ""
|
||||
|
||||
|
14
multimedia/xawtv/files/patch-console::scantv.c
Normal file
14
multimedia/xawtv/files/patch-console::scantv.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- console/scantv.c.orig Wed Feb 11 23:14:16 2004
|
||||
+++ console/scantv.c Wed Feb 11 23:15:04 2004
|
||||
@@ -245,7 +245,11 @@
|
||||
fprintf(stderr,"no station\n");
|
||||
continue;
|
||||
}
|
||||
+#ifdef __FreeBSD__ /* Actually it won't work for FreeBSD... */
|
||||
+ name = NULL;
|
||||
+#else
|
||||
name = get_vbi_name(vbi);
|
||||
+#endif
|
||||
fprintf(stderr, "%s\n", name ? name : "???");
|
||||
if (NULL == name) {
|
||||
sprintf(dummy,"unknown (%s)",chanlist[i].name);
|
19
multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
Normal file
19
multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- libng/plugins/drv0-bsd.c.orig Wed Feb 11 23:13:04 2004
|
||||
+++ libng/plugins/drv0-bsd.c Wed Feb 11 23:13:10 2004
|
||||
@@ -599,7 +599,15 @@
|
||||
|
||||
static int bsd_tuned(void *handle)
|
||||
{
|
||||
- return 0;
|
||||
+ struct bsd_handle *h = handle;
|
||||
+ int signal;
|
||||
+
|
||||
+ usleep(10000);
|
||||
+
|
||||
+ if (-1 == xioctl(h->tfd, TVTUNER_GETSTATUS, &signal))
|
||||
+ return 0;
|
||||
+
|
||||
+ return signal == 106 ? 1 : 0;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
Loading…
Reference in New Issue
Block a user