# $Id$ PNAME="wine" PVER="1.1.35" PBUILD="r1" PCATEGORIE="app-emulation" STATE="unstable" DESCRIPTION="Wine is an Open Source implementation of the Windows API on top of X and Unix." HOMEPAGE="http://www.winehq.com/" # todo: # libgphoto2, capi, gsm, jack, mpg123, sane DEPEND=">= virtual/opengl >= x11-libs/libXcursor-1.1 >= x11-libs/libXrandr-1.3 >= x11-libs/libXi-1.3 >= x11-libs/libXmu-1 >= x11-libs/libXxf86vm-1.1 >= x11-libs/libXinerama-1.1 >= x11-libs/libXcomposite-0.4.1 >= x11-apps/xmessage-1 >= media-libs/lcms-1.18 >= media-libs/alsa-lib-1.0.21 >= media-libs/freetype-2.3.9 >= media-libs/fontconfig-2.7 >= media-libs/libjpeg-7 >= media-libs/libpng-1.2.40 >= media-libs/openal-1.9 >= media-libs/nas-1.9 >= dev-libs/libxslt-1.1.26 >= dev-libs/libxml2-2.7 >= dev-libs/openssl-0.9.8 >= dev-lang/perl-5.10 >= dev-perl/xml-simple-2.18 >= sys-apps/dbus-1.3 >= dev-libs/dbus-glib-0.82 >= sys-apps/hal-0.5.13 >= sys-libs/ncurses-5.7 >= media-fonts/corefonts-2 >= media-gfx/fontforge-200909 >= net-print/cups-1.4 >= net-nds/openldap-2.4 >= net-fs/samba-2.4 >= app-crypt/gnutls-2.8" SDEPEND=">= x11-proto/inputproto-2 >= x11-proto/xextproto-7.1 >= x11-proto/xf86vidmodeproto-2.3 >= x11-proto/xineramaproto-1.2 >= sys-dev/bison-2.4 >= sys-dev/flex-2.5.35" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild # # FixMe: wine needs wine to compile successfully! # sfnt2fnt does not run without libwine and the LDPATH seems to be wrong! # # maybe we need newer binutils which handle ORIGIN correctly # -> fix targeted for mage090 branch # SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_compile() { cd ${SRCDIR} export LDCONFIG=/bin/true # fixme: $ORIGIN seems to be broken in glibc # see: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=225925 export LD_LIBRARY_PATH=${SRCDIR}/libs/wine mconfigure \ --sysconfdir=/etc/wine \ --disable-tests \ --disable-win64 \ --with-x \ --with-pthread \ --with-opengl \ --with-alsa \ --with-cms \ --with-cups \ --with-curses \ --with-fontconfig \ --with-gnutls \ --with-hal \ --with-jpeg \ --with-ldap \ --with-nas \ --with-openal \ --with-openssl \ --with-png \ --with-freetype \ --with-xcomposite \ --with-xinerama \ --with-xml \ --with-xslt \ \ --without-capi \ --without-esd \ --without-gphoto \ --without-gsm \ --without-jack \ --without-mpg123 \ --without-oss \ --without-sane \ || die mmake -j1 depend || die mmake all || die }