You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
58 lines
1.3 KiB
10 years ago
|
# Copyright 1999-2014 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedink/freedink-108.4.ebuild,v 1.1 2014/11/12 16:01:06 hasufell Exp $
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
inherit games
|
||
|
|
||
|
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="nls"
|
||
|
|
||
|
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-1.08.20140901"
|
||
|
DEPEND="${DEPEND}
|
||
|
dev-libs/check
|
||
|
virtual/pkgconfig
|
||
|
nls? ( sys-devel/gettext )"
|
||
|
|
||
|
src_prepare() {
|
||
|
sed -i \
|
||
|
-e 's#^datarootdir =.*$#datarootdir = /usr/share#' \
|
||
|
share/Makefile.in || die
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
egamesconf \
|
||
|
--disable-embedded-resources \
|
||
|
--localedir="/usr/share/locale" \
|
||
|
$(use_enable nls)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
dodoc TROUBLESHOOTING
|
||
|
prepgamesdirs
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
games_pkg_postinst
|
||
|
einfo
|
||
|
elog "optional dependencies:"
|
||
|
elog " games-util/dfarc (dmod installer and frontend)"
|
||
|
einfo
|
||
|
}
|