@athoik Thank you.
I compile plugin on own build system, so I do not know anything much about OE.
But the correct plugin directory is in /usr/lib/enigma2/python/Plugins.
When I using setuptools I set --install-purelib=$(PKDIR)/usr/lib/enigma2/python/Plugins to change the installation directory: https://bitbucket.or...ugin-youtube.mk
Maybe I'm wrong, but looking in your bb file, it seems to me that in that also need to do something similar.
If necessary I can also change the file setup.py to adapt it to the OE.
Hi @Taapat,
I am inheriting the well known distutils-openplugins.bbclass that does the job for us.
# cat distutils-openplugins.bbclass
inherit distutils
# Scripts want to install "/etc", so we need "--root" instead of setting install-data stuff
# to remain compatible with previous versions.
DISTUTILS_INSTALL_ARGS = "\
--root=${D} \
--install-data=${datadir} \
--install-lib=${libdir}/enigma2/python/Plugins \
"
# Remove "egg-info" files. If datadir or site-packages dir is empty, remove it.
distutils_do_install_append() {
rm -f ${D}${libdir}/enigma2/python/Plugins/*.egg-info
rmdir -p --ignore-fail-on-non-empty ${D}${datadir} ${D}/${PYTHON_SITEPACKAGES_DIR} || true
}
I am also attaching the ipk produced with the bitbake I provided at previous post, let me know if you see something wrong.
Edit1.
FILES_${PN}-src need some changes, I will fix bitbake and will upload again.
Edited by athoik, 28 July 2015 - 15:43.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916