diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-rpg/freedink/freedink-108.4-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/freedink/freedink-108.4-r1.ebuild')
-rw-r--r-- | games-rpg/freedink/freedink-108.4-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/games-rpg/freedink/freedink-108.4-r1.ebuild b/games-rpg/freedink/freedink-108.4-r1.ebuild new file mode 100644 index 000000000000..743ce07e7546 --- /dev/null +++ b/games-rpg/freedink/freedink-108.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic + +DESCRIPTION="Dink Smallwood is an adventure/role-playing game, similar to Zelda (2D top view)" +HOMEPAGE="http://www.freedink.org/" +SRC_URI="mirror://gnu/freedink/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + >=media-libs/fontconfig-2.4 + >=media-libs/libsdl-1.2[X,sound,joystick,video] + >=media-libs/sdl-gfx-2.0 + >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2[midi,vorbis,wav] + >=media-libs/sdl-ttf-2.0.9 +" +RDEPEND="${DEPEND} + games-rpg/freedink-data +" +DEPEND="${DEPEND} + dev-libs/check + virtual/pkgconfig + sys-devel/gettext +" +PATCHES=( + "${FILESDIR}"/${PN}-108.4-no-windres.patch +) + +src_prepare() { + default + sed -i \ + -e 's#^datarootdir =.*$#datarootdir = /usr/share#' \ + share/Makefile.in || die + # seems like the code is fragile (bug #559548) + filter-flags + replace-flags -O? -O0 +} + +src_configure() { + econf \ + --disable-embedded-resources \ + --localedir="/usr/share/locale" +} |