[BACK]Return to patch-Makefile.PL CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / acidrip / patches

File: [cvs.NetBSD.org] / pkgsrc / multimedia / acidrip / patches / patch-Makefile.PL (download)

Revision 1.2, Mon Aug 3 11:11:20 2020 UTC (5 months, 2 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Changes since 1.1: +4 -2 lines

(multimedia/acidrip) make mlayer test pass by || echo

$NetBSD: patch-Makefile.PL,v 1.2 2020/08/03 11:11:20 mef Exp $

mplayer > dev/null 2>&1 returns 768, drain it to echo

Don't care if mp3lame is supported in mencoder. LAVC can be used just as well.

--- Makefile.PL.orig	2020-03-29 00:27:46.399480924 +0000
+++ Makefile.PL
@@ -59,19 +59,13 @@ print "test for MPlayer: "; die "Not Fou
   "AcidRip is based around the MPlayer video player. it has not been found on\n" .
   "your current path. Install it from http://mplayerhq/hu see INSTALL.html or\n" .
   "INSTALL for installation instructions.\n" .
-  "***************\n\n" if ( system "mplayer 2&>1 > /dev/null" ); print "found\n";
+  "***************\n\n" if ( system "mplayer > /dev/null 2>&1 || echo" ); print "found\n";
 
 print "test for MEncoder: "; die "Not Found!\n\n***************\n" .
   "AcidRip uses MEncoder, which is part of MPlayer video player package. This\n" .
   "was not found. Install it from http://mplayerhq/hu see INSTALL.html or\n" .
   "INSTALL for installation instructions.\n" .
-  "***************\n\n" if ( system "mencoder -ovc help 2> /dev/null | grep MEncoder > /dev/null" ); print "found\n";
-
-print "test for MP3 support in mencoder: "; die "Not Found!\n\n***************\n" .
-  "MEncoder was found, however it does not have MP3 support built into it.\n" .
-  "If you DO want MP3 support you'll need to recompile mplayer with mp3 support\n" .
-  "See INSTALL or INSTALL.html for more information\n" .
-  "***************\n\n" if ( system "mencoder -oac help 2> /dev/null | grep mp3lame > /dev/null" ); print "found\n";
+  "***************\n\n" if ( system "2> /dev/null mencoder -ovc help | grep MEncoder > /dev/null" ); print "found\n";
 
 print "Everything looks good here...\n";