void-packages/srcpkgs/wine-unstable/template

67 lines
1.9 KiB
Text
Raw Normal View History

2011-10-27 00:14:31 +00:00
# Template file for 'wine-unstable'
2012-12-22 15:15:30 +00:00
pkgname=wine-unstable
2013-01-06 09:27:17 +00:00
version=1.5.21
2012-12-19 12:21:52 +00:00
revision=1
2012-12-22 15:15:30 +00:00
wrksrc=wine-${version}
2011-10-27 00:14:31 +00:00
build_style=gnu-configure
2012-12-22 15:15:30 +00:00
short_desc="Run Windows apps on Linux (unstable)"
2011-10-27 00:14:31 +00:00
maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL-2.1"
homepage="http://www.winehq.org/"
2012-12-22 15:15:30 +00:00
distfiles="${SOURCEFORGE_SITE}/wine/wine-${version}.tar.bz2"
2013-01-06 09:27:17 +00:00
checksum=ac77c1dd1a31ccc67f0391b4965959096aeb98745f52c4d91b7bd280e3c8b350
2011-10-27 00:14:31 +00:00
only_for_archs=i686
2012-12-19 12:22:12 +00:00
disable_debug=yes
2011-10-27 00:14:31 +00:00
# XXX OpenCL
2012-03-23 21:12:20 +00:00
# XXX libcapi20 (ISDN support)
makedepends="flex gettext-devel autoconf lcms-devel zlib-devel ncurses-devel
glu-devel libSM-devel libXext-devel libX11-devel libXpm-devel
libXinerama-devel libXcomposite-devel libXmu-devel libXxf86vm-devel
libXcursor-devel libXrandr-devel libXdamage-devel libXi-devel libldap-devel
alsa-lib-devel libgphoto2-devel libxml2-devel libxslt-devel glib-devel
gst-plugins-base-devel freetype-devel mpg123-devel libgsm-devel libopenal-devel
giflib-devel libpng-devel v4l-utils-devel fontconfig-devel gnutls-devel
dbus-devel cups-devel sane-devel prelink"
makedepends+=" desktop-file-utils hicolor-icon-theme liberation-fonts-ttf
fontconfig libOSMesa"
2011-10-27 00:14:31 +00:00
pre_configure() {
2011-10-27 00:14:31 +00:00
sed -i 's/\(libncurses\)/\1w/g' configure
}
libwine-unstable_package() {
short_desc="${short_desc} - Runtime library"
replaces="libwine>=0"
provides="libwine-${version}"
conflicts="libwine>=0"
pkg_install() {
vmove "usr/lib/*.so*"
vmove usr/lib/wine
}
}
wine-unstable-devel_package() {
depends="libwine-unstable-${version}_${revision}"
short_desc="${short_desc} - Development files"
replaces="wine-devel>=0"
provides="wine-devel-${version}"
conflicts="wine-devel>=0"
pkg_install() {
vmove usr/include
}
}
wine-unstable_package() {
replaces="wine>=0"
provides="wine-${version}"
conflicts="wine>=0"
# libOSMesa is loaded with dlopen(3) at runtime
depends="desktop-file-utils hicolor-icon-theme liberation-fonts-ttf
fontconfig libOSMesa"
pkg_install() {
vmove usr
}
}