wine: update to 1.7.16 (32bit pkg now built for x86_64).

This commit is contained in:
Juan RP 2014-04-05 00:18:15 +02:00
parent c9eeab830e
commit 5659e4fe9b
1 changed files with 17 additions and 4 deletions

View File

@ -1,14 +1,15 @@
# Template file for 'wine' # Template file for 'wine'
pkgname=wine pkgname=wine
version=1.7.12 version=1.7.16
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--libdir=/usr/lib32"
short_desc="Run Microsoft Windows applications" short_desc="Run Microsoft Windows applications"
maintainer="davehome <davehome@redthumb.info.tm>" maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="http://www.winehq.org/" homepage="http://www.winehq.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=2dcdff7bf8bac2bc10da85e3e632e8add830f22cf416173e53abca4ec580b392 checksum=071ed89d9c76219aa73df6472b99f9f0b35e4977235e2b8e388c11416a2d1c6a
only_for_archs=i686 only_for_archs=i686
@ -25,14 +26,26 @@ makedepends="gettext-devel lcms2-devel zlib-devel ncurses-devel
cups-devel dbus-devel" cups-devel dbus-devel"
makedepends+=" desktop-file-utils hicolor-icon-theme liberation-fonts-ttf fontconfig" 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" replaces="wine-unstable>=0"
# Otherwise, throws a nasty warning. lib32mode=full
lib32depends="${depends} libwine-32bit-${version}_${revision}"
pre_configure() { pre_configure() {
# Otherwise, throws a nasty warning.
sed -i 's/\(libncurses\)/\1w/g' configure 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() { libwine_package() {
short_desc+=" - Runtime library" short_desc+=" - Runtime library"
replaces="libwine-unstable>=0" replaces="libwine-unstable>=0"