From 5b3e4767aec4aa9188e6a92ce383892a35a5cd0a Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Fri, 15 May 2015 16:13:29 +0200 Subject: [PATCH] wine: added staging patchset --- srcpkgs/wine/template | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template index 776aaf1a65f..1f7881de4b5 100644 --- a/srcpkgs/wine/template +++ b/srcpkgs/wine/template @@ -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} @@ -48,7 +64,7 @@ wine-devel_package() { short_desc+=" - development files" replaces="wine-unstable-devel>=0" pkg_install() { - vmove usr/include + vmove usr/include vmove "usr/lib/*.so" } }