summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-02-17 01:48:50 +0000
committerSteve Dibb <beandog@gentoo.org>2010-02-17 01:48:50 +0000
commit2b94f2ac52912867c7d79ae708a95447b74d440e (patch)
tree7d8bc03c5d06e62a1f1f5740f4828ec348a2559d /media-video/aacskeys
parentMask documancer and wxmozilla for removal, bug #305471. (diff)
downloadgentoo-2-2b94f2ac52912867c7d79ae708a95447b74d440e.tar.gz
gentoo-2-2b94f2ac52912867c7d79ae708a95447b74d440e.tar.bz2
gentoo-2-2b94f2ac52912867c7d79ae708a95447b74d440e.zip
initial commit
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'media-video/aacskeys')
-rw-r--r--media-video/aacskeys/ChangeLog11
-rw-r--r--media-video/aacskeys/aacskeys-0.4.0c.ebuild31
-rw-r--r--media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch35
-rw-r--r--media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch36
-rw-r--r--media-video/aacskeys/metadata.xml7
5 files changed, 120 insertions, 0 deletions
diff --git a/media-video/aacskeys/ChangeLog b/media-video/aacskeys/ChangeLog
new file mode 100644
index 000000000000..f45a0e0cc92d
--- /dev/null
+++ b/media-video/aacskeys/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-video/aacskeys
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/aacskeys/ChangeLog,v 1.1 2010/02/17 01:48:49 beandog Exp $
+
+*aacskeys-0.4.0c (17 Feb 2010)
+
+ 17 Feb 2010; Steve Dibb <beandog@gentoo.org> +aacskeys-0.4.0c.ebuild,
+ +files/aacskeys-0.4.0c-aacskeys-makefile.patch,
+ +files/aacskeys-0.4.0c-libaacskeys-makefile.patch, +metadata.xml:
+ Initial commit
+
diff --git a/media-video/aacskeys/aacskeys-0.4.0c.ebuild b/media-video/aacskeys/aacskeys-0.4.0c.ebuild
new file mode 100644
index 000000000000..ebc6f6c46637
--- /dev/null
+++ b/media-video/aacskeys/aacskeys-0.4.0c.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/aacskeys/aacskeys-0.4.0c.ebuild,v 1.1 2010/02/17 01:48:49 beandog Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
+HOMEPAGE="http://forum.doom9.org/showthread.php?t=123311"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-libs/openssl"
+DEPEND="dev-java/sun-jdk:1.6
+ ${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-aacskeys-makefile.patch"
+ epatch "${FILESDIR}/${P}-libaacskeys-makefile.patch"
+}
+
+src_install() {
+ dobin bin/linux/aacskeys || die
+ dolib lib/linux/libaacskeys.so || die
+ dodoc HostKeyCertificate.txt ProcessingDeviceKeysSimple.txt \
+ README.txt || die
+}
diff --git a/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch b/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch
new file mode 100644
index 000000000000..d75932617259
--- /dev/null
+++ b/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch
@@ -0,0 +1,35 @@
+--- aacskeys.make.orig 2010-02-16 18:43:07.000000000 -0700
++++ aacskeys.make 2010-02-16 18:44:10.000000000 -0700
+@@ -13,12 +13,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/Release
+ OUTDIR := bin/linux
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -I "/usr/local/ssl/include"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Wall -fomit-frame-pointer -O3 -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -I "/usr/ssl/include"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH)
+ CXXFLAGS := $(CFLAGS)
+- LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s -L"/usr/local/ssl/lib" -lcrypto
++ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -I "/usr/local/ssl/include"
++ RESFLAGS := -D "_REENTRANT" -I "/usr/ssl/include"
+ TARGET := aacskeys
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
+@@ -28,12 +28,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/Debug
+ OUTDIR := bin/linux/debug
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "DEBUG" -I "/usr/local/ssl/include"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -Wall -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "DEBUG" -I "/usr/ssl/include"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
+ CXXFLAGS := $(CFLAGS)
+ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/local/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -D "DEBUG" -I "/usr/local/ssl/include"
++ RESFLAGS := -D "_REENTRANT" -D "DEBUG" -I "/usr/ssl/include"
+ TARGET := aacskeys
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
diff --git a/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch b/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch
new file mode 100644
index 000000000000..8062a5b60c40
--- /dev/null
+++ b/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch
@@ -0,0 +1,36 @@
+--- libaacskeys.make.orig 2010-02-16 18:37:31.000000000 -0700
++++ libaacskeys.make 2010-02-16 18:40:15.000000000 -0700
+@@ -13,12 +13,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/ReleaseLib
+ OUTDIR := lib/linux
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -Wall -fomit-frame-pointer -O3 -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC
+ CXXFLAGS := $(CFLAGS)
+- LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -s -L"/usr/local/ssl/lib" -lcrypto
++ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -D "JNILIB" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
++ RESFLAGS := -D "_REENTRANT" -D "JNILIB" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
+ TARGET := libaacskeys.so
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
+@@ -28,12 +28,12 @@
+ LIBDIR := .
+ OBJDIR := obj/linux/DebugLib
+ OUTDIR := lib/linux/debug
+- CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
+- CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -g -Wall -pipe
++ CPPFLAGS := $(DEPFLAGS) -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
++ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -g
+ CXXFLAGS := $(CFLAGS)
+- LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/local/ssl/lib" -lcrypto
++ LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -shared -L"/usr/ssl/lib" -lcrypto
+ LDDEPS :=
+- RESFLAGS := -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/local/ssl/include" -I "/usr/lib/jvm/java-6-sun/include" -I "/usr/lib/jvm/java-6-sun/include/linux"
++ RESFLAGS := -D "_REENTRANT" -D "JNILIB" -D "DEBUG" -I "/usr/ssl/include" -I "/etc/java-config-2/current-system-vm/include" -I "/etc/java-config-2/current-system-vm/include/linux"
+ TARGET := libaacskeys.so
+ BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+ endif
diff --git a/media-video/aacskeys/metadata.xml b/media-video/aacskeys/metadata.xml
new file mode 100644
index 000000000000..ff943da766a0
--- /dev/null
+++ b/media-video/aacskeys/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-video</herd>
+<longdescription lang="en">aacskeys is a program to decrypt all required keys from an AACS protected HD-DVD / Blu-Ray to decrypt it.</longdescription>
+</pkgmetadata>
+