diff options
author | recht <recht@pkgsrc.org> | 2004-01-28 14:29:00 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-01-28 14:29:00 +0000 |
commit | 308356dcfecc2515f499dbbc8c54b78ded92ad5c (patch) | |
tree | 8737091c00269da7bfa2cfc4412c0912ecda8d5d /multimedia | |
parent | 8b09ff7f2ac1e0f09520c663a9f070a86527c347 (diff) | |
download | pkgsrc-308356dcfecc2515f499dbbc8c54b78ded92ad5c.tar.gz |
move libdvdread to the multimedia category (from misc)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libdvdread/DESCR | 2 | ||||
-rw-r--r-- | multimedia/libdvdread/MESSAGE | 8 | ||||
-rw-r--r-- | multimedia/libdvdread/Makefile | 20 | ||||
-rw-r--r-- | multimedia/libdvdread/PLIST | 14 | ||||
-rw-r--r-- | multimedia/libdvdread/buildlink2.mk | 19 | ||||
-rw-r--r-- | multimedia/libdvdread/distinfo | 5 | ||||
-rw-r--r-- | multimedia/libdvdread/patches/patch-aa | 21 |
7 files changed, 89 insertions, 0 deletions
diff --git a/multimedia/libdvdread/DESCR b/multimedia/libdvdread/DESCR new file mode 100644 index 00000000000..3476ba18a0b --- /dev/null +++ b/multimedia/libdvdread/DESCR @@ -0,0 +1,2 @@ +libdvdread is a library that provides an interface to make life +for programs that access DVDs a little easier. diff --git a/multimedia/libdvdread/MESSAGE b/multimedia/libdvdread/MESSAGE new file mode 100644 index 00000000000..0e33bfae4d8 --- /dev/null +++ b/multimedia/libdvdread/MESSAGE @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ + +Because of the unclear legal status of libdvdcss, it is not automatically +installed as part of ${PKGBASE}. It is however needed to play encrypted +DVDs. If you want to play encrypted DVDs, simply install it yourself. + +=========================================================================== diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile new file mode 100644 index 00000000000..87185a36b8b --- /dev/null +++ b/multimedia/libdvdread/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ + +DISTNAME= libdvdread-0.9.4 +CATEGORIES= multimedia +MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/ +COMMENT= DVD access library, primarily used in Ogle + +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make +USE_LIBTOOL= yes +USE_BUILDLINK2= yes + +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +MESSAGE_SUBST+= PKGBASE=${PKGBASE} + +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/libdvdread/PLIST b/multimedia/libdvdread/PLIST new file mode 100644 index 00000000000..28668355ba2 --- /dev/null +++ b/multimedia/libdvdread/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/28 14:29:00 recht Exp $ +include/dvdread/dvd_reader.h +include/dvdread/ifo_print.h +include/dvdread/ifo_read.h +include/dvdread/ifo_types.h +include/dvdread/nav_print.h +include/dvdread/nav_read.h +include/dvdread/nav_types.h +lib/libdvdread.a +lib/libdvdread.la +lib/libdvdread.so +lib/libdvdread.so.3 +lib/libdvdread.so.3.0 +@dirrm include/dvdread diff --git a/multimedia/libdvdread/buildlink2.mk b/multimedia/libdvdread/buildlink2.mk new file mode 100644 index 00000000000..d25ebc4d0e0 --- /dev/null +++ b/multimedia/libdvdread/buildlink2.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ + +.if !defined(LIBDVDREAD_BUILDLINK2_MK) +LIBDVDREAD_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= libdvdread +BUILDLINK_DEPENDS.libdvdread?= libdvdread>=0.9.4 +BUILDLINK_PKGSRCDIR.libdvdread?= ../../multimedia/libdvdread + +EVAL_PREFIX+= BUILDLINK_PREFIX.libdvdread=libdvdread +BUILDLINK_PREFIX.libdvdread= ${LOCALBASE} +BUILDLINK_FILES.libdvdread= include/dvdread/* +BUILDLINK_FILES.libdvdread+= lib/libdvdread.* + +BUILDLINK_TARGETS+= libdvdread-buildlink + +libdvdread-buildlink: _BUILDLINK_USE + +.endif # LIBDVDREAD_BUILDLINK2_MK diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo new file mode 100644 index 00000000000..8f467bfa66e --- /dev/null +++ b/multimedia/libdvdread/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ + +SHA1 (libdvdread-0.9.4.tar.gz) = a4b626e49ba8bd33857693c3abe8b34196bc3360 +Size (libdvdread-0.9.4.tar.gz) = 256858 bytes +SHA1 (patch-aa) = 9e508363db5fe7233d6074fdc2404e4618e78ff2 diff --git a/multimedia/libdvdread/patches/patch-aa b/multimedia/libdvdread/patches/patch-aa new file mode 100644 index 00000000000..cd2bde9b952 --- /dev/null +++ b/multimedia/libdvdread/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $ + +--- dvdread/bswap.h.orig Wed Mar 5 23:13:17 2003 ++++ dvdread/bswap.h Wed Mar 5 23:14:24 2003 +@@ -57,7 +57,15 @@ + #include <sys/endian.h> + #define B2N_16(x) x = be16toh(x) + #define B2N_32(x) x = be32toh(x) +-#define B2N_64(x) x = be64toh(x) ++#define B2N_64(x) x = \ ++ ((((x) & 0xff00000000000000) >> 56) | \ ++ (((x) & 0x00ff000000000000) >> 40) | \ ++ (((x) & 0x0000ff0000000000) >> 24) | \ ++ (((x) & 0x000000ff00000000) >> 8) | \ ++ (((x) & 0x00000000ff000000) << 8) | \ ++ (((x) & 0x0000000000ff0000) << 24) | \ ++ (((x) & 0x000000000000ff00) << 40) | \ ++ (((x) & 0x00000000000000ff) << 56)) + + /* This is a slow but portable implementation, it has multiple evaluation + * problems so beware. |