summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-05-15 20:28:13 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-05-15 20:28:13 +0000
commitb9ff2f6c14f18905cce94b2768e7257f98bbbe41 (patch)
tree5036b0e89e2b503db0a4e8a9e5d85c8f27ccc25b /app-emulation/winex-cvs
parentAdding !virtual/mta to RDEPEND. CLoses #21072. (diff)
downloadgentoo-2-b9ff2f6c14f18905cce94b2768e7257f98bbbe41.tar.gz
gentoo-2-b9ff2f6c14f18905cce94b2768e7257f98bbbe41.tar.bz2
gentoo-2-b9ff2f6c14f18905cce94b2768e7257f98bbbe41.zip
cleanup
Diffstat (limited to 'app-emulation/winex-cvs')
-rw-r--r--app-emulation/winex-cvs/Manifest6
-rw-r--r--app-emulation/winex-cvs/files/digest-winex-cvs-3.0_pre10
-rw-r--r--app-emulation/winex-cvs/winex-cvs-3.0_pre1.ebuild141
3 files changed, 2 insertions, 145 deletions
diff --git a/app-emulation/winex-cvs/Manifest b/app-emulation/winex-cvs/Manifest
index 37395328dda6..099e9d489d80 100644
--- a/app-emulation/winex-cvs/Manifest
+++ b/app-emulation/winex-cvs/Manifest
@@ -1,11 +1,9 @@
MD5 8eff9093b9c5e58173babcf17611374b ChangeLog 4560
MD5 a72aff1af2fed78b4d9bfd663f2bb1b4 winex-cvs-2.2.1.ebuild 4012
-MD5 a9610b5741e8adc2becdc2ed8dc0af0f winex-cvs-3.0_pre1.ebuild 4207
MD5 ed3ffef97e1050e387ec111a2146c2f4 winex-cvs-3.0.ebuild 4186
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-2.2.1 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-3.0 0
+MD5 190b622ae744fb68561764ce1b2d9f1d files/winex-cvs-3.0_pre1.patch 287
MD5 dcdbcea3b1e30203a037de864aee829d files/winex-cvs-fake_windows.tar.bz2 546
MD5 6b63a4e1f7384c6dbb53e53f09198665 files/winex-cvs-regedit 516
MD5 a0f00bd1db2d0bc928d3845f4aac078a files/winex-cvs-winex 1244
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-3.0_pre1 0
-MD5 190b622ae744fb68561764ce1b2d9f1d files/winex-cvs-3.0_pre1.patch 287
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-3.0 0
diff --git a/app-emulation/winex-cvs/files/digest-winex-cvs-3.0_pre1 b/app-emulation/winex-cvs/files/digest-winex-cvs-3.0_pre1
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/app-emulation/winex-cvs/files/digest-winex-cvs-3.0_pre1
+++ /dev/null
diff --git a/app-emulation/winex-cvs/winex-cvs-3.0_pre1.ebuild b/app-emulation/winex-cvs/winex-cvs-3.0_pre1.ebuild
deleted file mode 100644
index 5971463a858f..000000000000
--- a/app-emulation/winex-cvs/winex-cvs-3.0_pre1.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex-cvs/winex-cvs-3.0_pre1.ebuild,v 1.2 2003/03/23 18:58:01 phoenix Exp $
-
-IUSE="cups opengl"
-
-inherit eutils
-
-# Dont modify the ECVS_BRANCH setting yourself.
-# Instead, make a backup of this ebuild and rename it to
-# winex-[your branch].ebuild.
-#
-# Example:
-# winex-kohan-2.1.ebuild
-#
-# You can find more branches on
-# http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/winex/wine/
-
-
-ECVS_SERVER="cvs.winex.sourceforge.net:/cvsroot/winex"
-ECVS_MODULE="wine"
-ECVS_BRANCH=${PN/cvs/}${PV//./-}
-ECVS_BRANCH=${ECVS_BRANCH/pre/pre-}
-ECVS_BRANCH=${ECVS_BRANCH/_/-}
-ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"
-
-inherit cvs
-
-S=${WORKDIR}/${ECVS_MODULE}
-#echo ${ECVS_BRANCH}
-
-
-DESCRIPTION="WineX is a distribution of Wine with enhanced DirectX for gaming.
- This ebuild will fetch the newest cvs sources from the cvs-server."
-HOMEPAGE="http://www.transgaming.com/"
-
-SLOT="0"
-KEYWORDS="x86 -ppc"
-LICENSE="Aladdin"
-
-newdepend "sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11
- dev-lang/tcl
- dev-lang/tk )
- opengl? ( virtual/opengl )
- cups? ( net-print/cups )"
-
-src_compile() {
- cd ${S}
- local myconf
-
- use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
- [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
-
- # patching winex to not compile wcmd
- epatch ${FILESDIR}/winex-cvs-3.0_pre1.patch
-
- # the folks at #winehq were really angry about custom optimization
- unset CFLAGS
- unset CXXFLAGS
-
- ./configure --prefix=/usr/lib/winex-cvs \
- --sysconfdir=/etc/winex-cvs \
- --host=${CHOST} \
- --enable-curses \
- --with-x \
- ${myconf} || die "configure failed"
-
- # Fixes a winetest issue
- cd ${S}/programs/winetest
- cp Makefile 1
- sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile
-
- # This persuades wineshelllink that "winex-cvs" is a better loader :)
- cd ${S}/tools
- cp wineshelllink 1
- sed -e 's/\(WINE_LOADER=\)\(\${WINE_LOADER:-wine}\)/\1winex-cvs/' 1 > wineshelllink
-
- cd ${S}
- make depend all || die "make depend all failed"
- cd programs && gmake || die "emake died"
-}
-
-src_install () {
- local WINEXMAKEOPTS="prefix=${D}/usr/lib/winex-cvs"
-
- # Installs winex to /usr/lib/winex-cvs
- cd ${S}
- make ${WINEXMAKEOPTS} install || die "make install failed"
- cd ${S}/programs
- make ${WINEXMAKEOPTS} install || die "make install failed"
-
-
- # Creates /usr/lib/winex-cvs/.data with fake_windows in it
- # This is needed for our new winex-cvs wrapper script
- dodir /usr/lib/winex-cvs/.data
- pushd ${D}/usr/lib/winex-cvs/.data
- tar jxvf ${FILESDIR}/${PN}-fake_windows.tar.bz2
- popd
- cp ${S}/documentation/samples/config ${S}/documentation/samples/config.orig
- sed -e 's/"Path" = "\/c"/"Path" = "\$\{HOME\}\/.winex-cvs\/fake_windows"/' \
- ${S}/documentation/samples/config.orig > ${S}/documentation/samples/config
- cp ${S}/documentation/samples/config ${D}/usr/lib/winex-cvs/.data/config
- cp ${WORKDIR}/wine/winedefault.reg ${D}/usr/lib/winex-cvs/.data/winedefault.reg
- # Install the wrapper script
- dodir /usr/bin
- cp ${FILESDIR}/${PN}-winex ${D}/usr/bin/winex-cvs
- cp ${FILESDIR}/${PN}-regedit ${D}/usr/bin/regedit-winex-cvs
-
- # Take care of the other stuff
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- insinto /usr/lib/winex-cvs/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
-
- # Manpage setup
- cp ${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/winex-cvs/bin
- chmod a-x *.so
-
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/winex-cvs to start winex."
- einfo "This is a wrapper-script which will take care of everything"
- einfo "else. If you have further questions, enhancements or patches"
- einfo "send an email to phoenix@gentoo.org"
- einfo ""
- einfo "Manpage has been installed to the system."
- einfo "\"man winex-cvs\" should show it."
-}
-