From 435c14c841d373a499d780137e70d5aece00070b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 29 Aug 2014 09:27:24 +0200 Subject: [PATCH] new package: add package 'libbdplus' Signed-off-by: Stephan Raue --- packages/multimedia/libbdplus/package.mk | 45 ++++++++++++++++++++++++ packages/multimedia/libbluray/package.mk | 4 +++ projects/ATV/options | 4 +++ projects/Generic/options | 4 +++ projects/RPi/options | 4 +++ 5 files changed, 61 insertions(+) create mode 100644 packages/multimedia/libbdplus/package.mk 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/ATV/options b/projects/ATV/options index a3d722e673..84db1a38c4 100644 --- a/projects/ATV/options +++ b/projects/ATV/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/Generic/options b/projects/Generic/options index 5942bb663c..32ce7bb4fd 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 e64a345b6f..c63e2a80d8 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"