It's a library to mix OpenGL graphics with Allegro routines. It's needed by some games. I suggest the media-libs category Reproducible: Always Steps to Reproduce:
Created attachment 41225 [details] allegrogl-0.2.4.ebuild
is there a test application I can test this lib against?
You can test it with Machine Ball: http://benny.kramekweb.com/machineball I'm doing its ebuild, but it segfaults when I run my compiled version. Try it with the precompiled version available to download.
doesn't build for me... gcc -o examp/test -Iinclude -Iinclude/allegrogl -Iinclude/allegrogl/GLext -I/usr/include -I/usr/X11R6/include -O2 -Wall -ffast-math -fomit-frame-pointer -L/usr/X11R6/lib -Llib/unix examp/test.c -lagl `allegro-config --libs` -lGLU -lGL -ldl -lXxf86vm -lXext -lX11 -lm -lpthread lib/unix/libagl.so: undefined reference to `agl_unwrite_line_c' lib/unix/libagl.so: undefined reference to `agl_write_line_c' collect2: ld returned 1 exit status make: *** [examp/test] Error 1 !!! ERROR: media-libs/allegrogl-0.2.4 failed. !!! Function src_compile, Line 22, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
It's strange. Do you get to the same error compiling it by hand?
added to portage... works for me with 'emake -j1', so it's probably a concurrency issue. I patched it to work with DESTDIR, so it can work on amd64's lib64 profile now...