Thanks a lot WanWizard, the symlink fix my problem
ln -s /usr/lib/libidn2.so.0.3.5 /usr/lib/libidn2.so.4
Now the next step
Is it possible to compile oscam from a local folder instead of download from git/svn?
I put my patched source in
/home/davide/openpli_dev/openpli-oe-core/meta-openpli/recipes-openpli/enigma2-softcams/enigma2-plugin-softcams-oscam/oscam-svn/
But how to adjust the recipe? I try a lot of features but no success...
require conf/license/openpli-gplv2.inc
require softcam.inc
inherit cmake
DESCRIPTION = "OScam ${PV} Open Source Softcam"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "file://oscam-svn"
DEPENDS = "libusb openssl"
B = "${S}"
CAMNAME = "oscam"
CAMSTART = "/usr/bin/oscam --wait 0 --config-dir /etc/tuxbox/config/oscam --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8"
CAMSTOP = "kill \`cat /tmp/oscam.pid\` 2> /dev/null"
SRC_URI += " \
file://oscam.conf \
file://oscam.server \
file://oscam.srvid \
file://oscam.user \
file://oscam.provid"
CONFFILES = "/etc/tuxbox/config/oscam/oscam.conf /etc/tuxbox/config/oscam/oscam.server /etc/tuxbox/config/oscam/oscam.srvid /etc/tuxbox/config/oscam/oscam.user /etc/tuxbox/config/oscam/oscam.provid"
FILES_${PN} = "/usr/bin/oscam /etc/tuxbox/config/oscam/* /etc/init.d/softcam.oscam"
EXTRA_OECMAKE += "\
-DOSCAM_SYSTEM_NAME=Tuxbox \
-DWEBIF=1 \
-DWITH_STAPI=0 \
-DHAVE_LIBUSB=0 \
-DSTATIC_LIBUSB=0 \
-DWITH_SSL=0 \
-DIPV6SUPPORT=0 \
-DCLOCKFIX=1 \
-DHAVE_PCSC=0"
do_install() {
install -d ${D}/etc/tuxbox/config/oscam
install -m 0644 ${WORKDIR}/oscam.* ${D}/etc/tuxbox/config/oscam/
install -d ${D}/usr/bin
install -m 0755 ${B}/oscam ${D}/usr/bin
}
Edited by dax, 27 February 2019 - 09:39.