Posts by niabi

    I saw your post on github, and the same thing happens when I add that line.

    not sure why it is not loading the library. I've tried several other things but no luck :(

    That's great news !!

    Did you try putting it in the same dir as the binary ?

    On my S805 it is sitting under: ./storage/.kodi/addons/script.moonlight/lib/libmoonlight-aml.so

    I already saw you asked irtimmer over at github.

    Let's hope for the best.

    Yes and it didn't work.

    note that I didn't build it as an add-on so I might need to set up some configuration file that I missed, I will try again after work and see what I can find.

    Progress: I was able to start moonlight in the S905

    Unfortunately it seems its only software aceleration so it looks very bad, -platform aml still doesnt work even tho it is listed as available.

    Will keep working on this.

    edit: I found out we probably need libmoonlight-aml.so somewhere, but I am not sure where to put it so that moonlight can find it, I tried in the libs folder and it didn't work.

    I am interested in getting this to work, altho I am also a newbie in all of this but maybe we can find a solution together.

    Can you post a link to your updated packages?

    Make another package as dependency which doesn't build anything. It just unpack sources. And you can use them from original package.

    Thanks for the reply, unfortunately I don't think I follow.

    What I understand is, create a package that points to the "commom" sub module and then add it as a dependency? do this for all required sub modules?

    Is there an example anywhere I could check ?

    HI again apologize if this is a stupid question, I am still learning and I haven't found an answer to this in the forum.

    How can I gracefully handle git sources that depend on sub modules?

    say per example this:

    GitHub - GStreamer/gst-plugins-base: 'Base' GStreamer plugins and helper libraries

    It has a submodule called "common" if I create a simple package.mk that pulls the latest hash the compilation fails complaining that I need the sub module.

    I have been dealing with it like this:

    Code
    post_unpack() {
      rm -rf $BUILD/$PKG_NAME-*/
      git clone https://github.com/GStreamer/gst-plugins-base $BUILD/$PKG_NAME-$PKG_VERSION/
      cd $BUILD/$PKG_NAME-$PKG_VERSION/
      git checkout $PKG_VERSION
      git submodule update --init
      cd $ROOT
    }

    But I am not sure if this is the right way to do it since every time I have to recompile because of any change, it clones the repo again, instead of just getting it from the source folder.

    also I am not 100% positive but it seems this also breaks compilation on some libraries.

    First of all I am very new to compiling stuff on linux so this question might be very stupid, so I apologize in advance.
    I am very close to compiling gstreamer with the base plugins, but I ran into an error that I cannot understand how to fix. for some reason the gstreamer plugins keep looking for the included libraries and headers in another folder than the one I pointed it too, and I don't know how to fix it.


    this is the error I get

    Code
    cc1: error: /home/sg/sx05re/Kszaq/build.Sx05RE-S905.arm-1.6/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/home/sg/sx05re/Kszaq/build.Sx05RE-S905.arm-1.6/gstreamer-5f5caff: No such file or directory [-Werror=missing-include-dirs]


    This is how I am doing it.


    First I compile gstreamer with this:


    This puts the headers and libraries in the sysroot folder which is /home/sg/sx05re/Kszaq/build.Sx05RE-S905.arm-1.6/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/


    now when I try to compile the plugins I use:

    Code
    configure_target() {
    export PKG_CONFIG_PATH="/home/sg/sx05re/Kszaq/build.Sx05RE-S905.arm-1.6/gstreamer-5f5caff/pkgconfig"
    CFLAGS="-I$SYSROOT_PREFIX/usr/include/"
    ./autogen.sh  --prefix="/usr" \
    --host="$TARGET_NAME" \
    --disable-gtk-doc \
    --includedir="$SYSROOT_PREFIX/usr/include/" \
    --libdir="$SYSROOT_PREFIX/usr/lib"
    }


    I have tried many combinations with the -includeddir the CFLAGS and libdir, but it keeps trying to look for them in that folder which doesn't even exists.

    Code
    /home/sg/sx05re/Kszaq/build.Sx05RE-S905.arm-1.6/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/home/sg/sx05re/Kszaq/build.Sx05RE-S905.arm-1.6/gstreamer-5f5caff


    Anyone know why? I know I am doing something terribly wrong, but I am too dumb to know what it is :(

    I found out that I need to also compile the gstreamer plugins, and those do not compile on Libreelec yet :( getting an error with libtool.

    will probably ask for help on another thread since its not really related to QT.

    Hmm this is interesting. I do not have an S805 to test, but I can probably look at what is different, I know the SDL package will be the same, the only thing I can think of would be the Kernel. I will get back to you on this.

    do you have a link to the S805 complete image that you used?