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
|
Index: pygame-1.9.1release+dfsg/Setup.in
===================================================================
--- pygame-1.9.1release+dfsg.orig/Setup.in 2012-01-05 17:53:23.000000000 +0100
+++ pygame-1.9.1release+dfsg/Setup.in 2012-01-05 22:27:25.376271658 +0100
@@ -34,7 +34,7 @@
_numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG)
movie src/movie.c $(SDL) $(SMPEG) $(DEBUG)
scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG)
-_camera src/_camera.c src/camera_v4l2.c $(SDL) $(DEBUG)
+_camera src/_camera.c src/camera_v4l2.c $(V4L2) $(SDL) $(DEBUG)
pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG)
GFX = src/SDL_gfx/SDL_gfxPrimitives.c
Index: pygame-1.9.1release+dfsg/config_unix.py
===================================================================
--- pygame-1.9.1release+dfsg.orig/config_unix.py 2012-01-05 17:53:23.000000000 +0100
+++ pygame-1.9.1release+dfsg/config_unix.py 2012-01-05 22:43:07.853348334 +0100
@@ -150,6 +150,7 @@
Dependency('SCRAP', '', 'libX11', ['X11']),
Dependency('PORTMIDI', 'portmidi.h', 'libportmidi.so', ['portmidi']),
Dependency('PORTTIME', 'porttime.h', 'libporttime.so', ['porttime']),
+ Dependency('V4L2', 'linux/videodev2.h', '', []),
#Dependency('GFX', 'SDL_gfxPrimitives.h', 'libSDL_gfx.so', ['SDL_gfx']),
]
if not DEPS[0].found:
@@ -177,7 +178,7 @@
for d in DEPS[1:]:
if not d.found:
- if ( d.name=='PORTMIDI' or d.name=='PORTTIME') and \
+ if ( d.name=='PORTMIDI' or d.name=='PORTTIME' or d.name=='V4L2') and \
os.getenv('DEB_HOST_ARCH_OS') != 'linux':
print 'Debian specific hack: ignore missing dependency %s on %s .' % \
(d.name , os.getenv('DEB_HOST_ARCH_OS'))
|