pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/acidrip Don't require mencoder to support m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7e4af9ff91b
branches:  trunk
changeset: 414496:c7e4af9ff91b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Mar 29 01:05:18 2020 +0000

description:
Don't require mencoder to support mp3lame backend as acidrip supports
LAVC as well.

diffstat:

 multimedia/acidrip/Makefile                  |   3 ++-
 multimedia/acidrip/distinfo                  |   3 ++-
 multimedia/acidrip/patches/patch-Makefile.PL |  28 ++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 2 deletions(-)

diffs (61 lines):

diff -r 1a77baa5da6f -r c7e4af9ff91b multimedia/acidrip/Makefile
--- a/multimedia/acidrip/Makefile       Sun Mar 29 01:04:06 2020 +0000
+++ b/multimedia/acidrip/Makefile       Sun Mar 29 01:05:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2019/11/03 17:11:59 rillig Exp $
+# $NetBSD: Makefile,v 1.27 2020/03/29 01:05:18 joerg Exp $
 #
 
 DISTNAME=      acidrip-0.14
@@ -10,6 +10,7 @@
 #HOMEPAGE=     http://untrepid.com/acidrip/
 COMMENT=       Gtk2::Perl application for ripping and encoding DVDs
 
+DEPENDS+=      lame-[0-9]*:../../audio/lame
 DEPENDS+=      lsdvd-[0-9]*:../../multimedia/lsdvd
 DEPENDS+=      mencoder-[0-9]*:../../multimedia/mencoder
 DEPENDS+=      mplayer-[0-9]*:../../multimedia/mplayer
diff -r 1a77baa5da6f -r c7e4af9ff91b multimedia/acidrip/distinfo
--- a/multimedia/acidrip/distinfo       Sun Mar 29 01:04:06 2020 +0000
+++ b/multimedia/acidrip/distinfo       Sun Mar 29 01:05:18 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 23:54:22 agc Exp $
+$NetBSD: distinfo,v 1.5 2020/03/29 01:05:18 joerg Exp $
 
 SHA1 (acidrip-0.14.tar.gz) = 5873c835c0d52edc2c1a799e9751980b6c7cc4f1
 RMD160 (acidrip-0.14.tar.gz) = 14d0f5969fdc5f0c6777e4bfdd38628d0c747608
 SHA512 (acidrip-0.14.tar.gz) = 3ee0e329bd7e5eb4067d618fc79a49707084526d53e8c10cd9ec560828cf621e8d7263259cc8bc7944e6f9d7b7fd1fc5b8a42a8f37f18666f1974f240edb99a0
 Size (acidrip-0.14.tar.gz) = 92086 bytes
+SHA1 (patch-Makefile.PL) = 914aa3d1a8a7aa3ee2ad6b4b989e8afe17dd920c
diff -r 1a77baa5da6f -r c7e4af9ff91b multimedia/acidrip/patches/patch-Makefile.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/acidrip/patches/patch-Makefile.PL      Sun Mar 29 01:05:18 2020 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2020/03/29 01:05:18 joerg Exp $
+
+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" ); 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"; 
+ 



Home | Main Index | Thread Index | Old Index