diff --git a/packages/multimedia/libbluray/build b/packages/multimedia/libbluray/build deleted file mode 100755 index bc2b0f4fdb..0000000000 --- a/packages/multimedia/libbluray/build +++ /dev/null @@ -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 diff --git a/packages/multimedia/libbluray/install b/packages/multimedia/libbluray/install deleted file mode 100755 index 9a1692eb11..0000000000 --- a/packages/multimedia/libbluray/install +++ /dev/null @@ -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 diff --git a/packages/multimedia/libbluray/meta b/packages/multimedia/libbluray/package.mk similarity index 63% rename from packages/multimedia/libbluray/meta rename to packages/multimedia/libbluray/package.mk index fb6bc7d77e..e34db7b35d 100644 --- a/packages/multimedia/libbluray/meta +++ b/packages/multimedia/libbluray/package.mk @@ -19,22 +19,42 @@ ################################################################################ PKG_NAME="libbluray" -PKG_VERSION="0.2.3" +PKG_VERSION="0.3.0" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" 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_DEPENDS="libxml2" -PKG_BUILD_DEPENDS="toolchain libxml2" +PKG_BUILD_DEPENDS_TARGET="toolchain libxml2" PKG_PRIORITY="optional" PKG_SECTION="multimedia" 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_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" if [ "$NONFREE_SUPPORT" = "yes" ]; then PKG_DEPENDS="$PKG_DEPENDS libaacs" 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" + diff --git a/packages/multimedia/libbluray/patches/libbluray-0.2.3-automake_1.13.patch b/packages/multimedia/libbluray/patches/libbluray-0.2.3-automake_1.13.patch deleted file mode 100644 index ac8bdb47c4..0000000000 --- a/packages/multimedia/libbluray/patches/libbluray-0.2.3-automake_1.13.patch +++ /dev/null @@ -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 - "")