mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 09:16:19 +00:00
83 lines
2.2 KiB
Makefile
83 lines
2.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="oscam"
|
|
PKG_VERSION="db7c4cbdbd34a9b0464070b1a46e146e6029a2cb" # 2022-10-22
|
|
PKG_SHA256="b5dd1d0dc71553c8504d6982b6bae437d6bef17c6cd8a38ac4710a38300018cf"
|
|
PKG_VERSION_NUMBER="11715"
|
|
PKG_REV="0"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://www.streamboard.tv/oscam/wiki"
|
|
PKG_URL="https://repo.or.cz/oscam.git/snapshot/${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(${PKG_VERSION_NUMBER}) 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"
|
|
|
|
pre_configure_target() {
|
|
export OSCAM_ADDON_VERSION="${PKG_VERSION_NUMBER}"
|
|
}
|
|
|
|
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
|
|
}
|