Contents of /trunk/extras/wine/wine-1.5.2-r1.smage2
Parent Directory | Revision Log
Revision 11799 -
(show annotations)
(download)
Mon Apr 16 23:55:58 2012 UTC (12 years, 5 months ago) by niro
File size: 2441 byte(s)
Mon Apr 16 23:55:58 2012 UTC (12 years, 5 months ago) by niro
File size: 2441 byte(s)
-enabled curses
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 | cd ${SRCDIR} |
68 | |
69 | export LDCONFIG=/bin/true |
70 | # fixme: $ORIGIN seems to be broken in glibc |
71 | # see: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=225925 |
72 | #export LD_LIBRARY_PATH=${SRCDIR}/libs/wine |
73 | |
74 | mconfigure \ |
75 | --sysconfdir=/etc/wine \ |
76 | --disable-tests \ |
77 | --disable-win64 \ |
78 | --with-pthread \ |
79 | --with-alsa \ |
80 | --with-cms \ |
81 | --with-cups \ |
82 | --with-curses \ |
83 | --with-dbus \ |
84 | --with-fontconfig \ |
85 | --with-freetype \ |
86 | --with-gnutls \ |
87 | --with-gstreamer \ |
88 | --with-gettext \ |
89 | --with-jpeg \ |
90 | --with-openal \ |
91 | --with-opengl \ |
92 | --with-openssl \ |
93 | --with-png \ |
94 | --with-x \ |
95 | --with-xcomposite \ |
96 | --with-xinerama \ |
97 | --with-xml \ |
98 | --with-xslt \ |
99 | \ |
100 | --without-capi \ |
101 | --without-gphoto \ |
102 | --without-gsm \ |
103 | --without-hal \ |
104 | --without-ldap \ |
105 | --without-mpg123 \ |
106 | --without-opencl \ |
107 | --without-oss \ |
108 | --without-sane \ |
109 | --without-v4l \ |
110 | || die |
111 | |
112 | mmake -j1 depend || die |
113 | mmake all || die |
114 | } |