/[gentoo-x86]/app-emulation/wine/wine-9999.ebuild
Gentoo

Diff of /app-emulation/wine/wine-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.45 Revision 1.46
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.45 2009/10/19 01:41:50 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.46 2009/11/15 02:00:50 vapier Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7inherit multilib eutils 7inherit multilib eutils
8 8
24SRC_URI="${SRC_URI} 24SRC_URI="${SRC_URI}
25 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" 25 gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
26 26
27LICENSE="LGPL-2.1" 27LICENSE="LGPL-2.1"
28SLOT="0" 28SLOT="0"
29IUSE="alsa capi cups dbus esd fontconfig +gecko gnutls gphoto2 gsm hal jack jpeg lcms ldap mp3 nas ncurses openal +opengl oss +perl png samba scanner ssl test +threads win64 +X xcomposite xinerama xml" 29IUSE="alsa capi cups dbus esd fontconfig +gecko gnutls gphoto2 gsm hal jack jpeg lcms ldap mp3 nas ncurses openal +opengl oss +perl png samba scanner ssl test +threads +truetype win64 +X xcomposite xinerama xml"
30RESTRICT="test" #72375 30RESTRICT="test" #72375
31 31
32RDEPEND=">=media-libs/freetype-2.0.0 32RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
33 media-fonts/corefonts
34 perl? ( dev-lang/perl dev-perl/XML-Simple ) 33 perl? ( dev-lang/perl dev-perl/XML-Simple )
35 capi? ( net-dialup/capi4k-utils ) 34 capi? ( net-dialup/capi4k-utils )
36 ncurses? ( >=sys-libs/ncurses-5.2 ) 35 ncurses? ( >=sys-libs/ncurses-5.2 )
37 fontconfig? ( media-libs/fontconfig ) 36 fontconfig? ( media-libs/fontconfig )
38 gphoto2? ( media-libs/libgphoto2 ) 37 gphoto2? ( media-libs/libgphoto2 )
64 scanner? ( media-gfx/sane-backends ) 63 scanner? ( media-gfx/sane-backends )
65 ssl? ( dev-libs/openssl ) 64 ssl? ( dev-libs/openssl )
66 png? ( media-libs/libpng ) 65 png? ( media-libs/libpng )
67 win64? ( >=sys-devel/gcc-4.4.0 ) 66 win64? ( >=sys-devel/gcc-4.4.0 )
68 !win64? ( amd64? ( 67 !win64? ( amd64? (
68 truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
69 X? ( 69 X? (
70 >=app-emulation/emul-linux-x86-xlibs-2.1 70 >=app-emulation/emul-linux-x86-xlibs-2.1
71 >=app-emulation/emul-linux-x86-soundlibs-2.1 71 >=app-emulation/emul-linux-x86-soundlibs-2.1
72 ) 72 )
73 app-emulation/emul-linux-x86-baselibs 73 app-emulation/emul-linux-x86-baselibs
74 >=sys-kernel/linux-headers-2.6 74 >=sys-kernel/linux-headers-2.6
75 ) )" 75 ) )
76 xcomposite? ( x11-libs/libXcomposite ) "
76DEPEND="${RDEPEND} 77DEPEND="${RDEPEND}
77 X? ( 78 X? (
78 x11-proto/inputproto 79 x11-proto/inputproto
79 x11-proto/xextproto 80 x11-proto/xextproto
80 x11-proto/xf86vidmodeproto 81 x11-proto/xf86vidmodeproto
126 $(use_with oss) \ 127 $(use_with oss) \
127 $(use_with png) \ 128 $(use_with png) \
128 $(use_with threads pthread) \ 129 $(use_with threads pthread) \
129 $(use_with scanner sane) \ 130 $(use_with scanner sane) \
130 $(use_enable test tests) \ 131 $(use_enable test tests) \
132 $(use_with truetype freetype) \
131 $(use_enable win64) \ 133 $(use_enable win64) \
132 $(use_with X x) \ 134 $(use_with X x) \
133 $(use_with xcomposite) \ 135 $(use_with xcomposite) \
134 $(use_with xinerama) \ 136 $(use_with xinerama) \
135 $(use_with xml) \ 137 $(use_with xml) \
152 fi 154 fi
153 if ! use perl ; then 155 if ! use perl ; then
154 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die 156 rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
155 fi 157 fi
156} 158}
159
160pkg_postinst() {
161 paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055
162}

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20