summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Veber <coronalvr@gentoo.org>2003-06-28 11:18:47 +0000
committerAlex Veber <coronalvr@gentoo.org>2003-06-28 11:18:47 +0000
commita616f4e15e692c6ade44bbdf7f5980097f8159cc (patch)
tree81c13f661fb4ea6e3391ab092ab8a20dc6cf79dc /app-emulation
parentbump (diff)
downloadgentoo-2-a616f4e15e692c6ade44bbdf7f5980097f8159cc.tar.gz
gentoo-2-a616f4e15e692c6ade44bbdf7f5980097f8159cc.tar.bz2
gentoo-2-a616f4e15e692c6ade44bbdf7f5980097f8159cc.zip
bump
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/nwwine/ChangeLog7
-rw-r--r--app-emulation/nwwine/Manifest4
-rw-r--r--app-emulation/nwwine/files/digest-nwwine-200306184
-rw-r--r--app-emulation/nwwine/nwwine-20030618.ebuild123
4 files changed, 135 insertions, 3 deletions
diff --git a/app-emulation/nwwine/ChangeLog b/app-emulation/nwwine/ChangeLog
index 5c1899a4a3ba..108edbd401a4 100644
--- a/app-emulation/nwwine/ChangeLog
+++ b/app-emulation/nwwine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/nwwine
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/nwwine/ChangeLog,v 1.3 2003/06/07 03:31:30 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/nwwine/ChangeLog,v 1.4 2003/06/28 11:18:37 coronalvr Exp $
+
+*nwwine-20030618 (28 Jun 2003)
+
+ 28 Jun 2003; Alex Veber <coronalvr@gentoo.org> nwwine-20030618.ebuild:
+ version bump.
06 Jun 2003; <msterret@gentoo.org> nwwine-20020703.ebuild:
DEPEND on sed >= 4; use sed -i
diff --git a/app-emulation/nwwine/Manifest b/app-emulation/nwwine/Manifest
index 669c61e5b685..cf24f811856e 100644
--- a/app-emulation/nwwine/Manifest
+++ b/app-emulation/nwwine/Manifest
@@ -1,6 +1,6 @@
MD5 5b3844d9e7c3add6300a43d8f6a5c64f nwwine-20020703.ebuild 3315
-MD5 3c3c0b09bae877871ba2742d4aa6d6e4 nwwine-20030618.ebuild 3452
-MD5 b1e616428921e341d8a3d20e696e77f3 ChangeLog 710
+MD5 bcbec3b6a3c8ff14987ec94bd987b588 nwwine-20030618.ebuild 3457
+MD5 0966d88267a8898bf41f05ce9aacf894 ChangeLog 833
MD5 cec34c252d6533f2810215a52b8da2ff files/digest-nwwine-20020703 68
MD5 da29c2497d9360990085f8b6d248f9a5 files/digest-nwwine-20030618 293
MD5 0244316187b4ee80cb791d238f1a67a6 files/nwwine-20020703-misc.tar.bz2 4603
diff --git a/app-emulation/nwwine/files/digest-nwwine-20030618 b/app-emulation/nwwine/files/digest-nwwine-20030618
new file mode 100644
index 000000000000..bc6988e63fbb
--- /dev/null
+++ b/app-emulation/nwwine/files/digest-nwwine-20030618
@@ -0,0 +1,4 @@
+MD5 9f71d94bdd166bf6ad5d29fd1f3c067f nwwine-20030618-misc.tar.bz2 4603
+MD5 9b9fc6e2368037fb8956b4d4ef1d94e2 nwwine-based-on-20030618.tar.gz 8922762
+MD5 af8da46a0e51578ff1e18e399141d628 nwwine-20030618-fake_windows.tar.bz2 500
+MD5 35f5ecf311952d369a24bdf7477c59df wine-nvidia-fix.patch.gz 6124
diff --git a/app-emulation/nwwine/nwwine-20030618.ebuild b/app-emulation/nwwine/nwwine-20030618.ebuild
new file mode 100644
index 000000000000..5394c66558b6
--- /dev/null
+++ b/app-emulation/nwwine/nwwine-20030618.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/nwwine/nwwine-20030618.ebuild,v 1.1 2003/06/28 11:18:37 coronalvr Exp $
+
+DESCRIPTION="A special version of wine for the Never Winter Nights toolkit"
+SRC_URI="mirror://gentoo/${P}-misc.tar.bz2
+ ftp://128.173.184.249/Linux/nwwine/nwwine-based-on-${PV}.tar.gz
+ mirror://gentoo/${P}-fake_windows.tar.bz2
+ mirror://gentoo/wine-nvidia-fix.patch.gz"
+
+HOMEPAGE="http://www.winehq.com/ http://republika.pl/nwnlinux/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 -ppc -sparc"
+IUSE="nas arts cups opengl alsa tcltk"
+S=${WORKDIR}/nwwine-based-on-${PV}
+
+DEPEND="sys-devel/gcc
+ sys-devel/flex
+ dev-util/yacc
+ >=sys-apps/sed-4
+ >=sys-libs/ncurses-5.2
+ >=media-libs/freetype-2.0.0
+ X? ( virtual/x11 )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ arts? ( kde-base/arts )
+ alsa? ( media-libs/alsa-lib )
+ nas? ( media-libs/nas )
+ cups? ( net-print/cups )
+ opengl? ( virtual/opengl )"
+
+src_compile() {
+ cd ${S}/dlls/opengl32
+ epatch ${WORKDIR}/wine-nvidia-fix.patch
+
+ cd ${S}
+ #fix the nwwine wrapper
+ mv nwwine.sh nwwine.old
+ sed -e "s:wine:/usr/lib/nwwine/bin/wine:" nwwine.old > nwwine.sh
+
+ local myconf
+
+ use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
+ [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
+ # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
+
+ # use the default setting in ./configure over the /etc/make.conf setting
+ unset CFLAGS CXXFLAGS
+
+ ./configure --prefix=/usr/lib/${PN} \
+ --sysconfdir=/etc/${PN} \
+ --host=${CHOST} \
+ --enable-curses \
+ ${myconf} || die "configure failed"
+
+ # No parallel make
+ make depend all || die "make depend all failed"
+ cd programs && emake || die
+}
+
+src_install () {
+ local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
+
+ ### Install wine to ${D}
+ cd ${S}
+ make ${WINEMAKEOPTS} install || die
+ cd ${S}/programs
+ make ${WINEMAKEOPTS} install || die
+
+ # Needed for later installation
+ dodir /usr/bin
+
+ ### Creation of /usr/lib/${PN}/.data
+ # set up fake_windows
+ dodir /usr/lib/${PN}/.data
+ cd ${D}/usr/lib/nwwine/.data
+ cp -r ${WORKDIR}/fake_windows .
+
+ # copy config
+ cp ${WORKDIR}/config .
+
+ # put winedefault.reg into .data
+ cp ${S}/winedefault.reg .
+
+ # move wrappers to bin/
+ cd ${WORKDIR}
+ insinto /usr/bin
+ dobin regedit-nwwine nwwine
+ rm regedit-nwwine nwwine
+
+ # set up this dynamic data
+ cd ${S}
+ insinto /usr/lib/${PN}/.data/fake_windows/Windows
+ doins documentation/samples/system.ini
+ doins documentation/samples/generic.ppd
+ ## Setup of .data complete
+
+ ### Misc tasks
+ # take care of the documentation
+ cd ${S}
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
+
+ # manpage setup
+ mv ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
+
+ # remove the executable flag from those libraries.
+ cd ${D}/usr/lib/${PN}/lib/wine
+ chmod a-x *.so
+}
+
+pkg_postinst() {
+ einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
+ einfo "which will take care of everything else."
+ einfo ""
+ einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
+ einfo "wine registry."
+ einfo ""
+ einfo "If you have bugs, enhancements or patches"
+ einfo "report a bug and assign it to wine@gentoo.org"
+}