Freegemas is an open source version of the well known Bejeweled

Compiled with

cmake .. -DCMAKE_EXE_LINKER_FLAGS='-lintl'

Gameplay
https://i.imgur.com/L1Jn0os.mp4

15 Likes

Thanks for pointing out, now available in the depot. :slight_smile:

4 Likes

Thanks for making the recipe and the depot

The version in the x86 depot is pretty slow.

I’ll check again later, don’t think I can do much on speed here.

EDIT, checked and running fine here.

I’m trying to compile it on x86, but experiencing trouble with SDL2_ttf:

[x86] ~/freegemas-master> cmake . 
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /boot/system/bin/x86/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /boot/system/bin/x86/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /boot/system/bin/x86/pkg-config (found version "0.29.2") 
-- Checking for one of the modules 'SDL2_image>=2.0.0'
-- Checking for one of the modules 'SDL2_ttf>=2.0.0'
CMake Error at /boot/system/data/cmake/Modules/FindPkgConfig.cmake:894 (message):
  None of the required 'SDL2_ttf>=2.0.0' found
Call Stack (most recent call first):
  CMakeLists.txt:182 (pkg_search_module)


-- Checking for one of the modules 'SDL2_mixer>=2.0.0'
-- Checking for one of the modules 'jsoncpp'
-- Configuring incomplete, errors occurred!
See also "/boot/home/freegemas-master/CMakeFiles/CMakeOutput.log".

All SDL2_ttf packages are installed on my system.

Install sdl2_ttf_devel and try again.

By default the devel header packages don’t show up in HaikuDepot unless you ask for them in a menu.

This is a known problem with the latest SDL2_ttf package. It is also causing problems when building PPSSPP.

Ok. I take back what I said. CMake has a problem according to the link.

There is indeed a problem with the cmake config files that ship now with the latest release for SDL2-ttf, I re-checked and removing them from the package fixes the issue, probably going to do that today, up on where the real problem is fixed.
Someone already looked at fixing the config files but no solution yet.

3 Likes

I’ve fixed the SDL2_ttf package. You should be able to build freegemas if you update to sdl2_ttf-2.20.2-2

4 Likes