summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/wine/wine-9999.ebuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/app-emulation/wine/wine-9999.ebuild b/app-emulation/wine/wine-9999.ebuild
index 4baba0a..48f017f 100644
--- a/app-emulation/wine/wine-9999.ebuild
+++ b/app-emulation/wine/wine-9999.ebuild
@@ -4,20 +4,17 @@
EAPI="2"
-inherit multilib
+inherit multilib git autotools
-IUSE="alsa cups dbus esd +gecko gnutls +hacks hal jack jpeg lcms ldap nas ncurses +opengl oss png samba scanner ssl +X xcomposite xinerama xml"
+IUSE="alsa cups dbus esd +gecko gnutls +hacks hal jack jpeg lcms ldap nas ncurses +opengl oss png pulseaudio samba scanner ssl +X xcomposite xinerama xml"
if use hacks ; then
EGIT_REPO_URI="git://repo.or.cz/wine/hacks.git"
-# EGIT_BRANCH="hacks"
- inherit git
SRC_URI=""
KEYWORDS=""
else
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
- inherit git
SRC_URI=""
KEYWORDS=""
fi
@@ -79,14 +76,14 @@ DEPEND="${RDEPEND}
sys-devel/flex"
src_unpack() {
- if [[ ${PV} == "9999" ]] ; then
- git_src_unpack
- else
- unpack ${MY_P}.tar.bz2
- fi
+ git_src_unpack
cd ${S}
# epatch ${FILESDIR}/bits.patch
# epatch ${FILESDIR}/wined3d.diff
+ useq pulseaudio && epatch ${FILESDIR}/adding-pulseaudio-to-winecfg.patch
+ useq pulseaudio && epatch ${FILESDIR}/winepulse-0.17-configure.ac.patch
+ useq pulseaudio && epatch ${FILESDIR}/winepulse-0.28.patch
+ eautoreconf
}
src_prepare() {