0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 08:39:51 +00:00
Rudi Heitbaum 2296877aad oscam: update to 11799 and addon (2)
- update to new PKG_ locations
- revision option is deprecated
2024-07-07 04:03:32 +00:00

78 lines
2.0 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="oscam"
PKG_VERSION="11799"
PKG_SHA256="10e7ffb153c66b4f29c21dd5a239d1186f988e918e8ff2673a4ea5fb9073a209"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://git.streamboard.tv/common/oscam/-/wikis"
PKG_URL="https://git.streamboard.tv/common/oscam/-/archive/${PKG_VERSION}/oscam-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain openssl pcsc-lite"
PKG_SECTION="service.softcam"
PKG_SHORTDESC="OSCam: an Open Source Conditional Access Modul"
PKG_LONGDESC="OSCam is a software to be used to decrypt digital television channels, as an alternative for a conditional access module."
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="OSCam"
PKG_ADDON_TYPE="xbmc.service"
PKG_CMAKE_OPTS_TARGET="\
`#Building` \
-DLIBUSBDIR=${SYSROOT_PREFIX}/usr \
-DOPTIONAL_INCLUDE_DIR=${SYSROOT_PREFIX}/usr/include \
\
`#Readers` \
-DCARDREADER_DB2COM=OFF \
-DCARDREADER_DRECAS=ON \
-DCARDREADER_INTERNAL=OFF \
-DCARDREADER_MP35=ON \
-DCARDREADER_PHOENIX=ON \
-DCARDREADER_SC8IN1=ON \
-DCARDREADER_SMARGO=ON \
-DCARDREADER_STAPI5=OFF \
-DCARDREADER_STAPI=OFF \
-DCARDREADER_STINGER=ON \
\
`#Protocol` \
-DMODULE_CAMD33=OFF \
-DMODULE_CAMD35=ON \
-DMODULE_CAMD35_TCP=ON \
-DMODULE_CCCAM=ON \
-DMODULE_CCCSHARE=ON \
-DMODULE_CONSTCW=ON \
-DMODULE_GBOX=ON \
-DMODULE_GHTTP=ON \
-DMODULE_NEWCAMD=ON \
-DMODULE_PANDORA=ON \
-DMODULE_RADEGAST=ON \
-DMODULE_SCAM=ON \
-DMODULE_SERIAL=ON \
\
`#Features` \
-DCLOCKFIX=0 \
-DCS_ANTICASC=ON \
-DCS_CACHEEX=ON \
-DCW_CYCLE_CHECK=ON \
-DHAVE_DVBAPI=1 \
-DHAVE_LIBCRYPTO=1 \
-DSTATIC_LIBUSB=1 \
-DTOUCH=ON \
-DWEBIF=1 \
-DWEBIF_LIVELOG=1 \
-DWEBIF_JQUERY=1 \
-DWITH_DEBUG=0 \
-DWITH_SSL=1 \
-DWITH_STAPI=0"
makeinstall_target() {
:
}
addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
cp -P ${PKG_BUILD}/.${TARGET_NAME}/oscam ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
cp -P ${PKG_BUILD}/.${TARGET_NAME}/utils/list_smargo ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
}