diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk new file mode 100644 index 0000000000..9a8c574dd6 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk @@ -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="tsdecrypt" +PKG_VERSION="10.0" +PKG_REV="0" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://georgi.unixsol.org/programs/tsdecrypt" +PKG_URL="http://georgi.unixsol.org/programs/tsdecrypt/${PKG_NAME}-${PKG_VERSION}.tar.bz2" +PKG_DEPENDS_TARGET="toolchain libdvbcsa" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="tsdecrypt" +PKG_LONGDESC="tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then decrypts it using libdvbcsa/ffdecsa and keys obtained from OSCAM or similar cam server" +PKG_AUTORECONF="no" + +makeinstall_target() { + : # nop +} diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch new file mode 100644 index 0000000000..979cd7eff5 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch @@ -0,0 +1,29 @@ +diff -Naur tsdecrypt-10.0/libfuncs/Makefile tsdecrypt-10.0.patch/libfuncs/Makefile +--- tsdecrypt-10.0/libfuncs/Makefile 2013-09-12 12:53:27.000000000 +0200 ++++ tsdecrypt-10.0.patch/libfuncs/Makefile 2014-07-20 12:23:54.900762191 +0200 +@@ -1,5 +1,4 @@ +-CC = $(CROSS)$(TARGET)gcc +-LINK = $(CROSS)$(TARGET)ld -o ++LINK = $(LD) -o + MKDEP = $(CC) -M -o $*.d $< + + LIBRARY_LINK_OPTS = -L. -r +diff -Naur tsdecrypt-10.0/libtsfuncs/Makefile tsdecrypt-10.0.patch/libtsfuncs/Makefile +--- tsdecrypt-10.0/libtsfuncs/Makefile 2013-09-12 12:53:30.000000000 +0200 ++++ tsdecrypt-10.0.patch/libtsfuncs/Makefile 2014-07-20 12:23:54.901762318 +0200 +@@ -1,5 +1,4 @@ +-CC = $(CROSS)$(TARGET)gcc +-LINK = $(CROSS)$(TARGET)ld -o ++LINK = $(LD) -o + MKDEP = $(CC) -M -o $*.d $< + + LIBRARY_LINK_OPTS = -L. -r +diff -Naur tsdecrypt-10.0/Makefile tsdecrypt-10.0.patch/Makefile +--- tsdecrypt-10.0/Makefile 2013-09-12 12:53:16.000000000 +0200 ++++ tsdecrypt-10.0.patch/Makefile 2014-07-20 12:24:11.303809770 +0200 +@@ -1,5 +1,3 @@ +-CC = $(CROSS)$(TARGET)cc +-STRIP = $(CROSS)$(TARGET)strip + MKDEP = $(CC) -MP -MM -o $*.d $< + RM = rm -f + MV = mv -f