wine-1.2.3: new package.

This commit is contained in:
davehome 2011-10-26 00:12:32 +00:00
parent 589af22544
commit b3bb8b2ca0
6 changed files with 85 additions and 0 deletions

1
srcpkgs/libwine Symbolic link
View File

@ -0,0 +1 @@
wine

1
srcpkgs/wine-devel Symbolic link
View File

@ -0,0 +1 @@
wine

View File

@ -0,0 +1,24 @@
# Template file for 'libwine'.
#
short_desc="${short_desc} - Runtime library"
long_desc="${long_desc}
This package contains the wine runtime."
Add_dependency run glibc
Add_dependency run lcms
Add_dependency run zlib
Add_dependency run MesaLib
Add_dependency run libSM
Add_dependency run libXext
Add_dependency run libX11
Add_dependency run libldap
Add_dependency run alsa-lib
Add_dependency run libgphoto2
Add_dependency run libxml2
do_install()
{
vmove "usr/lib/*.so*" usr/lib
vmove usr/lib/wine usr/lib
}

44
srcpkgs/wine/template Normal file
View File

@ -0,0 +1,44 @@
# Template file for 'wine'
pkgname=wine
version=1.2.3
build_style=gnu-configure
homepage="http://www.winehq.org/"
distfiles="http://ibiblio.org/pub/linux/system/emulators/${pkgname}/${pkgname}-${version}.tar.bz2"
short_desc="Run Windows applications on Linux, BSD, Solaris and Mac OS X."
maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL-2.1"
checksum=3fd8d3f2b466d07eb90b8198cdc9ec3005917a4533db7b8c6c69058a2e57c61f
long_desc="
Wine lets you run Windows software on other operating systems. With Wine,
you can install and run these applications just like you would in
Windows."
subpackages="lib$pkgname $pkgname-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run glibc
Add_dependency run libwine
Add_dependency build lcms-devel
Add_dependency build zlib-devel
Add_dependency build MesaLib-devel
Add_dependency build libSM-devel
Add_dependency build libXext-devel
Add_dependency build libX11-devel
Add_dependency build libldap-devel
Add_dependency build alsa-lib-devel
Add_dependency build libgphoto2-devel
Add_dependency build libxml2-devel
Add_dependency full desktop-file-utils
Add_dependency full hicolor-icon-theme
CPPFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include"
pre_configure()
{
sed -i 's/\(libncurses\)/\1w/g' configure
sed -i 's/\(libdbus\)/\1-1/g' configure
}

View File

@ -0,0 +1,14 @@
# Template file for 'wine-devel'.
#
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libwine
do_install()
{
vmove usr/include usr
}

View File

@ -919,3 +919,4 @@ libserd-0.so.0 libserd serd-devel
libsord-0.so.0 libsord sord-devel
libgiggle.so.0 libgiggle giggle-devel
libgiggle-git.so.0 libgiggle giggle-devel
libwine.so.1 libwine wine-devel