diff --git a/srcpkgs/libwine b/srcpkgs/libwine new file mode 120000 index 00000000000..bd42d64fa10 --- /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 00000000000..bd42d64fa10 --- /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 00000000000..aee18402a7b --- /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 00000000000..c37d6fb81a5 --- /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 00000000000..04b27e2e2c3 --- /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 120564cc7ff..55b4b457396 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