summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-04-13 20:14:51 +0000
committerwiz <wiz@pkgsrc.org>2006-04-13 20:14:51 +0000
commitdca11bba0171db19ec2d6e8e9040ca287cbce210 (patch)
tree0e6d47fb237461c2bf1baf617664449261db7506 /multimedia
parentc515f728c8d4c51c9108bfe5be03d7e262df0d04 (diff)
downloadpkgsrc-dca11bba0171db19ec2d6e8e9040ca287cbce210.tar.gz
Re-import graphics/dvdbackup as multimedia/dvdbackup.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dvdbackup/DESCR3
-rw-r--r--multimedia/dvdbackup/Makefile25
-rw-r--r--multimedia/dvdbackup/PLIST2
-rw-r--r--multimedia/dvdbackup/distinfo6
-rw-r--r--multimedia/dvdbackup/patches/patch-aa21
5 files changed, 57 insertions, 0 deletions
diff --git a/multimedia/dvdbackup/DESCR b/multimedia/dvdbackup/DESCR
new file mode 100644
index 00000000000..e7c31bea3f6
--- /dev/null
+++ b/multimedia/dvdbackup/DESCR
@@ -0,0 +1,3 @@
+DVDBACKUP enables users to create backups from DVDs they own.
+It requires the libdvdread library and is hence capable of reading encrypted
+DVDs on systems that have the libdvdcss library installed.
diff --git a/multimedia/dvdbackup/Makefile b/multimedia/dvdbackup/Makefile
new file mode 100644
index 00000000000..da907f47b8e
--- /dev/null
+++ b/multimedia/dvdbackup/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/13 20:14:51 wiz Exp $
+
+DISTNAME= dvdbackup-0.1.1
+PKGREVISION= 3
+CATEGORIES= multimedia
+MASTER_SITES= http://dvd-create.sourceforge.net/
+
+MAINTAINER= wulf@NetBSD.org
+HOMEPAGE= http://dvd-create.sourceforge.net/
+COMMENT= DVD backup utility
+
+WRKSRC= ${WRKDIR}/dvdbackup/src
+
+INSTALLATION_DIRS= bin
+
+do-build:
+ cd ${WRKSRC}; \
+ ${CC} -o dvdbackup dvdbackup.c ${CFLAGS} ${LDFLAGS} -ldvdread
+
+do-install:
+ cd ${WRKSRC}; \
+ ${INSTALL_PROGRAM} dvdbackup ${PREFIX}/bin;
+
+.include "../../multimedia/libdvdread/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/dvdbackup/PLIST b/multimedia/dvdbackup/PLIST
new file mode 100644
index 00000000000..ae91f441782
--- /dev/null
+++ b/multimedia/dvdbackup/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/13 20:14:51 wiz Exp $
+bin/dvdbackup
diff --git a/multimedia/dvdbackup/distinfo b/multimedia/dvdbackup/distinfo
new file mode 100644
index 00000000000..3997c58611d
--- /dev/null
+++ b/multimedia/dvdbackup/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/13 20:14:51 wiz Exp $
+
+SHA1 (dvdbackup-0.1.1.tar.gz) = 11bbbd0182f80bff1974b86bb989e9a2ab89f717
+RMD160 (dvdbackup-0.1.1.tar.gz) = bd0d1824df92b493e4ea5ab4f24740c41ca826ef
+Size (dvdbackup-0.1.1.tar.gz) = 24806 bytes
+SHA1 (patch-aa) = 4c3a6ef36cb3422899ca9ea66a3a5b64a374c85b
diff --git a/multimedia/dvdbackup/patches/patch-aa b/multimedia/dvdbackup/patches/patch-aa
new file mode 100644
index 00000000000..07c09621a8c
--- /dev/null
+++ b/multimedia/dvdbackup/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/13 20:14:51 wiz Exp $
+
+--- dvdbackup.c.orig 2002-08-05 06:08:39.000000000 +0000
++++ dvdbackup.c
+@@ -20,6 +20,7 @@
+
+
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/errno.h>
+@@ -782,7 +783,7 @@ titles_info_t * DVDGetInfo(dvd_reader_t
+ to consider the second one a feature title we are doing two checks (biggest + biggest - second) /second == 1
+ and biggest%second * 3 < biggest */
+
+- if ( CheckSizeArray(size_size_array, 0, 1) == 1 ) {
++ if ( title_sets > 1 && CheckSizeArray(size_size_array, 0, 1) == 1 ) {
+ /* We have a dual DVD with two feature films - now lets see if they have the same amount of chapters*/
+
+ chapters_1 = 0;