Skip to contentSkip to conversation

wine: New package

PATCH New André Hentschel 1 participant 1 message Jan 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wine: New package

Adds new package: wine

Wine is a compatibility layer capable of running Windows applications on Linux.

---
I hope i addressed all the comments in the correct manner
try 2: Fix issue spotted by baruch
try 3: Added comments, added hash file, fixed X11 check, depend on internal toolchain, added bison and flex to host dependencies

 package/Config.in      |   1 +
 package/wine/Config.in |  24 +++++++++++++
 package/wine/wine.hash |   2 ++
 package/wine/wine.mk   | 265 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 292 insertions(+)
package/Config.in +1 -0
index 5ece4a5..e12cc15 100644
@@ -1005,6 +1005,7 @@ menu "Miscellaneous"
 	source "package/snowball-init/Config.in"
 	source "package/sound-theme-borealis/Config.in"
 	source "package/sound-theme-freedesktop/Config.in"
+	source "package/wine/Config.in"
 endmenu
 
 menu "Networking applications"
package/wine/Config.in new file +24 -0
new file mode 100644
index 0000000..e2f6e8b
@@ -0,0 +1,24 @@
+config BR2_PACKAGE_WINE
+	bool "wine"
+	depends on BR2_INET_IPV6
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_USES_GLIBC
+	# Problems with naming of external toolchains, "configure --host" and winegcc
+	# e.g. a toolchain like i686-pc-linux-gnu targeting i586-buildroot-linux-gnu
+	depends on BR2_TOOLCHAIN_BUILDROOT
+	# Wine has much CPU specific code
+	depends on BR2_i386 || BR2_x86_64
+	help
+	  Wine is a compatibility layer capable of running
+	  Windows applications on Linux. Instead of simulating internal
+	  Windows logic like a virtual machine or emulator,
+	  Wine translates Windows API calls into POSIX calls on-the-fly,
+	  eliminating the performance and memory penalties of other methods.
+
+	  http://www.winehq.org
+
+comment "wine needs a (e)glibc toolchain w/ IPv6, threads"
+	depends on BR2_i386 || BR2_x86_64
+	depends on BR2_TOOLCHAIN_BUILDROOT
+	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_USES_GLIBC
package/wine/wine.hash new file +2 -0
new file mode 100644
index 0000000..7ffc45e
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0f46dd29b278a3352206b49680f0ac3bfa107e65cb40cb4af51c137f0ebeb271 wine-1.6.2.tar.bz2
package/wine/wine.mk new file +265 -0

265 lines not on this page · raw message