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.21.ebuild,v 1.1 2014/06/29 00:42:47 tetromino Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="5" |
5 |
EAPI="5" |
6 |
|
6 |
|
Lines 24-31
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.21" |
27 |
PULSE_PATCHES="winepulse-patches-1.7.22" |
28 |
COMPHOLIOV="1.7.21" |
28 |
COMPHOLIOV="${PV}" |
29 |
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}" |
29 |
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}" |
30 |
WINE_GENTOO="wine-gentoo-2013.06.24" |
30 |
WINE_GENTOO="wine-gentoo-2013.06.24" |
31 |
DESCRIPTION="Free implementation of Windows(tm) on Unix" |
31 |
DESCRIPTION="Free implementation of Windows(tm) on Unix" |
Lines 37-43
Link Here
|
37 |
) |
37 |
) |
38 |
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi ) |
38 |
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi ) |
39 |
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz ) |
39 |
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 ) |
40 |
pulseaudio? ( |
|
|
41 |
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 |
42 |
https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz |
43 |
) |
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 296-307
Link Here
|
296 |
fi |
299 |
fi |
297 |
|
300 |
|
298 |
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2" |
301 |
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2" |
299 |
if use pipelight; then |
302 |
if use pipelight || use pulseaudio; then |
300 |
unpack "${COMPHOLIO_PATCHES}.tar.gz" |
303 |
unpack "${COMPHOLIO_PATCHES}.tar.gz" |
301 |
# we use a separate pulseaudio patchset |
304 |
# we apply pulseaudio patchset conditionally |
302 |
rm -r "${COMPHOLIO_PATCHES}/patches/06-winepulse" || die |
305 |
mv "wine-compholio-${COMPHOLIOV}/patches/06-winepulse" "${T}" || die |
|
|
306 |
fi |
307 |
if use pipelight; then |
303 |
# ... and need special tools for binary patches |
308 |
# ... and need special tools for binary patches |
304 |
mv "${COMPHOLIO_PATCHES}/patches/10-Missing_Fonts" "${T}" || die |
309 |
mv "wine-compholio-${COMPHOLIOV}/patches/10-Missing_Fonts" "${T}" || die |
305 |
fi |
310 |
fi |
306 |
unpack "${WINE_GENTOO}.tar.bz2" |
311 |
unpack "${WINE_GENTOO}.tar.bz2" |
307 |
|
312 |
|
Lines 318-323
Link Here
|
318 |
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508 |
323 |
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508 |
319 |
) |
324 |
) |
320 |
use pulseaudio && PATCHES+=( |
325 |
use pulseaudio && PATCHES+=( |
|
|
326 |
"${T}/06-winepulse"/*.patch #518792 |
321 |
"../${PULSE_PATCHES}"/*.patch #421365 |
327 |
"../${PULSE_PATCHES}"/*.patch #421365 |
322 |
) |
328 |
) |
323 |
if use gstreamer; then |
329 |
if use gstreamer; then |
Lines 333-345
Link Here
|
333 |
ewarn "to Wine bugzilla unless you can reproduce them with USE=-pipelight" |
339 |
ewarn "to Wine bugzilla unless you can reproduce them with USE=-pipelight" |
334 |
|
340 |
|
335 |
PATCHES+=( |
341 |
PATCHES+=( |
336 |
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950 |
342 |
"../wine-compholio-${COMPHOLIOV}/patches"/*/*.patch #507950 |
337 |
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch" |
343 |
"../wine-compholio-${COMPHOLIOV}/patches/patch-list.patch" |
338 |
) |
344 |
) |
339 |
# epatch doesn't support binary patches |
345 |
# epatch doesn't support binary patches |
340 |
ebegin "Applying Compholio font patches" |
346 |
ebegin "Applying Compholio font patches" |
341 |
for f in "${T}/10-Missing_Fonts"/*.patch; do |
347 |
for f in "${T}/10-Missing_Fonts"/*.patch; do |
342 |
"../${COMPHOLIO_PATCHES}/debian/tools/gitapply.sh" < "${f}" || die "Failed to apply Compholio font patches" |
348 |
"../wine-compholio-${COMPHOLIOV}/debian/tools/gitapply.sh" < "${f}" || die "Failed to apply Compholio font patches" |
343 |
done |
349 |
done |
344 |
eend |
350 |
eend |
345 |
fi |
351 |
fi |