Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11800 - (show annotations) (download)
Mon Apr 16 23:56:33 2012 UTC (12 years, 1 month ago) by niro
File size: 2426 byte(s)
-removed noisyness
1 # $Id$
2
3 PNAME="wine"
4 PVER="1.5.2"
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, ncurses, 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 sminclude mbuild multilib
57 # only build for 32bit abi
58 export MULTILIB_ABIS="m32"
59
60 SRC_URI=(
61 sourceforge://${PNAME}/${SRCFILE}
62 mirror://${PNAME}/${SRCFILE}
63 )
64
65 src_compile()
66 {
67 export LDCONFIG=/bin/true
68 # fixme: $ORIGIN seems to be broken in glibc
69 # see: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=225925
70 #export LD_LIBRARY_PATH=${SRCDIR}/libs/wine
71
72 mconfigure \
73 --sysconfdir=/etc/wine \
74 --disable-tests \
75 --disable-win64 \
76 --with-pthread \
77 --with-alsa \
78 --with-cms \
79 --with-cups \
80 --with-curses \
81 --with-dbus \
82 --with-fontconfig \
83 --with-freetype \
84 --with-gnutls \
85 --with-gstreamer \
86 --with-gettext \
87 --with-jpeg \
88 --with-openal \
89 --with-opengl \
90 --with-openssl \
91 --with-png \
92 --with-x \
93 --with-xcomposite \
94 --with-xinerama \
95 --with-xml \
96 --with-xslt \
97 \
98 --without-capi \
99 --without-gphoto \
100 --without-gsm \
101 --without-hal \
102 --without-ldap \
103 --without-mpg123 \
104 --without-opencl \
105 --without-oss \
106 --without-sane \
107 --without-v4l \
108 || die
109
110 mmake -j1 depend || die
111 mmake all || die
112 }