stefan-gr / abendbrot

Desktop oriented overlay for various ebuilds and the occasional gamer
19 stars 13 forks source link

Make running on kms possible on rpi #119

Open barbudreadmon opened 6 years ago

barbudreadmon commented 6 years ago

To run retroarch with kms on a raspberry, you need to explicitly disable videocore to prevent the configure script to autodetect it.

barbudreadmon commented 6 years ago

I'm getting 2 issues with my emulationstation ebuild :

Any idea why it's happening ?

Those changes should allow :

barbudreadmon commented 6 years ago

Ok, i had a file at /etc/portage/env/games-emulation/emulationstation with some settings, it is building properly after removing it

barbudreadmon commented 6 years ago

Also added :

barbudreadmon commented 6 years ago

also, with my modification to the retroarch ebuild and my fixed raspberrypi-userland ebuild, you probably don't need this anymore in the retroarch ebuild (pkg-config + configure should handle it properly) : `

if use videocore; then
    export HAVE_VIDEOCORE="yes"
else
    export HAVE_VIDEOCORE="no"
    sed -i qb/config.libs.sh \
        -e 's:\[ -d /opt/vc/lib \] && add_library_dirs /opt/vc/lib && add_library_dirs /opt/vc/lib/GL::' || die 'sed failed'
fi`