bennettpeter / android-MythTV-Leanfront

:tv: MythTV Android TV frontend
GNU General Public License v3.0
45 stars 9 forks source link

Fix Compilation on Mac OS #13

Closed coliss86 closed 3 years ago

coliss86 commented 3 years ago

Hi,

here is a PR to update the build process to work os OSX.

I also update the strip and nm command to use llvm-* as described in the doc

Thx

coliss86 commented 3 years ago

@bennettpeter how can I improved this PR ? Would you like me to split it into several PR ? Is there anything you do not want at all ?

bennettpeter commented 3 years ago

I am waiting for you to resolve the pick-first. I suggested above "If you build the release version it does not even use x86. Maybe you could try changing the buildTypes in build.gradle. I have debug and release. Try create another one, like osbuild with different ndk list, perhaps that will solve it." Did you try that?

Also the next version of exoplayer builds the ffmpeg differently. It statically links it instead of building the ffmpeg libraries. I have not tried that yet. At some point I will upgrade.

bennettpeter commented 3 years ago

I have committed upgrade to the latest exoplayer in devel branch. It now only builds one so library instead of 4, and it uses cmake. This may solve your problem or it may change it to something else. After some testing I will merge the devel branch into master.

bennettpeter commented 3 years ago

exoplayer upgrade is now in master branch.

coliss86 commented 3 years ago

Thanks for the update :muscle: , I'll in the next days to work on it.