aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-12-16 19:07:57 +0800
committerlioux <lioux@FreeBSD.org>2005-12-16 19:07:57 +0800
commitc324bd7106400862b286cdafdba1fcaaf3990a7b (patch)
treedbaf110314a4bea46486fe1a7707f149505005db /multimedia
parentab4c7e1a07eaa1c7862eae6b9f080795b60d85ef (diff)
downloadfreebsd-ports-gnome-c324bd7106400862b286cdafdba1fcaaf3990a7b.tar.gz
freebsd-ports-gnome-c324bd7106400862b286cdafdba1fcaaf3990a7b.tar.zst
freebsd-ports-gnome-c324bd7106400862b286cdafdba1fcaaf3990a7b.zip
o Add misc/buffer to the toolchain allowing rip mode trans_copy
o Change the 16 megabyte buffer standard to a saner 10 megabyte shared memory value compatible with unmodified kernels o Bump PORTREVISION Submitted by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/lxdvdrip/Makefile3
-rw-r--r--multimedia/lxdvdrip/files/patch-lxdvdrip.c9
-rw-r--r--multimedia/lxdvdrip/pkg-plist2
3 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/lxdvdrip/Makefile b/multimedia/lxdvdrip/Makefile
index 8fc339aaf2f8..d8b309602543 100644
--- a/multimedia/lxdvdrip/Makefile
+++ b/multimedia/lxdvdrip/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lxdvdrip
PORTVERSION= 1.47
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://download.berlios.de/lxdvdrip/ \
ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
@@ -20,6 +20,7 @@ LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
RUN_DEPENDS= streamdvd:${PORTSDIR}/multimedia/streamdvd \
transcode:${PORTSDIR}/multimedia/transcode \
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
+ buffer:${PORTSDIR}/misc/buffer \
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
mpgtx:${PORTSDIR}/multimedia/mpgtx \
dvdbackup:${PORTSDIR}/sysutils/dvdbackup
diff --git a/multimedia/lxdvdrip/files/patch-lxdvdrip.c b/multimedia/lxdvdrip/files/patch-lxdvdrip.c
index 07b0fd577529..9b69c86f29ed 100644
--- a/multimedia/lxdvdrip/files/patch-lxdvdrip.c
+++ b/multimedia/lxdvdrip/files/patch-lxdvdrip.c
@@ -38,6 +38,15 @@
fclose (filehandle);
title[32] = '\0';
+@@ -5986,7 +5990,7 @@
+ if (strstr (buffer_name, "mbuffer"))
+ sprintf (szBufferBefehl, "%s -s 64k -q -i", buffer_name); // nehme mbuffer
+ else
+- sprintf (szBufferBefehl, "%s -s 64k -m 16m -i", buffer_name); // nehme buffer
++ sprintf (szBufferBefehl, "%s -s 64k -m 10m -i", buffer_name); // nehme buffer
+ }
+ // Behandlung von Forced Subtitles
+ printf ("Wert Untertitel: %ld\n", lUntertitel);
@@ -7633,7 +7637,7 @@
strcat (szFilmVerzeichnis, "/");
strcat (szFilmVerzeichnis, szDVDName);
diff --git a/multimedia/lxdvdrip/pkg-plist b/multimedia/lxdvdrip/pkg-plist
index 2c2517342a97..dc439669f98b 100644
--- a/multimedia/lxdvdrip/pkg-plist
+++ b/multimedia/lxdvdrip/pkg-plist
@@ -4,7 +4,9 @@ bin/lxac3scan
@unexec if cmp -s %D/etc/lxdvdrip.conf %D/etc/lxdvdrip.conf.sample; then rm -f %D/etc/lxdvdrip.conf; fi
etc/lxdvdrip.conf.sample
@exec [ -f %B/lxdvdrip.conf ] || cp %B/%f %B/lxdvdrip.conf
+%%DATADIR%%/lxdvdrip.wav
%%EXAMPLESDIR%%/lxdvdrip.conf.DE
%%EXAMPLESDIR%%/lxdvdrip.conf.EN
%%EXAMPLESDIR%%/lxdvdrip.conf.FR
+@dirrm %%DATADIR%%
@dirrm %%EXAMPLESDIR%%