Magellan Linux

Contents of /trunk/extras/wine/wine-1.5.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13226 - (show annotations) (download)
Thu Sep 6 09:16:31 2012 UTC (11 years, 8 months ago) by niro
File size: 2460 byte(s)
auto added: ver bump to 1.5.4-r1
1 # $Id$
2
3 PNAME="wine"
4 PVER="1.5.4"
5 PBUILD="r1"
6
7 PCAT="app-emulation"
8
9 DESCRIPTION="Wine is an Open Source implementation of the Windows API on top of X and Unix."
10 HOMEPAGE="http://www.winehq.com/"
11
12 # todo:
13 # libgphoto2, capi, gsm, jack, mpg123, sane, openldap
14 DEPEND=">= virtual/opengl
15 >= x11-libs/libXcursor-1.1
16 >= x11-libs/libXrandr-1.3
17 >= x11-libs/libXi-1.4
18 >= x11-libs/libXmu-1.1
19 >= x11-libs/libXxf86vm-1.1
20 >= x11-libs/libXinerama-1.1
21 >= x11-libs/libXcomposite-0.4.3
22 >= x11-apps/xmessage-1
23 >= media-libs/lcms-1.19
24 >= media-libs/alsa-lib-1.0.25
25 >= media-libs/freetype-2.4
26 >= media-libs/fontconfig-2.9
27 >= media-libs/libjpeg-8
28 >= media-libs/libpng-1.5
29 >= media-libs/openal-1.13
30 >= media-libs/gstreamer-0.10.35
31 >= media-libs/gst-plugins-base-0.10.35
32 >= dev-libs/libxslt-1.1.26
33 >= dev-libs/libxml2-2.7
34 >= dev-libs/openssl-1.0.0
35 >= dev-lang/perl-5.14
36 >= dev-perl/xml-simple-2.18
37 >= sys-apps/dbus-1.5
38 >= sys-fs/udisks-1.0.4
39 >= media-fonts/corefonts-2
40 >= net-print/libcups-1.5
41 >= net-fs/samba-3.6
42 >= app-crypt/gnutls-2.12
43 >= sys-libs/ncurses-5.9"
44
45 SDEPEND=">= x11-proto/inputproto-2
46 >= x11-proto/xextproto-7.2
47 >= x11-proto/xf86vidmodeproto-2.3
48 >= x11-proto/xineramaproto-1.2
49 >= sys-dev/bison-2.5
50 >= sys-dev/flex-2.5.35
51 >= sys-dev/gettext-0.18"
52
53 SRCFILE="${PNAME}-${PVER}.tar.bz2"
54 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
55
56 # no check supported
57 msetfeature "!check"
58
59 sminclude mbuild multilib
60 # only build for 32bit abi
61 export MULTILIB_ABIS="m32"
62
63 SRC_URI=(
64 sourceforge://${PNAME}/${SRCFILE}
65 mirror://${PNAME}/${SRCFILE}
66 )
67
68 src_compile()
69 {
70 export LDCONFIG=/bin/true
71 # fixme: $ORIGIN seems to be broken in glibc
72 # see: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=225925
73 #export LD_LIBRARY_PATH=${SRCDIR}/libs/wine
74
75 mconfigure \
76 --sysconfdir=/etc/wine \
77 --disable-tests \
78 --disable-win64 \
79 --with-pthread \
80 --with-alsa \
81 --with-cms \
82 --with-cups \
83 --with-curses \
84 --with-dbus \
85 --with-fontconfig \
86 --with-freetype \
87 --with-gnutls \
88 --with-gstreamer \
89 --with-gettext \
90 --with-jpeg \
91 --with-openal \
92 --with-opengl \
93 --with-openssl \
94 --with-png \
95 --with-x \
96 --with-xcomposite \
97 --with-xinerama \
98 --with-xml \
99 --with-xslt \
100 \
101 --without-capi \
102 --without-gphoto \
103 --without-gsm \
104 --without-hal \
105 --without-ldap \
106 --without-mpg123 \
107 --without-opencl \
108 --without-oss \
109 --without-sane \
110 --without-v4l \
111 || die
112
113 mmake -j1 depend || die
114 mmake all || die
115 }