summaryrefslogtreecommitdiff
path: root/recipes/mplayer/files/w100-configure.patch
blob: 03610610e4a1b2c033b52014b046bd76795c9c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- mplayer_20060519/configure.orig	2006-05-30 10:23:24.000000000 +0100
+++ mplayer_20060519/configure	2006-05-30 10:27:24.000000000 +0100
@@ -1585,6 +1585,7 @@
 _svga=auto
 _vesa=auto
 _fbdev=auto
+_w100=no
 _dvb=auto
 _dvbhead=auto
 _dxr2=auto
@@ -1767,6 +1768,8 @@
   --disable-vesa)	_vesa=no	;;
   --enable-fbdev)	_fbdev=yes	;;
   --disable-fbdev)	_fbdev=no	;;
+  --enable-w100)        _w100=yes       ;;
+  --disable-w100)       _w100=no        ;;
   --enable-dvb)		_dvb=yes	;;
   --disable-dvb)        _dvb=no		;;
   --enable-dvbhead)	_dvbhead=yes	;;
@@ -4200,6 +4203,17 @@
 fi
 echores "$_fbdev"
 
+echocheck "ATI Imageon 100 (w100)"
+if test "$_w100" = yes ; then
+  _def_w100='#define HAVE_W100 1'
+  _ld_w100='-laticore'
+  _vosrc="$_vosrc vo_w100.c"
+  _vomodules="w100 $_vomodules"
+else
+  _def_w100='#undef HAVE_W100'
+  _novomodules="w100 $_novomodules"
+fi
+echores "$_w100"
 
 
 echocheck "DVB"
@@ -7441,6 +7455,7 @@
 AA_LIB = $_ld_aa
 CACA_INC = $_inc_caca
 CACA_LIB = $_ld_caca
+W100_LIB = $_ld_w100
 
 # audio output
 ALSA_LIB = $_ld_alsa
@@ -8238,6 +8253,7 @@
 $_def_xmga
 $_def_syncfb
 $_def_fbdev
+$_def_w100
 $_def_dxr2
 $_def_dxr3
 $_def_dvb