pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia Initial checkin of dvd-slideshow.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8cb67019ecb
branches: trunk
changeset: 536916:c8cb67019ecb
user: darcy <darcy%pkgsrc.org@localhost>
date: Fri Dec 28 20:30:46 2007 +0000
description:
Initial checkin of dvd-slideshow.
Version 0.7.5
Script that creates a slideshow-style DVD with some simple menus
diffstat:
multimedia/Makefile | 3 +-
multimedia/dvd-slideshow/DESCR | 4 +
multimedia/dvd-slideshow/Makefile | 67 +++++++++++++++++++++++++++++++
multimedia/dvd-slideshow/PLIST | 11 +++++
multimedia/dvd-slideshow/distinfo | 6 ++
multimedia/dvd-slideshow/patches/patch-aa | 40 ++++++++++++++++++
6 files changed, 130 insertions(+), 1 deletions(-)
diffs (165 lines):
diff -r 07be3c7797a0 -r c8cb67019ecb multimedia/Makefile
--- a/multimedia/Makefile Fri Dec 28 16:15:39 2007 +0000
+++ b/multimedia/Makefile Fri Dec 28 20:30:46 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2007/09/19 23:46:06 wiz Exp $
+# $NetBSD: Makefile,v 1.112 2007/12/28 20:30:46 darcy Exp $
#
COMMENT= Multimedia utilities
@@ -10,6 +10,7 @@
SUBDIR+= dirac
SUBDIR+= divxplayer
SUBDIR+= dumpmpeg
+SUBDIR+= dvd-slideshow
SUBDIR+= dvdauthor
SUBDIR+= dvdbackup
SUBDIR+= dvdrip
diff -r 07be3c7797a0 -r c8cb67019ecb multimedia/dvd-slideshow/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/dvd-slideshow/DESCR Fri Dec 28 20:30:46 2007 +0000
@@ -0,0 +1,4 @@
+Script that creates a slideshow-style dvd with some simple menus
+
+Author: Scott Dylewski <scott @ dylewski . com>
+WWW: http://dvd-slideshow.sourceforge.net/
diff -r 07be3c7797a0 -r c8cb67019ecb multimedia/dvd-slideshow/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/dvd-slideshow/Makefile Fri Dec 28 20:30:46 2007 +0000
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1 2007/12/28 20:30:47 darcy Exp $
+# FreeBSD Id: ports/multimedia/dvd-slideshow/Makefile,v 1.12 2007/09/23 04:42:06 edwin Exp
+
+DISTNAME= dvd-slideshow-0.7.5
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=${PORTNAME}/}
+
+MAINTAINER= darcy%NetBSD.org@localhost
+HOMEPAGE= http://dvd-slideshow.sourceforge.net/
+COMMENT= Script that creates a slideshow-style DVD with some simple menus
+
+DEPENDS += cdrtools:../../sysutils/cdrtools
+DEPENDS += sox:../../audio/sox
+DEPENDS += dvdauthor:../../multimedia/dvdauthor
+DEPENDS += dvd+rw-tools:../../sysutils/dvd+rw-tools
+
+USE_X11BASE=yes
+USE_TOOLS += bash
+NO_BUILD= yes
+SCRIPTS= dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow \
+ jigl2slideshow
+DOC_FILES= changelog.html gallery1-to-slideshow.html \
+ dir2slideshow.html jigl2slideshow.html \
+ dvd-menu.html dvd-slideshow.html
+MAN1= dvd-slideshow.1 dvd-menu.1 dir2slideshow.1 gallery1-to-slideshow.1 \
+ jigl2slideshow.1
+
+REPLACE_BASH = dir2slideshow dvd-burn dvd-encode dvd-iso dvd-menu \
+ dvd-slideshow dvd-slideshow.orig gallery1-to-slideshow \
+ install.sh jigl2slideshow
+
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(${LOCALBASE}/bin/lame)
+DEPENDS+= lame:../../audio/lame
+.endif
+.if exists(${LOCALBASE}/bin/oggdec)
+DEPENDS += vorbis-tools:../../audio/vorbis-tools
+.endif
+
+SUBST_CLASSES+= fonts
+SUBST_STAGE.fonts= post-install
+SUBST_FILES.fonts= dvd-menu dvd-slideshow
+SUBST_SED.fonts= -e 's,/usr/share/fonts/,${X11BASE}/lib/X11/fonts/,g'
+SUBST_MESSAGE.fonts= Fixing hardcoded fonts paths.
+
+do-install:
+.for file in ${SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+
+ @${ECHO_MSG} "Installing man files."
+.for file in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/${PKGMANDIR}/man1
+.endfor
+
+ @${ECHO_MSG} "Installing doc files."
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DOCDIR}
+.for file in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCDIR}
+.endfor
+
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../multimedia/mjpegtools/buildlink3.mk"
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 07be3c7797a0 -r c8cb67019ecb multimedia/dvd-slideshow/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/dvd-slideshow/PLIST Fri Dec 28 20:30:46 2007 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2007/12/28 20:30:47 darcy Exp $
+bin/dir2slideshow
+bin/dvd-menu
+bin/dvd-slideshow
+bin/gallery1-to-slideshow
+bin/jigl2slideshow
+man/man1/dir2slideshow.1
+man/man1/dvd-menu.1
+man/man1/dvd-slideshow.1
+man/man1/gallery1-to-slideshow.1
+man/man1/jigl2slideshow.1
diff -r 07be3c7797a0 -r c8cb67019ecb multimedia/dvd-slideshow/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/dvd-slideshow/distinfo Fri Dec 28 20:30:46 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2007/12/28 20:30:47 darcy Exp $
+
+SHA1 (dvd-slideshow-0.7.5.tar.gz) = 82a33d1e9713cd4204dbd592989bb10946fe07ec
+RMD160 (dvd-slideshow-0.7.5.tar.gz) = 09bea91d35766bc4dc5a8711b49e6c50207dc6ca
+Size (dvd-slideshow-0.7.5.tar.gz) = 98747 bytes
+SHA1 (patch-aa) = 3112a1e0cfe0e6bc3a6e980f4df6661b6c6fec99
diff -r 07be3c7797a0 -r c8cb67019ecb multimedia/dvd-slideshow/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/dvd-slideshow/patches/patch-aa Fri Dec 28 20:30:46 2007 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1 2007/12/28 20:30:47 darcy Exp $
+
+--- dvd-slideshow.orig 2006-03-10 00:56:54.000000000 -0500
++++ dvd-slideshow
+@@ -877,7 +877,7 @@ hms ()
+ it=$(( $1 - $minutes * 60000 ))
+ seconds=$(( $it / 1000 )) ; [ $seconds -eq 0 ] && seconds="0"
+ thousandths=$(( $it - $seconds * 1000 )) ;
+- characters=`echo "$thousandths" | wc --chars`
++ characters=`echo "$thousandths" | wc -m`
+ if [ $characters -eq 1 ] ; then
+ thousandths_out="000" # empty string!
+ elif [ $characters -eq 2 ] ; then
+@@ -923,7 +923,7 @@ hms2seconds ()
+ minutes=`echo $1 | cut -d: -f2`
+ seconds=`echo $1 | cut -d: -f3 | cut -d. -f1`
+ fraction=`echo $1 | cut -d: -f3 | cut -d. -f2`
+- characters=`echo "$fraction" | wc --chars`
++ characters=`echo "$fraction" | wc -m`
+ if [ "$characters" -eq 1 ] ; then ## no decimal was specified
+ duration_ms="0"
+ elif [ "$characters" -eq 2 ] ; then ## 1 decimal was specified
+@@ -1121,7 +1121,7 @@ duration2ms ()
+ local l_duration_sec=`echo $1 | awk -F. '{ print $1 }'`
+ [ -z "$l_duration_sec" ] && l_duration_sec=0
+ local l_duration_ms=`echo $1 | awk -F. '{ print $2 }'`
+- local l_characters=`echo "$l_duration_ms" | wc --chars`
++ local l_characters=`echo "$l_duration_ms" | wc -m`
+ if [ -z "$l_duration_ms" ] ; then
+ l_duration_ms=0
+ elif [ "$l_characters" -eq 1 ] ; then
+@@ -4422,7 +4422,7 @@ if [ -z "${audio_1[0]}" ] && [ "$command
+ audio_1[0]='silence' # no duration needed
+ myecho "[dvd-slideshow] No audio files passed. Using $end_hms silence."
+ audio1_start=0
+- audio1_end="$end_time"
++ audio1_end="5"
+ fi
+
+ ## let's split this audio processing into two loops: one just prepares the
Home |
Main Index |
Thread Index |
Old Index