Hi.

I'm resposting this fix since I never got any feedback from the maintainer.

- use RAW format for the intermediate audio file (fixes a "no sound"
  issue)
- add graphics/netpbm to RUN_DEPENDS (pretty much useless otherwise)

Looks ok?

--
Antoine
Index: fxtv//Makefile
===================================================================
RCS file: /cvs/ports/graphics/fxtv/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- fxtv//Makefile      2 Aug 2006 10:10:35 -0000       1.33
+++ fxtv//Makefile      18 Oct 2006 10:47:28 -0000
@@ -4,7 +4,7 @@
 
 COMMENT=       "Display and capture for Brooktree-based cards"
 DISTNAME=      fxtv-1.03
-PKGNAME=       ${DISTNAME}p0
+PKGNAME=       ${DISTNAME}p1
 
 CATEGORIES=    graphics
 HOMEPAGE=      http://people.freebsd.org/~rhh/fxtv/
@@ -21,7 +21,8 @@
                :mpg321-*:audio/mpg321 \
                :mp3encode-*:audio/mp3encode \
                :mpeg_encode->=1.5:graphics/mpeg_encode \
-               :mplex->=1.1:graphics/mplex
+               :mplex->=1.1:graphics/mplex \
+               :netpbm-*:graphics/netpbm
 
 MAINTAINER=    Wilbern Cobb <[EMAIL PROTECTED]>
 
Index: fxtv//patches/patch-fxtv_cnvt_sh
===================================================================
RCS file: /cvs/ports/graphics/fxtv/patches/patch-fxtv_cnvt_sh,v
retrieving revision 1.3
diff -u -r1.3 patch-fxtv_cnvt_sh
--- fxtv//patches/patch-fxtv_cnvt_sh    3 Jan 2004 14:23:24 -0000       1.3
+++ fxtv//patches/patch-fxtv_cnvt_sh    18 Oct 2006 10:47:28 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-fxtv_cnvt_sh,v 1.3 2004/01/03 14:23:24 espie Exp $
---- fxtv_cnvt.sh.orig  Mon Feb 12 17:18:40 2001
-+++ fxtv_cnvt.sh       Wed Aug 15 13:47:57 2001
+--- fxtv_cnvt.sh.orig  Mon Feb 12 22:18:40 2001
++++ fxtv_cnvt.sh       Wed Oct 18 12:38:30 2006
 @@ -40,12 +40,12 @@
  
  # Default to $PATH
@@ -79,6 +79,17 @@
  
  MPEG_ENC_PARAM_STR_INP_STDIN=\
  'INPUT_DIR         stdin'
+@@ -181,8 +181,8 @@ GenAudioPipe() {
+ 
+    # Do we need an intermediate file?
+    if [ $mpeg_enc = YES ]; then
+-      out_soxfn="$out_fnbase.aiff"
+-      out_soxfmt="AIFF"
++      out_soxfn="$out_fnbase.raw"
++      out_soxfmt="RAW"
+    else
+       out_soxfn="$GAout_fn"
+       out_soxfmt="$out_fmt"
 @@ -344,12 +344,8 @@ vars='$AV_RAW_FILES $AV_TARGET $TARGET_F
  set -- $vars
  missing_var=NO

Reply via email to