diff --git a/srcpkgs/libwine-unstable b/srcpkgs/libwine-unstable new file mode 120000 index 00000000000..bffb56842a1 --- /dev/null +++ b/srcpkgs/libwine-unstable @@ -0,0 +1 @@ +wine-unstable \ No newline at end of file diff --git a/srcpkgs/wine-unstable-devel b/srcpkgs/wine-unstable-devel new file mode 120000 index 00000000000..bffb56842a1 --- /dev/null +++ b/srcpkgs/wine-unstable-devel @@ -0,0 +1 @@ +wine-unstable \ No newline at end of file diff --git a/srcpkgs/wine-unstable/depends b/srcpkgs/wine-unstable/depends new file mode 100644 index 00000000000..279bbc74c43 --- /dev/null +++ b/srcpkgs/wine-unstable/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.2.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/wine-unstable/libwine-unstable.template b/srcpkgs/wine-unstable/libwine-unstable.template new file mode 100644 index 00000000000..9c0c9a8f3ad --- /dev/null +++ b/srcpkgs/wine-unstable/libwine-unstable.template @@ -0,0 +1,31 @@ +# Template file for 'libwine-unstable'. +# +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 libmpg123 +Add_dependency run gst-plugins-base +Add_dependency run gstreamer +Add_dependency run glib +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 +Add_dependency run libgsm +Add_dependency run libopenal + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib + vmove usr/lib/wine usr/lib +} diff --git a/srcpkgs/wine-unstable/template b/srcpkgs/wine-unstable/template new file mode 100644 index 00000000000..6f471edb5a0 --- /dev/null +++ b/srcpkgs/wine-unstable/template @@ -0,0 +1,60 @@ +# Template file for 'wine-unstable' +__pkgname=wine +pkgname=${__pkgname}-unstable +version=1.3.31 +build_style=gnu-configure +configure_args=" +--with-x" +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. (unstable)" +maintainer="davehome " +license="LGPL-2.1" +checksum=c3827c192ebcc34fbfb7a6e4b6fcdef79ca5d42ad5b6ff8230e98ea238353f5e +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. (unstable)" + +replaces="wine>=0" +provides="wine-$version" + +subpackages="lib$pkgname $pkgname-devel" + +wrksrc=${__pkgname}-$version + +gtk_iconcache_dirs="/usr/share/icons/hicolor" + +# XXX OpenCL +# XXX dbus (dynamic device support) - I cannot make this work. +# XXX libsane (scanner support) +# XXX libcapi20 (ISDN support) +# XXX libcups (printing support) + +Add_dependency run glibc +Add_dependency run libwine-unstable +Add_dependency run gettext-libs + +Add_dependency build gettext-devel +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 build mpg123-devel +Add_dependency build libgsm-devel +Add_dependency build libopenal-devel +Add_dependency build prelink + +Add_dependency full desktop-file-utils +Add_dependency full hicolor-icon-theme + +pre_configure() +{ + sed -i 's/\(libncurses\)/\1w/g' configure +} diff --git a/srcpkgs/wine-unstable/wine-unstable-devel.template b/srcpkgs/wine-unstable/wine-unstable-devel.template new file mode 100644 index 00000000000..fe79ffe9cf5 --- /dev/null +++ b/srcpkgs/wine-unstable/wine-unstable-devel.template @@ -0,0 +1,16 @@ +# Template file for 'libwine-unstable'. +# +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-unstable + +revision=1 + +do_install() +{ + vmove usr/include usr +}