Lines 1-6
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2014 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-1.7.20.ebuild,v 1.2 2014/06/18 19:08:47 mgorny Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="5" |
5 |
EAPI="5" |
6 |
|
6 |
|
Lines 24-32
Link Here
|
24 |
|
24 |
|
25 |
GV="2.24" |
25 |
GV="2.24" |
26 |
MV="4.5.2" |
26 |
MV="4.5.2" |
27 |
PULSE_PATCHES="winepulse-patches-1.7.20" |
27 |
PULSE_PATCHES="winepulse-patches-1.7.20-r1" |
28 |
COMPHOLIOV="1.7.20" |
28 |
COMPHOLIOV="${PV}" |
29 |
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}" |
29 |
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}" |
|
|
30 |
GSTREAMERV="1.7.12" |
31 |
GSTREAMER_PATCHES="wine-gstreamer-patches-${GSTREAMERV}" |
30 |
WINE_GENTOO="wine-gentoo-2013.06.24" |
32 |
WINE_GENTOO="wine-gentoo-2013.06.24" |
31 |
DESCRIPTION="Free implementation of Windows(tm) on Unix" |
33 |
DESCRIPTION="Free implementation of Windows(tm) on Unix" |
32 |
HOMEPAGE="http://www.winehq.org/" |
34 |
HOMEPAGE="http://www.winehq.org/" |
Lines 36-43
Link Here
|
36 |
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi ) |
38 |
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi ) |
37 |
) |
39 |
) |
38 |
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi ) |
40 |
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi ) |
|
|
41 |
gstreamer? ( https://googledrive.com/host/0BwvWj1tAgHFpcmMwY1hsbUo3Nk0 -> ${GSTREAMER_PATCHES}.tar.xz ) |
39 |
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz ) |
42 |
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz ) |
40 |
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 ) |
43 |
pulseaudio? ( https://googledrive.com/host/0BwvWj1tAgHFpd2w5bUNud3BlWVk -> ${PULSE_PATCHES}.tar.bz2 ) |
41 |
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2" |
44 |
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2" |
42 |
|
45 |
|
43 |
LICENSE="LGPL-2.1" |
46 |
LICENSE="LGPL-2.1" |
Lines 46-55
Link Here
|
46 |
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 ) |
49 |
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 ) |
47 |
test? ( abi_x86_32 ) |
50 |
test? ( abi_x86_32 ) |
48 |
elibc_glibc? ( threads ) |
51 |
elibc_glibc? ( threads ) |
49 |
gstreamer? ( pulseaudio ) |
|
|
50 |
mono? ( abi_x86_32 ) |
52 |
mono? ( abi_x86_32 ) |
51 |
osmesa? ( opengl )" #286560 |
53 |
osmesa? ( opengl )" #286560 |
52 |
# winepulse patches needed for gstreamer due to http://bugs.winehq.org/show_bug.cgi?id=30557 |
|
|
53 |
|
54 |
|
54 |
# FIXME: the test suite is unsuitable for us; many tests require net access |
55 |
# FIXME: the test suite is unsuitable for us; many tests require net access |
55 |
# or fail due to Xvfb's opengl limitations. |
56 |
# or fail due to Xvfb's opengl limitations. |
Lines 295-300
Link Here
|
295 |
unpack ${MY_P}.tar.bz2 |
296 |
unpack ${MY_P}.tar.bz2 |
296 |
fi |
297 |
fi |
297 |
|
298 |
|
|
|
299 |
use gstreamer && unpack "${GSTREAMER_PATCHES}.tar.xz" |
298 |
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2" |
300 |
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2" |
299 |
if use pipelight; then |
301 |
if use pipelight; then |
300 |
unpack "${COMPHOLIO_PATCHES}.tar.gz" |
302 |
unpack "${COMPHOLIO_PATCHES}.tar.gz" |
Lines 317-326
Link Here
|
317 |
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386 |
319 |
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386 |
318 |
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508 |
320 |
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508 |
319 |
) |
321 |
) |
|
|
322 |
if use gstreamer; then |
323 |
# See http://bugs.winehq.org/show_bug.cgi?id=30557 |
324 |
ewarn "Applying experimental patch to fix GStreamer support. Note that" |
325 |
ewarn "this patch has been reported to cause crashes in certain games." |
326 |
|
327 |
PATCHES+=( "../${GSTREAMER_PATCHES}"/*.patch ) |
328 |
fi |
320 |
use pulseaudio && PATCHES+=( |
329 |
use pulseaudio && PATCHES+=( |
321 |
"../${PULSE_PATCHES}"/*.patch #421365 |
330 |
"../${PULSE_PATCHES}"/*.patch #421365 |
322 |
) |
331 |
) |
323 |
if use pipelight; then |
332 |
if use pipelight; then |
|
|
333 |
ewarn "Applying the unofficial Compholio patchset for Pipelight support," |
334 |
ewarn "which is unsupported by Wine developers. Please don't report bugs" |
335 |
ewarn "to Wine bugzilla unless you can reproduce them with USE=-pipelight" |
336 |
|
324 |
PATCHES+=( |
337 |
PATCHES+=( |
325 |
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950 |
338 |
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950 |
326 |
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch" |
339 |
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch" |
Lines 479-490
Link Here
|
479 |
pkg_postinst() { |
492 |
pkg_postinst() { |
480 |
gnome2_icon_cache_update |
493 |
gnome2_icon_cache_update |
481 |
fdo-mime_desktop_database_update |
494 |
fdo-mime_desktop_database_update |
482 |
|
|
|
483 |
if use pipelight; then |
484 |
ewarn "You installed Wine with the unofficial Compholio patchset for Pipelight" |
485 |
ewarn "support, which is unsupported by Wine developers. Please don't report" |
486 |
ewarn "bugs to Wine bugzilla unless you can reproduce them with USE=-pipelight" |
487 |
fi |
488 |
} |
495 |
} |
489 |
|
496 |
|
490 |
pkg_postrm() { |
497 |
pkg_postrm() { |