From 5659e4fe9be881b43bb771889d6e2e96cc2f6ec1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 5 Apr 2014 00:18:15 +0200 Subject: [PATCH] wine: update to 1.7.16 (32bit pkg now built for x86_64). --- srcpkgs/wine/template | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template index 46e8b36c4f7..6d993ae7e8b 100644 --- a/srcpkgs/wine/template +++ b/srcpkgs/wine/template @@ -1,14 +1,15 @@ # Template file for 'wine' pkgname=wine -version=1.7.12 +version=1.7.16 revision=1 build_style=gnu-configure +configure_args="--libdir=/usr/lib32" short_desc="Run Microsoft Windows applications" maintainer="davehome " license="LGPL-2.1" homepage="http://www.winehq.org/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" -checksum=2dcdff7bf8bac2bc10da85e3e632e8add830f22cf416173e53abca4ec580b392 +checksum=071ed89d9c76219aa73df6472b99f9f0b35e4977235e2b8e388c11416a2d1c6a only_for_archs=i686 @@ -25,14 +26,26 @@ makedepends="gettext-devel lcms2-devel zlib-devel ncurses-devel cups-devel dbus-devel" makedepends+=" desktop-file-utils hicolor-icon-theme liberation-fonts-ttf fontconfig" -depends="libOSMesa desktop-file-utils hicolor-icon-theme liberation-fonts-ttf" +depends="libOSMesa>=0 desktop-file-utils>=0 hicolor-icon-theme>=0 liberation-fonts-ttf>=0" replaces="wine-unstable>=0" -# Otherwise, throws a nasty warning. +lib32mode=full +lib32depends="${depends} libwine-32bit-${version}_${revision}" + pre_configure() { + # Otherwise, throws a nasty warning. sed -i 's/\(libncurses\)/\1w/g' configure } +pre_install() { + vmkdir usr/lib + ln -s lib ${DESTDIR}/usr/lib32 +} + +post_install() { + rm -f ${DESTDIR}/usr/lib32 +} + libwine_package() { short_desc+=" - Runtime library" replaces="libwine-unstable>=0"