diff options
author | wiz <wiz> | 2014-01-08 23:04:43 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-01-08 23:04:43 +0000 |
commit | a3ebd0e25c375dc0367f1a9b512226959bf9e542 (patch) | |
tree | d096f2d125f077e0eb4bf54d3d471832f913f44d /multimedia | |
parent | 251e36a7a6905c678a2dcced3201e2933229eca3 (diff) | |
download | pkgsrc-a3ebd0e25c375dc0367f1a9b512226959bf9e542.tar.gz |
Import libaacs-0.7.0 as multimedia/libaacs.
AACS is a DRM system for bluray discs. This library provdes an
open source implementation of the standard.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libaacs/DESCR | 2 | ||||
-rw-r--r-- | multimedia/libaacs/Makefile | 20 | ||||
-rw-r--r-- | multimedia/libaacs/PLIST | 7 | ||||
-rw-r--r-- | multimedia/libaacs/buildlink3.mk | 14 | ||||
-rw-r--r-- | multimedia/libaacs/distinfo | 6 | ||||
-rw-r--r-- | multimedia/libaacs/patches/patch-src_file_file__posix.c | 24 |
6 files changed, 73 insertions, 0 deletions
diff --git a/multimedia/libaacs/DESCR b/multimedia/libaacs/DESCR new file mode 100644 index 00000000000..65f6e2e6b3d --- /dev/null +++ b/multimedia/libaacs/DESCR @@ -0,0 +1,2 @@ +AACS is a DRM system for bluray discs. This library provdes an +open source implementation of the standard. diff --git a/multimedia/libaacs/Makefile b/multimedia/libaacs/Makefile new file mode 100644 index 00000000000..51bb988d5ad --- /dev/null +++ b/multimedia/libaacs/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2014/01/08 23:04:43 wiz Exp $ + +DISTNAME= libaacs-0.7.0 +CATEGORIES= multimedia +MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/libaacs/0.7.0/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.videolan.org/developers/libaacs.html +COMMENT= Advanced Access Content System specification implementation +LICENSE= gnu-lgpl-v2.1 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= bison pkg-config + +PKGCONFIG_OVERRIDE+= src/libaacs.pc.in + +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/libaacs/PLIST b/multimedia/libaacs/PLIST new file mode 100644 index 00000000000..f6bf6aff122 --- /dev/null +++ b/multimedia/libaacs/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2014/01/08 23:04:43 wiz Exp $ +bin/aacs_info +include/libaacs/aacs-version.h +include/libaacs/aacs.h +include/libaacs/filesystem.h +lib/libaacs.la +lib/pkgconfig/libaacs.pc diff --git a/multimedia/libaacs/buildlink3.mk b/multimedia/libaacs/buildlink3.mk new file mode 100644 index 00000000000..c60419d5ff9 --- /dev/null +++ b/multimedia/libaacs/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/01/08 23:04:43 wiz Exp $ + +BUILDLINK_TREE+= libaacs + +.if !defined(LIBAACS_BUILDLINK3_MK) +LIBAACS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libaacs+= libaacs>=0.7.0 +BUILDLINK_PKGSRCDIR.libaacs?= ../../multimedia/libaacs + +.include "../../security/libgcrypt/buildlink3.mk" +.endif # LIBAACS_BUILDLINK3_MK + +BUILDLINK_TREE+= -libaacs diff --git a/multimedia/libaacs/distinfo b/multimedia/libaacs/distinfo new file mode 100644 index 00000000000..f391090a90b --- /dev/null +++ b/multimedia/libaacs/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/01/08 23:04:43 wiz Exp $ + +SHA1 (libaacs-0.7.0.tar.bz2) = 461c0a6f143519cd6b24bf4be5e2672219b44780 +RMD160 (libaacs-0.7.0.tar.bz2) = d9632a14ba27ac72e8a3bd8fd94e6d9030ec97ce +Size (libaacs-0.7.0.tar.bz2) = 311337 bytes +SHA1 (patch-src_file_file__posix.c) = f7c6bf1636b5b45abb3f19f58b97fecc9712a3a7 diff --git a/multimedia/libaacs/patches/patch-src_file_file__posix.c b/multimedia/libaacs/patches/patch-src_file_file__posix.c new file mode 100644 index 00000000000..7f2bab3ad51 --- /dev/null +++ b/multimedia/libaacs/patches/patch-src_file_file__posix.c @@ -0,0 +1,24 @@ +$NetBSD: patch-src_file_file__posix.c,v 1.1 2014/01/08 23:04:43 wiz Exp $ + +fseeko/ftello are Linuxisms. + +--- src/file/file_posix.c.orig 2013-12-18 09:21:16.000000000 +0000 ++++ src/file/file_posix.c +@@ -49,7 +49,7 @@ static int64_t file_seek_linux(AACS_FILE + #if defined(__MINGW32__) + return fseeko64((FILE *)file->internal, offset, origin); + #else +- return fseeko((FILE *)file->internal, offset, origin); ++ return fseek((FILE *)file->internal, offset, origin); + #endif + } + +@@ -58,7 +58,7 @@ static int64_t file_tell_linux(AACS_FILE + #if defined(__MINGW32__) + return ftello64((FILE *)file->internal); + #else +- return ftello((FILE *)file->internal); ++ return ftell((FILE *)file->internal); + #endif + } + |