summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-rpg/freedink/ChangeLog7
-rw-r--r--games-rpg/freedink/freedink-108.2.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/games-rpg/freedink/ChangeLog b/games-rpg/freedink/ChangeLog
index cd8eee027ddc..e5cfd8b942e7 100644
--- a/games-rpg/freedink/ChangeLog
+++ b/games-rpg/freedink/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/freedink
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedink/ChangeLog,v 1.5 2014/05/15 16:58:17 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedink/ChangeLog,v 1.6 2014/05/29 20:47:34 hasufell Exp $
+
+*freedink-108.2 (29 May 2014)
+
+ 29 May 2014; Julian Ospald <hasufell@gentoo.org> +freedink-108.2.ebuild:
+ version bump
15 May 2014; Ulrich Müller <ulm@gentoo.org> freedink-1.08.20121209.ebuild:
Fix USE dependency on media-libs/libsdl, "audio" USE flag was renamed to
diff --git a/games-rpg/freedink/freedink-108.2.ebuild b/games-rpg/freedink/freedink-108.2.ebuild
new file mode 100644
index 000000000000..76e82e857aea
--- /dev/null
+++ b/games-rpg/freedink/freedink-108.2.ebuild
@@ -0,0 +1,56 @@
+# 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.2.ebuild,v 1.1 2014/05/29 20:47:34 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.20121209"
+DEPEND="${DEPEND}
+ 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
+}