Skip to content

Commit

Permalink
media-video/aacskeys: Rebump to EAPI-6. Added sub-slot dep for openssl.
Browse files Browse the repository at this point in the history
Code cleanup.

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Nov 4, 2016
1 parent 141e694 commit 80d1553
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6
inherit eutils java-pkg-2

DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
Expand All @@ -14,22 +14,32 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-libs/openssl[-bindist]"
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() {
epatch "${FILESDIR}/${PN}-0.4.0c-aacskeys-makefile.patch"
epatch "${FILESDIR}/${PN}-0.4.0c-libaacskeys-makefile.patch"
default
}

src_compile() {
emake || die "emake failed"
emake
}

src_install() {
dobin bin/linux/aacskeys || die
dolib lib/linux/libaacskeys.so || die
dodoc HostKeyCertificate.txt ProcessingDeviceKeysSimple.txt \
README.txt || die
dobin bin/linux/aacskeys
dolib lib/linux/libaacskeys.so
einstalldocs
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- aacskeys.make.orig 2010-02-16 18:43:07.000000000 -0700
+++ aacskeys.make 2010-02-16 18:44:10.000000000 -0700
--- a/aacskeys.make
+++ b/aacskeys.make
@@ -13,12 +13,12 @@
LIBDIR := .
OBJDIR := obj/linux/Release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- libaacskeys.make.orig 2010-02-16 18:37:31.000000000 -0700
+++ libaacskeys.make 2010-02-16 18:40:15.000000000 -0700
--- a/libaacskeys.make
+++ b/libaacskeys.make
@@ -13,12 +13,12 @@
LIBDIR := .
OBJDIR := obj/linux/ReleaseLib
Expand Down

0 comments on commit 80d1553

Please sign in to comment.