Open Cubic Player (unix fork). Music visualizer for various tracked music formats (amiga modules, S3M, IT), chiptunes and other formats related to demoscene
I tried packaging ocp-0.2.90 for Gentoo, referring to old 0.1.20 ebuild and modern eclasses.
When bumping to 0.2.100 today, I noticed sometimes emake -j5 fails on stuff/ttf.c because of missing CFLAGS with -I/usr/include/freetype2, or on libSDL2-dependent translation units. emake -j1 works, so it's not a dependency/linker problem. I found the new libcjson dependency since 0.2.93 and unifont dir flag rename on my own.
I stopped to include (and check) 0.2.99 ebuild as a known good, because Makefiles underwent major changes between 0.2.99 and 0.2.100, apparently.
Sorry for being slow. I will add dependencies on the directories so that it does not attempt to build the .o files directly from the project root folder.
I tried packaging ocp-0.2.90 for Gentoo, referring to old 0.1.20 ebuild and modern eclasses.
When bumping to 0.2.100 today, I noticed sometimes
emake -j5
fails on stuff/ttf.c because of missing CFLAGS with-I/usr/include/freetype2
, or on libSDL2-dependent translation units.emake -j1
works, so it's not a dependency/linker problem. I found the new libcjson dependency since 0.2.93 and unifont dir flag rename on my own.I stopped to include (and check) 0.2.99 ebuild as a known good, because Makefiles underwent major changes between 0.2.99 and 0.2.100, apparently.
https://github.com/mywave82/opencubicplayer/blob/5062815fc1210f856724164b61d5f9421356a896/stuff/Makefile#L234-L236
Here are my ebuilds, for any Gentoo daily drivers interested: https://github.com/ALTracer/altracer-overlay/tree/master/media-sound/ocp
Snippet of failing build log: /var/log/portage/build/media-sound/ocp-0.2.100:20221008-134035.log.gz
Notice the double global CFLAGS (
-march=native -O2 -pipe
) and next invocation of gcc successfully compiling the ttf.o with proper per-object CFLAGS.