| 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.44 2009/09/27 06:58:14 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.45 2009/10/19 01:41:50 vapier Exp $ |
| 4 | |
4 | |
| 5 | EAPI="2" |
5 | EAPI="2" |
| 6 | |
6 | |
| 7 | inherit multilib eutils |
7 | inherit multilib eutils |
| 8 | |
8 | |
| … | |
… | |
| 24 | SRC_URI="${SRC_URI} |
24 | SRC_URI="${SRC_URI} |
| 25 | gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" |
25 | gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" |
| 26 | |
26 | |
| 27 | LICENSE="LGPL-2.1" |
27 | LICENSE="LGPL-2.1" |
| 28 | SLOT="0" |
28 | SLOT="0" |
| 29 | IUSE="alsa capi cups dbus esd fontconfig +gecko gnutls gphoto2 gsm hal jack jpeg lcms ldap mp3 nas ncurses openal +opengl oss png samba scanner ssl test +threads win64 +X xcomposite xinerama xml" |
29 | IUSE="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" |
| 30 | RESTRICT="test" #72375 |
30 | RESTRICT="test" #72375 |
| 31 | |
31 | |
| 32 | RDEPEND=">=media-libs/freetype-2.0.0 |
32 | RDEPEND=">=media-libs/freetype-2.0.0 |
| 33 | media-fonts/corefonts |
33 | media-fonts/corefonts |
| 34 | dev-lang/perl |
34 | perl? ( dev-lang/perl dev-perl/XML-Simple ) |
| 35 | dev-perl/XML-Simple |
|
|
| 36 | capi? ( net-dialup/capi4k-utils ) |
35 | capi? ( net-dialup/capi4k-utils ) |
| 37 | ncurses? ( >=sys-libs/ncurses-5.2 ) |
36 | ncurses? ( >=sys-libs/ncurses-5.2 ) |
| 38 | fontconfig? ( media-libs/fontconfig ) |
37 | fontconfig? ( media-libs/fontconfig ) |
| 39 | gphoto2? ( media-libs/libgphoto2 ) |
38 | gphoto2? ( media-libs/libgphoto2 ) |
| 40 | jack? ( media-sound/jack-audio-connection-kit ) |
39 | jack? ( media-sound/jack-audio-connection-kit ) |
| … | |
… | |
| 149 | dodoc ANNOUNCE AUTHORS README |
148 | dodoc ANNOUNCE AUTHORS README |
| 150 | if use gecko ; then |
149 | if use gecko ; then |
| 151 | insinto /usr/share/wine/gecko |
150 | insinto /usr/share/wine/gecko |
| 152 | doins "${DISTDIR}"/wine_gecko-${GV}.cab || die |
151 | doins "${DISTDIR}"/wine_gecko-${GV}.cab || die |
| 153 | fi |
152 | fi |
|
|
153 | 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 |
|
|
155 | fi |
| 154 | } |
156 | } |