summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/aacskeys/Manifest7
-rw-r--r--media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild44
-rw-r--r--media-video/aacskeys/aacskeys-0.4.0e-r1.ebuild44
-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.xml9
6 files changed, 175 insertions, 0 deletions
diff --git a/media-video/aacskeys/Manifest b/media-video/aacskeys/Manifest
new file mode 100644
index 0000000..dc72231
--- /dev/null
+++ b/media-video/aacskeys/Manifest
@@ -0,0 +1,7 @@
+AUX aacskeys-0.4.0c-aacskeys-makefile.patch 1502 SHA256 81b48eaa059f1b0282f2b59388f3b5296fa74a4e103180436690986010d39fd2 SHA512 51cb650966da58dceccc9baf1f339bb4e92003b08537ca74c037aa70038a211fc0c3f91706d731de8c280f22c1c1aba472e7f023552bc85883a1d080e0dc1704 WHIRLPOOL 9df34d471032be122b94e836439d2f1d74f23c48b7d7a8c7972d21a75980aed85c2bea2201aaeca2bbe022719bb8ef47211e11600dd8ec9dd7154d09972669d8
+AUX aacskeys-0.4.0c-libaacskeys-makefile.patch 2486 SHA256 adff9ed101e016b21e902e18285826c9da2b40a787f8c57989e2d92c48fabc7f SHA512 f1ec7136c42162d9f981d80e918f63e729728d22d8c460d740004dcf8a9b3e7427b5ad33f40c5bdb88f872a2fad4d13651f069e43cae1464b961fa2503597b21 WHIRLPOOL cb98c31ee78aee3c0f0a1d7455b206b0a9fc1ba51c8766f1e00f1b0672641a11edfecf66e8bac80d3e0fc300add2f0b58cfb6f7a5480e7fdcb43826d8be4254f
+DIST aacskeys-0.4.0c.tar.gz 4118637 SHA256 54ea78898917f4acaf78101dda254de56bc7696bad12cbf22ee6f09d4ee88a43 SHA512 34c434fd1b118fb301b8af9c20762075bab213b39584e8e33c6b685c7504e4863f78ee2754d131e760c535dd24b29826dc6756833b5deaaa5c4b70ab8f9a6ba8 WHIRLPOOL c710dfc56804390a8c89c57f50cf756e5b96c38224621f1f14f9600830b10ff4b3e4b5a7f9d3069523d4c5a5ec2c0130bd43269e990e3f0c433ac7b698acf79b
+DIST aacskeys-0.4.0e.tar.gz 4117374 SHA256 d9ee6332ae545f93f17f16438c352c98ad2ee019929bc0e6743dcedb23df7f34 SHA512 86435bd4b5ce31cae87390bade631d9dc36814cd5e03fdcaca02eefe3d351432e7ba61f7127f6030b92e929ba3726547d7c04d8558239bd23a32bcb1574b7f6f WHIRLPOOL 88b5beee39a78d81fa3e6fb714faf35ebbf5ba118239d3afad121cb80e5fd37b6445f2282d2b25d4c9bf71a5a35b02473abff12b28adbe5cf5d2bd9f9973f275
+EBUILD aacskeys-0.4.0c-r2.ebuild 862 SHA256 fd8a4fbbc2a1aef9cec8a8e9e230a5e974ae540c3b1493e8d196f74b07af2812 SHA512 3373d7ce3e4a5f530415668c2ea45057fee80cb0f181330b56d4c9747c8e87ca7ef7cefe55c1800fe4e10a5d97bb884dad6a073b0319249a5b42303ae13faff0 WHIRLPOOL 33cf1c0182d41663e939136d6445f779665128d6cc028a462516ad95899558c21747eed8a288be701529a8e9de1d29e4b46a0bc2c34607f7ebf609e000a951d1
+EBUILD aacskeys-0.4.0e-r1.ebuild 862 SHA256 fd8a4fbbc2a1aef9cec8a8e9e230a5e974ae540c3b1493e8d196f74b07af2812 SHA512 3373d7ce3e4a5f530415668c2ea45057fee80cb0f181330b56d4c9747c8e87ca7ef7cefe55c1800fe4e10a5d97bb884dad6a073b0319249a5b42303ae13faff0 WHIRLPOOL 33cf1c0182d41663e939136d6445f779665128d6cc028a462516ad95899558c21747eed8a288be701529a8e9de1d29e4b46a0bc2c34607f7ebf609e000a951d1
+MISC metadata.xml 400 SHA256 e776e3cdbf906630814419fffab69d54e2d480b5c53db42ec0e011031f97db69 SHA512 3a6a30b47cb7e2e906c879d1a731d40416a4003fd08c52a0bfd36c88b3d58c9f3d1c565734b6aedbc0b36c0ebe904906611e3876632e212f472996e0aa49087c WHIRLPOOL 4b75d9b4638eb2989485f036e0f631fdc574dbbfb268da93589df14d993de8ab605d5488be75f35e73b974516df39a54c628a4cddb094149a7be5b5907260b1f
diff --git a/media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild b/media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild
new file mode 100644
index 0000000..8c448aa
--- /dev/null
+++ b/media-video/aacskeys/aacskeys-0.4.0c-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils java-pkg-2
+
+DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
+HOMEPAGE="http://forum.doom9.org/showthread.php?t=123311"
+SRC_URI="http://bluray.beandog.org/aacskeys/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl:0=[-bindist]"
+DEPEND=">=virtual/jdk-1.6
+ ${RDEPEND}"
+
+DOCS=(
+ HostKeyCertificate.txt
+ ProcessingDeviceKeysSimple.txt
+ README.txt
+)
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.4.0c-aacskeys-makefile.patch"
+ "${FILESDIR}/${PN}-0.4.0c-libaacskeys-makefile.patch"
+)
+
+# overriding src_* functions from java-pkg-2 eclass.
+src_prepare() {
+ default
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ dobin bin/linux/aacskeys
+ dolib lib/linux/libaacskeys.so
+ einstalldocs
+}
diff --git a/media-video/aacskeys/aacskeys-0.4.0e-r1.ebuild b/media-video/aacskeys/aacskeys-0.4.0e-r1.ebuild
new file mode 100644
index 0000000..8c448aa
--- /dev/null
+++ b/media-video/aacskeys/aacskeys-0.4.0e-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils java-pkg-2
+
+DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
+HOMEPAGE="http://forum.doom9.org/showthread.php?t=123311"
+SRC_URI="http://bluray.beandog.org/aacskeys/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl:0=[-bindist]"
+DEPEND=">=virtual/jdk-1.6
+ ${RDEPEND}"
+
+DOCS=(
+ HostKeyCertificate.txt
+ ProcessingDeviceKeysSimple.txt
+ README.txt
+)
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.4.0c-aacskeys-makefile.patch"
+ "${FILESDIR}/${PN}-0.4.0c-libaacskeys-makefile.patch"
+)
+
+# overriding src_* functions from java-pkg-2 eclass.
+src_prepare() {
+ default
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ dobin bin/linux/aacskeys
+ dolib lib/linux/libaacskeys.so
+ einstalldocs
+}
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 0000000..272dcc0
--- /dev/null
+++ b/media-video/aacskeys/files/aacskeys-0.4.0c-aacskeys-makefile.patch
@@ -0,0 +1,35 @@
+--- a/aacskeys.make
++++ b/aacskeys.make
+@@ -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 0000000..2d5e6cc
--- /dev/null
+++ b/media-video/aacskeys/files/aacskeys-0.4.0c-libaacskeys-makefile.patch
@@ -0,0 +1,36 @@
+--- a/libaacskeys.make
++++ b/libaacskeys.make
+@@ -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 0000000..b9e39c7
--- /dev/null
+++ b/media-video/aacskeys/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>beandog@gentoo.org</email>
+ <name>Steve Dibb</name>
+ </maintainer>
+ <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>