remove package: vdr-sc

This commit is contained in:
Stefan Saraev 2014-03-23 21:48:12 +02:00
parent add0e01e1e
commit b4d48bdd0e
5 changed files with 0 additions and 227 deletions

View File

@ -1,59 +0,0 @@
################################################################################
# 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 <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="vdr-sc"
PKG_VERSION="620"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://85.17.209.13:6100/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain vdr openssl"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="TV"
PKG_LONGDESC="TV"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_make_target() {
# dont build parallel
MAKEFLAGS=-j1
}
pre_configure_target() {
# vdr-sc fails building with LTO support
strip_lto
export CFLAGS="$CFLAGS -fPIC"
export CXXFLAGS="$CXXFLAGS -fPIC"
export LDFLAGS="$LDFLAGS -fPIC"
export CSAFLAGS="$CFLAGS -Wall -fomit-frame-pointer -fexpensive-optimizations -funroll-loops"
}
make_target() {
VDR_DIR=$(get_build_dir vdr)
make VDRDIR=$VDR_DIR \
LIBDIR="." \
LOCALEDIR="./locale"
}
makeinstall_target() {
: # installation not needed, done by create-addon script
}

View File

@ -1,12 +0,0 @@
diff -Naur vdr-sc-603/Makefile vdr-sc-603.patch/Makefile
--- vdr-sc-603/Makefile 2011-12-24 04:02:53.000000000 +0100
+++ vdr-sc-603.patch/Makefile 2011-12-29 18:57:21.660586103 +0100
@@ -213,7 +213,7 @@
@cp -p $< $@
$(FFDECSA) $(FFDECSATEST): $(FFDECSADIR)/*.c $(FFDECSADIR)/*.h
- @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS) -march=$(CPUOPT)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) all
+ @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) FFdecsa.o
$(I18Npot): $(shell grep -rl '\(tr\|trNOOP\)(\".*\")' *.c $(SYSDIR))
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<noone@nowhere.org>' -o $@ `ls $^`

View File

@ -1,31 +0,0 @@
diff --git a/device.c b/device.c
index 04bbef1..e6d63aa 100644
--- a/device.c
+++ b/device.c
@@ -357,7 +357,7 @@ bool cScDevices::Initialize(void)
*vdr_nci=0; *vdr_ud=vdr_save_ud;
int i, found=0;
- for(i=0; i<MAXDVBDEVICES; i++) {
+ for(i=0; i<MAXDEVICES; i++) {
if(UseDevice(NextCardIndex())) {
char name[128];
cScDevices::DvbName(DEV_DVB_FRONTEND,i,0,name,sizeof(name));
@@ -382,7 +382,7 @@ bool cScDevices::Initialize(void)
}
else NextCardIndex(1);
}
- NextCardIndex(MAXDVBDEVICES-i);
+ NextCardIndex(MAXDEVICES-i);
if(found>0) PRINTF(L_GEN_INFO,"captured %d video device%s",found,found>1 ? "s" : "");
else PRINTF(L_GEN_INFO,"no DVB device captured");
return found>0;
@@ -411,7 +411,7 @@ void cScDevices::Shutdown(void)
void cScDevices::SetForceBudget(int n)
{
- if(n>=0 && n<MAXDVBDEVICES) budget|=(1<<n);
+ if(n>=0 && n<MAXDEVICES) budget|=(1<<n);
}
bool cScDevices::ForceBudget(int n)

View File

@ -1,73 +0,0 @@
## source: http://overlays.gentoo.org/svn/proj/vdr/vdr-devel/media-plugins/vdr-sc/files/
diff -r 29b7b5f231c8 cam.c
--- a/cam.c Sat Jul 21 20:51:33 2012 +0200
+++ b/cam.c Wed Jan 08 16:47:38 2014 +0400
@@ -1841,7 +1841,7 @@
cScCamSlot(cCam *Cam, const char *DevId, int Slot);
void Process(const unsigned char *data, int len);
eModuleStatus Status(void);
- bool Reset(bool log=true);
+ bool ResetSlot(bool log=true);
cCiFrame *Frame(void) { return &frame; }
};
@@ -1853,7 +1853,7 @@
cam=Cam; devId=DevId; slot=Slot;
version=0; caids[0]=0; doReply=false; lastStatus=msReset;
frame.SetRb(&rb);
- Reset(false);
+ ResetSlot(false);
}
eModuleStatus cScCamSlot::Status(void)
@@ -1876,7 +1876,7 @@
return status;
}
-bool cScCamSlot::Reset(bool log)
+bool cScCamSlot::ResetSlot(bool log)
{
reset=true; resetTimer.Set(SLOT_RESET_TIME);
rb.Clear();
@@ -1890,7 +1890,7 @@
bool dr=cam->IsSoftCSA(false) || ScSetup.ConcurrentFF>0;
if(dr!=doReply && !IsDecrypting()) {
PRINTF(L_CORE_CI,"%s.%d: doReply changed, reset triggered",devId,slot);
- Reset(false);
+ ResetSlot(false);
doReply=dr;
}
if(checkTimer.TimedOut()) {
@@ -2330,7 +2330,7 @@
{
cMutexLock lock(&ciMutex);
PRINTF(L_CORE_CI,"%s: reset of slot %d requested",devId,Slot);
- return slots[Slot] ? slots[Slot]->Reset():false;
+ return slots[Slot] ? slots[Slot]->ResetSlot():false;
}
eModuleStatus cCam::ModuleStatus(int Slot)
--- a/device-tmpl.c 2012-07-21 20:51:33.000000000 +0200
+++ b/device-tmpl.c 2014-01-26 13:51:59.000000000 +0100
@@ -41,7 +41,6 @@
#endif //!SASC
protected:
#ifndef SASC
- virtual bool Ready(void);
virtual bool SetPid(cPidHandle *Handle, int Type, bool On);
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
virtual bool OpenDvr(void);
@@ -164,12 +163,6 @@
return cam || hwciadapter;
}
-bool SCDEVICE::Ready(void)
-{
- return (cam ? cam->Ready():true) &&
- (hwciadapter ? hwciadapter->Ready():true);
-}
-
bool SCDEVICE::SetPid(cPidHandle *Handle, int Type, bool On)
{
if(cam) cam->SetPid(Type,Handle->pid,On);

View File

@ -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
################################################################################
PKG_NAME=vdr-sc
HG_URL=http://85.17.209.13:6100/
HG_NAME=sc
HG_REV=latest
echo "getting sources..."
if [ ! -d $PKG_NAME.hg ]; then
hg clone ${HG_URL}${HG_NAME} $PKG_NAME.hg
fi
cd $PKG_NAME.hg
if [ $HG_REV = latest ]; then
hg update
HG_REV=$(hg identify -n)
else
hg update $HG_REV
fi
cd ..
echo "copying sources..."
rm -rf $PKG_NAME-$HG_REV
cp -R $PKG_NAME.hg $PKG_NAME-$HG_REV
echo "cleaning sources..."
rm -rf $PKG_NAME-$HG_REV/.hg
echo "packing sources..."
tar cvJf $PKG_NAME-$HG_REV.tar.xz $PKG_NAME-$HG_REV
echo "remove temporary sourcedir..."
# rm -rf $PKG_NAME-$HG_REV