ChangeLog

# ChangeLog for games-rpg/nwmouse
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwmouse/ChangeLog,v 1.9 2008/08/18 17:55:37 calchan Exp $

18 Aug 2008; Denis Dupeyron nwmouse-0.1.ebuild,
nwmouse-0.1-r1.ebuild:
Mirrored tarball and fixed SRC_URI, bug #235063.

28 Jul 2008; Chris Gianelloni metadata.xml:
Removing myself from metadata.xml since I am retiring from the project.

*nwmouse-0.1-r1 (20 Feb 2008)

20 Feb 2008; Denis Dupeyron +nwmouse-0.1-r1.ebuild:
Fixed bug #210562, thanks to Anton Romanov.

27 Aug 2007; Chris Gianelloni nwmouse-0.1.ebuild:
Stable on amd64/x86 for bug #190150.

12 Mar 2007; Marius Mauch nwmouse-0.1.ebuild:
Replacing einfo with elog

06 Dec 2006; Chris Gianelloni nwmouse-0.1.ebuild:
Remove old virtual/x11 dependency.

15 Sep 2006; Chris Gianelloni nwmouse-0.1.ebuild:
Change hard-coded /opt to GAMES_PREFIX_OPT.

25 Aug 2006; Michael Sterrett nwmouse-0.1.ebuild:
Fix QA_TEXTRELS typo (bug #145039)

*nwmouse-0.1 (26 Jul 2006)

26 Jul 2006; Chris Gianelloni +metadata.xml,
+nwmouse-0.1.ebuild:
Initial import. Ebuild by me. Closing bug #109619.

Manifest

DIST cursors.tar.gz 38357 RMD160 8018b66314319927c9d7212c7b1cb1f753e34920 SHA1 f73c4374b1501d6be75f79441421e1a33f284f24 SHA256 93b4629677100ac308b90b4ecf0d390e583ea39068216b91d1c0f4c55e80f085
DIST nwmouse-0.1.tar.bz2 78331 RMD160 071d1225d64777c778f602802caa76485a2cd3fc SHA1 77b80c04a3a034324b4369d778fe226a3589f5c9 SHA256 e97d3820a993166e2f9e03954d0082c24d7c6b3cd7a01fe61e12c5610a9fadea
EBUILD nwmouse-0.1-r1.ebuild 1983 RMD160 4ebf97d37225a01bad247ba28ad19f633f54499f SHA1 8c2733a491c4ced7afb26df8c2d97ae8b7381f6e SHA256 62660b30f99abdd9a07cc6498a0bc22cb1afc67521917f3481a92a25801d6243
EBUILD nwmouse-0.1.ebuild 1916 RMD160 3f50bd8624e8cfe45ae7dee1101f668eb7049795 SHA1 921f368d0d8de9eb1fea132118993feb896da8bf SHA256 0d06f37ecd0fb76c32d1455e904f478fe51ccafc998c31fc5b4cba3de682f44a
MISC ChangeLog 1385 RMD160 ca872a8eb468460f4ebb030bede3ac3edc356d7e SHA1 7501a758acd074ba9351dcb4b503c9e9801fc489 SHA256 ba92cfa60240b69c70abc9e3a00d445b4538bfaec0367c08b5e3aa8d273f5618
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

metadata.xml




games

nwmouse-0.1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwmouse/nwmouse-0.1-r1.ebuild,v 1.2 2008/08/18 17:55:37 calchan Exp $

inherit games

DESCRIPTION="hardware mouse cursors for Neverwinter Nights"
HOMEPAGE="http://home.woh.rr.com/nwmovies/nwmouse/"
SRC_URI="http://home.woh.rr.com/nwmovies/cursors.tar.gz
http://dev.gentoo.org/~calchan/distfiles/${P}.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# I've looked at this stuff, and I can't find the problem myself, so I'm just
# removing the warnings. If someone feels like finding the patch, that would be
# great and I'll gladly include it.
QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/nwn/nwmouse.so"
QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/nwn/nwmouse.so"
IUSE=""
RESTRICT="strip mirror"

RDEPEND="sys-libs/glibc
games-rpg/nwn-data
amd64? (
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-sdl )
>=games-rpg/nwn-1.68-r4
x86? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libX11
media-libs/libsdl )"

S="${WORKDIR}/${PN}"
dir="${GAMES_PREFIX_OPT}/nwn"

pkg_setup() {
games_pkg_setup
elog "This package is pre-compiled so it will work on both x86 and amd64."
}

src_unpack() {
unpack ${P}.tar.bz2 || die
mkdir "${S}"/cursors || die
cd "${S}"/cursors || die
unpack cursors.tar.gz || die
}

src_install() {
exeinto "${dir}"
doexe nwmouse.so || die
# libelf moved to games-rpg/nwn, see bug #210562
#exeinto "${dir}/lib"
#doexe libelf/libelf.so.1
exeinto "${dir}/nwmouse/libdis"
doexe libdis/libdisasm.so || die
insinto "${dir}/nwmouse/cursors"
doins cursors/* || die
prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
elog "When starting nwn the next time, nwmouse will scan the nwmain"
elog "binary for its hooks, store this information in:"
elog " ${dir}/nwmouse.ini"
elog "and exit. This is normal."
elog
elog "You will have to remove this file whenever you update nwn."
}

nwmouse-0.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwmouse/nwmouse-0.1.ebuild,v 1.7 2008/08/18 17:55:37 calchan Exp $

inherit games

DESCRIPTION="hardware mouse cursors for Neverwinter Nights"
HOMEPAGE="http://home.woh.rr.com/nwmovies/nwmouse/"
SRC_URI="http://home.woh.rr.com/nwmovies/cursors.tar.gz
http://dev.gentoo.org/~calchan/distfiles/${P}.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"
# I've looked at this stuff, and I can't find the problem myself, so I'm just
# removing the warnings. If someone feels like finding the patch, that would be
# great and I'll gladly include it.
QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/nwn/nwmouse.so"
QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/nwn/nwmouse.so"
IUSE=""
RESTRICT="strip mirror"

RDEPEND="sys-libs/glibc
games-rpg/nwn-data
amd64? (
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-sdl )
games-rpg/nwn
x86? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libX11
media-libs/libsdl )"

S="${WORKDIR}/${PN}"
dir="${GAMES_PREFIX_OPT}/nwn"

pkg_setup() {
games_pkg_setup
elog "This package is pre-compiled so it will work on both x86 and amd64."
}

src_unpack() {
unpack ${P}.tar.bz2 || die
mkdir "${S}"/cursors || die
cd "${S}"/cursors || die
unpack cursors.tar.gz || die
}

src_install() {
exeinto "${dir}"
doexe nwmouse.so || die
exeinto "${dir}/lib"
doexe libelf/libelf.so.1
exeinto "${dir}/nwmouse/libdis"
doexe libdis/libdisasm.so || die
insinto "${dir}/nwmouse/cursors"
doins cursors/* || die
prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
elog "When starting nwn the next time, nwmouse will scan the nwmain"
elog "binary for its hooks, store this information in:"
elog " ${dir}/nwmouse.ini"
elog "and exit. This is normal."
elog
elog "You will have to remove this file whenever you update nwn."
}