wine: added staging patchset

This commit is contained in:
Andrea Brancaleoni 2015-05-15 16:13:29 +02:00
parent 2001703288
commit 5b3e4767ae
1 changed files with 18 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'wine'
pkgname=wine
version=1.7.42
revision=1
revision=2
build_style=gnu-configure
configure_args="--without-gstreamer"
short_desc="Run Microsoft Windows applications"
@ -27,6 +27,22 @@ makedepends="gettext-devel lcms2-devel zlib-devel ncurses-devel
depends="libXi libXinerama libXcomposite libXcursor libOSMesa
desktop-file-utils hicolor-icon-theme liberation-fonts-ttf"
build_options="staging"
desc_option_staging="Enable wine-staging patchset"
build_options_default="staging"
if [ ${build_option_staging} ]; then
hostmakedepends+=" automake"
makedepends+=" pulseaudio-devel"
distfiles+=" https://github.com/wine-compholio/${pkgname}-staging/archive/v${version}.tar.gz"
checksum+=" 71dc4b0063446347769234075e7b76e5214a54eccee445a72cb7467bd0a85b3d"
post_extract() {
cd ${XBPS_BUILDDIR}/${pkgname}-staging-${version}/patches/
DESTDIR="$wrksrc" ./patchinstall.sh --all
}
fi
post_install() {
# Font aliasing settings for Win32 applications
install -d ${DESTDIR}/etc/fonts/conf.{avail,d}