Merge remote-tracking branch 'upstream/master' into openelec-3.2

This commit is contained in:
Stefan Saraev 2013-08-31 16:43:34 +03:00
commit f48eeb0e64
7 changed files with 58 additions and 3 deletions

14
packages/3rdparty/lib/libdvbcsa/build vendored Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
. config/options $1
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--disable-shared \
--enable-static \
--with-sysroot=$SYSROOT_PREFIX \
$MAKEINSTALL

37
packages/3rdparty/lib/libdvbcsa/meta vendored Normal file
View File

@ -0,0 +1,37 @@
################################################################################
# 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
################################################################################
PKG_NAME="libdvbcsa"
PKG_VERSION="1.1.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.videolan.org/developers/libdvbcsa.html"
PKG_URL="http://download.videolan.org/pub/videolan/libdvbcsa/${PKG_VERSION}/libdvbcsa-${PKG_VERSION}.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="lib"
PKG_SHORTDESC="libdvbcsa is a free implementation of the DVB Common Scrambling Algorithm - DVB/CSA - with encryption and decryption capabilities"
PKG_LONGDESC="libdvbcsa is a free implementation of the DVB Common Scrambling Algorithm - DVB/CSA - with encryption and decryption capabilities"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

View File

@ -36,5 +36,6 @@ cd $PKG_BUILD
VDRSRC="../$VDR_DIR" \
LIBDIR="." \
LOCALEDIR="./locale" \
LIBDVBCSA=1 \
CSAFLAGS="$CFLAGS -Wall -fomit-frame-pointer -fexpensive-optimizations -funroll-loops"

View File

@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
PKG_SITE="https://github.com/manio/vdr-plugin-dvbapi"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="vdr openssl"
PKG_BUILD_DEPENDS="toolchain vdr openssl"
PKG_BUILD_DEPENDS="toolchain vdr openssl libdvbcsa"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="TV"

View File

@ -1,3 +1,6 @@
3.1.4
- vdr-plugin-dvbapi: switch to libdvbcsa
3.1.3
- rebuild

View File

@ -21,7 +21,7 @@
PKG_NAME="vdr-addon"
PKG_VERSION="3.1"
PKG_REV="3"
PKG_REV="4"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"

View File

@ -16,7 +16,7 @@ index c20facc..c1044c8 100644
((bus && strstr(bus, "usb")) ||
(cdrom && strstr(cdrom,"1")) ||
- (mountpoint && strstr(mountpoint, "usb"))))
+ (mountpoint)))
+ (mountpoint && strstr(mountpoint, "/media/"))))
{
const char *label = udev_device_get_property_value(device, "ID_FS_LABEL");
if (!label)