mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
libbluray: update to libbluray-0.3.0, convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ae290cb802
commit
fc0373334d
@ -1,52 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program 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, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program 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.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-werror \
|
|
||||||
--disable-extra-warnings \
|
|
||||||
--disable-optimizations \
|
|
||||||
--disable-examples \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-bdjava \
|
|
||||||
--enable-libxml2 \
|
|
||||||
--disable-doxygen-doc \
|
|
||||||
--disable-doxygen-dot \
|
|
||||||
--disable-doxygen-man \
|
|
||||||
--disable-doxygen-rtf \
|
|
||||||
--disable-doxygen-xml \
|
|
||||||
--disable-doxygen-chm \
|
|
||||||
--disable-doxygen-chi \
|
|
||||||
--disable-doxygen-html \
|
|
||||||
--disable-doxygen-ps \
|
|
||||||
--disable-doxygen-pdf \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program 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, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program 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.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
|
@ -19,22 +19,42 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="libbluray"
|
PKG_NAME="libbluray"
|
||||||
PKG_VERSION="0.2.3"
|
PKG_VERSION="0.3.0"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.videolan.org/developers/libbluray.html"
|
PKG_SITE="http://www.videolan.org/developers/libbluray.html"
|
||||||
PKG_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="libxml2"
|
PKG_DEPENDS="libxml2"
|
||||||
PKG_BUILD_DEPENDS="toolchain libxml2"
|
PKG_BUILD_DEPENDS_TARGET="toolchain libxml2"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="multimedia"
|
PKG_SECTION="multimedia"
|
||||||
PKG_SHORTDESC="libbluray: A Blu-Ray Discs playback library"
|
PKG_SHORTDESC="libbluray: A Blu-Ray Discs playback library"
|
||||||
PKG_LONGDESC="libbluray is an open-source library designed for Blu-Ray Discs playback for media players, like VLC or MPlayer."
|
PKG_LONGDESC="libbluray is an open-source library designed for Blu-Ray Discs playback for media players, like VLC or MPlayer."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
if [ "$NONFREE_SUPPORT" = "yes" ]; then
|
if [ "$NONFREE_SUPPORT" = "yes" ]; then
|
||||||
PKG_DEPENDS="$PKG_DEPENDS libaacs"
|
PKG_DEPENDS="$PKG_DEPENDS libaacs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-werror \
|
||||||
|
--disable-extra-warnings \
|
||||||
|
--disable-optimizations \
|
||||||
|
--disable-examples \
|
||||||
|
--disable-debug \
|
||||||
|
--disable-bdjava \
|
||||||
|
--enable-libxml2 \
|
||||||
|
--disable-doxygen-doc \
|
||||||
|
--disable-doxygen-dot \
|
||||||
|
--disable-doxygen-man \
|
||||||
|
--disable-doxygen-rtf \
|
||||||
|
--disable-doxygen-xml \
|
||||||
|
--disable-doxygen-chm \
|
||||||
|
--disable-doxygen-chi \
|
||||||
|
--disable-doxygen-html \
|
||||||
|
--disable-doxygen-ps \
|
||||||
|
--disable-doxygen-pdf \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Naur libbluray-0.2.3-old/configure.ac libbluray-0.2.3-new/configure.ac
|
|
||||||
--- libbluray-0.2.3-old/configure.ac 2012-08-17 04:27:32.000000000 -0700
|
|
||||||
+++ libbluray-0.2.3-new/configure.ac 2012-12-30 15:02:51.000000000 -0800
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
|
||||||
AC_CANONICAL_SYSTEM
|
|
||||||
AM_INIT_AUTOMAKE([foreign tar-ustar])
|
|
||||||
-AM_CONFIG_HEADER(config.h)
|
|
||||||
+AC_CONFIG_HEADERS(config.h)
|
|
||||||
|
|
||||||
case "${host_os}" in
|
|
||||||
"")
|
|
Loading…
x
Reference in New Issue
Block a user