diff --git a/packages/multimedia/libbdplus/package.mk b/packages/multimedia/libbdplus/package.mk new file mode 100644 index 0000000000..10f3bf90e3 --- /dev/null +++ b/packages/multimedia/libbdplus/package.mk @@ -0,0 +1,45 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) +# +# OpenELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# OpenELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="libbdplus" +PKG_VERSION="0.1.1" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://www.videolan.org/developers/libbdplus.html" +PKG_URL="ftp://ftp.videolan.org/pub/videolan/libbdplus/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS_TARGET="toolchain libgcrypt libgpg-error" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="libbdplus: A project to implement the BD+ System Specifications" +PKG_LONGDESC="libbdplus is a research project to implement the BD+ System Specifications." + +PKG_IS_ADDON="no" +PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--disable-werror \ + --disable-extra-warnings \ + --disable-optimizations \ + --with-gnu-ld" + +if [ "$AACS_SUPPORT" = "yes" ]; then + PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libaacs" + PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --with-libaacs" +else + PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --without-libaacs" +fi diff --git a/packages/multimedia/libbluray/package.mk b/packages/multimedia/libbluray/package.mk index dc10c8dd0d..1b4bf40334 100644 --- a/packages/multimedia/libbluray/package.mk +++ b/packages/multimedia/libbluray/package.mk @@ -36,6 +36,10 @@ if [ "$AACS_SUPPORT" = "yes" ]; then PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libaacs" fi +if [ "$BDPLUS_SUPPORT" = "yes" ]; then + PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libbdplus" +fi + PKG_CONFIGURE_OPTS_TARGET="--disable-werror \ --disable-extra-warnings \ --disable-optimizations \ diff --git a/projects/Cuboxi/options b/projects/Cuboxi/options index d13cc00d79..9c25455b0f 100644 --- a/projects/Cuboxi/options +++ b/projects/Cuboxi/options @@ -164,6 +164,10 @@ # build and install with BluRay support (yes / no) BLURAY_SUPPORT="yes" +# build and install with BD+ support +# (BD+ decryption support in XBMC) (yes / no) + BDPLUS_SUPPORT="yes" + # build and install with AACS support # (BD decryption support in XBMC) (yes / no) AACS_SUPPORT="yes" diff --git a/projects/Generic/options b/projects/Generic/options index f0d57dbdd0..62e18d25dc 100644 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -162,6 +162,10 @@ # build and install with BluRay support (yes / no) BLURAY_SUPPORT="yes" +# build and install with BD+ support +# (BD+ decryption support in XBMC) (yes / no) + BDPLUS_SUPPORT="yes" + # build and install with AACS support # (BD decryption support in XBMC) (yes / no) AACS_SUPPORT="yes" diff --git a/projects/RPi/options b/projects/RPi/options index 3b91c16327..5f98973d56 100644 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -163,6 +163,10 @@ # build and install with BluRay support (yes / no) BLURAY_SUPPORT="yes" +# build and install with BD+ support +# (BD+ decryption support in XBMC) (yes / no) + BDPLUS_SUPPORT="yes" + # build and install with AACS support # (BD decryption support in XBMC) (yes / no) AACS_SUPPORT="yes"