Package Details: supertux-git 1:v0.5.1.r1000.ga100d02f0-1

Git Clone URL: https://aur.archlinux.org/supertux-git.git (read-only)
Package Base: supertux-git
Description: A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario game
Upstream URL: http://supertux.lethargik.org/
Licenses: GPL
Conflicts: supertux
Provides: supertux
Submitter: chenxiaolong
Maintainer: tuckerboniface
Last Packager: tuckerboniface
Votes: 14
Popularity: 0.000047
First Submitted: 2012-02-16 21:18
Last Updated: 2019-01-11 02:19

Latest Comments

1 2 3 4 5 Next › Last »

tuckerboniface commented on 2019-01-11 02:22

I apologise for the long wait, freetype2 has been added as a dependency.

colinkeenan commented on 2019-01-11 01:56

@FredBezies, @tuckerboniface, @chenxiaolong

One of you, please add the missing makedepends, 'freetype2'

(I'm not sure, but maybe it should be in depends instead of makedepends)

colinkeenan commented on 2018-12-23 03:34

@tuckerboniface or @FredBezies or whoever is maintaining this. There is a missing dependency (or make dependency):

freetype2

@erock - thanks. Adding 'freetype2' to the dependency list works, so it should be in the PKGBUILD here in the AUR.

erock commented on 2018-11-25 16:50

@colinkeenan The latest version of supertux doesn't seem to require the hack anymore -- it works for me without any changes. If it isn't working in a clean chroot, perhaps adding 'freetype2' to the list of dependencies is necessary?

colinkeenan commented on 2018-11-21 22:23

That trick doesn't work for me (or anymore - I don't know because I didn't try it in October).

It doesn't work because CMakeLists.txt no long contains the string 'freetype' or 'FREETYPE_DIR'. That line that KokPok changed no longer exists. The only line containing anything about freetype is this:

    target_link_libraries(supertux2_lib PUBLIC ${FREETYPE_LIBRARIES})

Any solutions?

However, the older trick of putting an executable freetype-config in /usr/bin works. It's just that I can't do it in a clean chroot and I don't see anyway to fix the PKGBUILD since setting an alias didn't work.

erock commented on 2018-10-23 15:38

Adding the lines in cogwerkz's solution works for me as well.

cogwerkz commented on 2018-10-04 10:10

Following up on KokPok's solution, I added the following 3 lines to the prepare() function in the PKGBUILD, and it now (for me at least) compiles, installs and runs fine! :)

  line_old='--with-freetype-prefix=${FREETYPE_DIR}'
  line_new='--with-freetype-prefix=/usr'
  sed -i "s%$line_old%$line_new%g" ./CMakeLists.txt

KokPok commented on 2018-10-01 13:44

Found another solution: inside supertux directory CMakeLists.txt line 409 change "--with-freetype-prefix=${FREETYPE_DIR}" parameter to "--with-freetype-prefix=/usr". Now, please, check if it works for you and make appropriate patch for CMakeLists.txt I am not smart enough for that :)

FredBezies commented on 2018-09-29 17:21

This PKGBUILD is utterly broken. Even after adding this in prepare() it won't build for long.

alias freetype-config='pkg-config freetype2 "$@"'

So orphaning it. Sorry.

erock commented on 2018-09-29 14:50

I got around the SDL_ttf error by creating a script named "freetype-config" in my PATH as follows:

#!/bin/sh

pkg-config freetype2 "$@"

Perhaps this could be incorporated into the PKGBUILD.