wine: added staging patchset
This commit is contained in:
parent
2001703288
commit
5b3e4767ae
1 changed files with 18 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wine'
|
# Template file for 'wine'
|
||||||
pkgname=wine
|
pkgname=wine
|
||||||
version=1.7.42
|
version=1.7.42
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-gstreamer"
|
configure_args="--without-gstreamer"
|
||||||
short_desc="Run Microsoft Windows applications"
|
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
|
depends="libXi libXinerama libXcomposite libXcursor libOSMesa
|
||||||
desktop-file-utils hicolor-icon-theme liberation-fonts-ttf"
|
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() {
|
post_install() {
|
||||||
# Font aliasing settings for Win32 applications
|
# Font aliasing settings for Win32 applications
|
||||||
install -d ${DESTDIR}/etc/fonts/conf.{avail,d}
|
install -d ${DESTDIR}/etc/fonts/conf.{avail,d}
|
||||||
|
@ -48,7 +64,7 @@ wine-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
replaces="wine-unstable-devel>=0"
|
replaces="wine-unstable-devel>=0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue