aacskeys-0.4.0e-r1.ebuild 864 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils java-pkg-2
  5. DESCRIPTION="Decrypt keys from an AACS source (HD DVD / Blu-Ray)"
  6. HOMEPAGE="http://forum.doom9.org/showthread.php?t=123311"
  7. SRC_URI="http://bluray.beandog.org/aacskeys/${P}.tar.gz"
  8. LICENSE="public-domain"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. RDEPEND="dev-libs/openssl:0=[-bindist]"
  13. DEPEND=">=virtual/jdk-1.6
  14. ${RDEPEND}"
  15. DOCS=(
  16. HostKeyCertificate.txt
  17. ProcessingDeviceKeysSimple.txt
  18. README.txt
  19. )
  20. PATCHES=(
  21. "${FILESDIR}/${PN}-0.4.0c-aacskeys-makefile.patch"
  22. "${FILESDIR}/${PN}-0.4.0c-libaacskeys-makefile.patch"
  23. )
  24. # overriding src_* functions from java-pkg-2 eclass.
  25. src_prepare() {
  26. default
  27. }
  28. src_compile() {
  29. emake
  30. }
  31. src_install() {
  32. dobin bin/linux/aacskeys
  33. dolib lib/linux/libaacskeys.so
  34. einstalldocs
  35. }