Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

Gentoo Linux ebuild

Myckel
Sunday, February 12, 2012 - 11:46
Myckel's picture

I've spend this evening writing an ebuild for our Gentoo Linux users.

They can find it here: https://bugs.gentoo.org/show_bug.cgi?id=403319

  • Log in or register to post comments
dscharrer
joined 13 years 2 months ago
Tuesday, April 10, 2012 - 13:10

Since the ebuild hasn't made it in the main portage tree or the games overlay yet, i've fixed a few issues and added it to the arx-libertatis overlay.

One thing i've noticed is that flare's CMakeLists.txt explicitly prepents ${CMAKE_INSTALL_PREFIX} to the path in install command. This is not necessary for relative paths but prevents using absolute paths for BINDIR (or DATADIR) like GAMES_BINDIR provided by the games eclass in gentoo or %{_bindir} in rpm spec files.

You would then also need to adjust the FLARE_EXECUTABLE_PATH:

if(NOT IS_ABSOLUTE ${BINDIR})
  set(FLARE_EXECUTABLE_PATH ${CMAKE_INSTALL_PREFIX}/${BINDIR}/flare)
else()
  set(FLARE_EXECUTABLE_PATH ${BINDIR}/flare)
endif()

or just assume that flare is in the $PATH and use that in flare.desktop

 

  • Log in or register to post comments