1 # Copyright © 2015 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or later.
3 # There is NO WARRANTY, to the extent permitted by law.
9 DESCRIPTION="English-language fork of ONScripter: a free clone of NScripter"
10 HOMEPAGE="http://unclemion.com/dev/projects/onscripter-en"
12 # This package has a hard dep on SDL_ttf-2.0.10, fonts do not work with
13 # 2.0.11. Download that release specifically.
14 SRC_URI="http://unclemion.com/dev/attachments/download/36/$P-src.tar.bz2
15 https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.10.tar.gz
22 DEPEND="app-arch/bzip2
24 media-libs/sdl-mixer[vorbis]
33 "$FILESDIR/$P-fix-configure.patch"
34 "$FILESDIR/$PN-respect-CXXFLAGS.patch"
38 einfo "Configuring SDL_ttf"
39 cd "$WORKDIR/SDL_ttf-2.0.10" || die
40 econf --prefix="$S/onscrlib" --libdir='${prefix}/lib' \
41 --enable-static --disable-shared || die
43 einfo "Configuring $PN"
45 econf --unsupported-compiler \
46 --onscrlib-path="$S" --with-internal-sdl-ttf
50 einfo "Building SDL_ttf"
51 cd "$WORKDIR/SDL_ttf-2.0.10" || die
52 emake noinst_PROGRAMS= install || die
62 dogamesbin onscripter-en