From b3bb8b2ca089f11d9ede95acfdb2e31add214701 Mon Sep 17 00:00:00 2001 From: davehome Date: Wed, 26 Oct 2011 00:12:32 +0000 Subject: [PATCH] wine-1.2.3: new package. --- srcpkgs/libwine | 1 + srcpkgs/wine-devel | 1 + srcpkgs/wine/libwine.template | 24 +++++++++++++ srcpkgs/wine/template | 44 ++++++++++++++++++++++++ srcpkgs/wine/wine-devel.template | 14 ++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 6 files changed, 85 insertions(+) create mode 120000 srcpkgs/libwine create mode 120000 srcpkgs/wine-devel create mode 100644 srcpkgs/wine/libwine.template create mode 100644 srcpkgs/wine/template create mode 100644 srcpkgs/wine/wine-devel.template diff --git a/srcpkgs/libwine b/srcpkgs/libwine new file mode 120000 index 0000000000..bd42d64fa1 --- /dev/null +++ b/srcpkgs/libwine @@ -0,0 +1 @@ +wine \ No newline at end of file diff --git a/srcpkgs/wine-devel b/srcpkgs/wine-devel new file mode 120000 index 0000000000..bd42d64fa1 --- /dev/null +++ b/srcpkgs/wine-devel @@ -0,0 +1 @@ +wine \ No newline at end of file diff --git a/srcpkgs/wine/libwine.template b/srcpkgs/wine/libwine.template new file mode 100644 index 0000000000..aee18402a7 --- /dev/null +++ b/srcpkgs/wine/libwine.template @@ -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 +} diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template new file mode 100644 index 0000000000..c37d6fb81a --- /dev/null +++ b/srcpkgs/wine/template @@ -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 " +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 +} + diff --git a/srcpkgs/wine/wine-devel.template b/srcpkgs/wine/wine-devel.template new file mode 100644 index 0000000000..04b27e2e2c --- /dev/null +++ b/srcpkgs/wine/wine-devel.template @@ -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 +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 120564cc7f..55b4b45739 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -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