--- /dev/null
+# ChangeLog for games-rpg/nwmovies
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwmovies/ChangeLog,v 1.1 2008/02/17 00:55:47 calchan Exp $
+
+*nwmovies-0.1 (16 Feb 2008)
+
+ 16 Feb 2008; Denis Dupeyron <calchan@gentoo.org> +metadata.xml,
+ +nwmovies-0.1.ebuild:
+ Initial commit.
+
--- /dev/null
+DIST nwmovies-0.1.tar.bz2 35046 RMD160 9a6103fd30e9ffab30f0c3e0bae151f29430f7bc SHA1 130e417b9df8d9ceb99bae1a64d74b2c1c81097c SHA256 1988ab134fa69a39ce41ac71829373b76f911e9defe492689a8f78b4638f0f05
+EBUILD nwmovies-0.1.ebuild 1613 RMD160 33f6ac0aeab7c7317dac70c9f0950dccc9e334ea SHA1 91e6b17c0c3ae7bfb2d4c2cf20cb49fb1c62bebb SHA256 15c26cf16741bb93ddf8d726a3bf663a4c9ba1ef4cec666bb7fed3f11fb0efe2
+MISC ChangeLog 348 RMD160 a6dba2b7085794b480b8233734889d28ab1634c8 SHA1 5d74f95cf655e2361c788afac5388f829cc5a34d SHA256 e638f518656131a066f897292ea3971cae8d0213bb14642129da8f439eaded6e
+MISC metadata.xml 251 RMD160 9384b803fabfa152a97186873f15cc95112a63a3 SHA1 81fe5266a56772467e73408b0626987e8e2f2926 SHA256 0b118075eddfc9415e146feff0c47824812fd35541e331d54e5443f7a4e27eb4
--- /dev/null
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwmovies/nwmovies-0.1.ebuild,v 1.1 2008/02/17 00:55:47 calchan Exp $
+
+inherit games
+
+DESCRIPTION="Play Neverwinter Nights movies inside the Linux client."
+HOMEPAGE="http://home.woh.rr.com/nwmovies/nwmovies/"
+SRC_URI="http://dev.gentoo.org/~calchan/distfiles/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=games-rpg/nwn-data-1.29-r3"
+RDEPEND="${DEPEND}
+ >=games-rpg/nwn-1.68-r3
+ media-video/binkplayer"
+
+S="${WORKDIR}"
+DESTDIR="${GAMES_PREFIX_OPT}/nwn"
+
+pkg_setup() {
+ games_pkg_setup
+ built_with_use games-rpg/nwn-data videos || die "nwn-data requires USE=videos"
+}
+
+src_install() {
+ cd "${S}"
+ exeinto "${DESTDIR}"
+ doexe nwmovies.so nwmovies.pl || die "Installation failed"
+ exeinto "${DESTDIR}/nwmovies"
+ doexe nwmovies/binklib.so || die "Installation failed"
+ exeinto "${DESTDIR}/nwmovies/libdis"
+ doexe nwmovies/libdis/libdisasm.so || die "Installation failed"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "When starting nwn the next time, nwmovies will scan the nwmain"
+ elog "binary for its hooks, store this information in:"
+ elog " \${HOME}/.nwn/\${LANG}/nwmovies.ini"
+ elog "and exit. This is normal."
+ elog
+ elog "You will have to remove this file whenever you update nwn."
+ elog
+ elog "If you have sound issues in NWN only when using nwmovies, then"
+ elog "you'll need to properly setup /etc/asound.conf or the equivalent"
+ elog "per-user \${HOME}/.asound.conf, see comment #31 in bug #106789."
+}