pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-game



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jun  6 21:46:12 UTC 2019

Modified Files:
        pkgsrc/devel/py-game: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-game/patches: patch-buildconfig_Setup.SDL1.in
            patch-buildconfig_Setup.SDL2.in patch-buildconfig_config__darwin.py
            patch-buildconfig_config__unix.py
Removed Files:
        pkgsrc/devel/py-game/patches: patch-Setup.in patch-Setup__Unix.in
            patch-config__darwin.py patch-config__unix.py

Log Message:
py-game: updated to 1.9.6

1.9.6:
Whilst we focus like a shark-lazer on pygame 2, here is a bonus pygame 1.9.6 with a couple of small regression bug fixes.
- mp3 via smpeg was missing in manylinux builds.
- mixer thread deadlock issue when controlling it from different threads.
- pygame.version.vernum now has major, minor, and patch attributes.

1.9.5:
Every single source file has been heavily modified and moved in this release. Initial (source code only) support for SDL2 has been merged in. We also support compiling with SDL1 in the same code 
base, so the migration to pygame 2 is easier. pygame 2 will be released with SDL2 being the default backend when some remaining issues are ironed out. The 1.9.x releases will continue with SDL1 until 
then. Also, the C API of pygame is undergoing a transformation with lots of cleanups. Then there have been plenty of other cleanups all throughout the python code as well. There's still lots to clean 
up, but things should be significantly easier for people to contribute (👋 hello and thanks new contributors!). The documentation has been improved with better examples links, search functionality, 
and improved navigation. Support for older Macs, and newer Macs has been improved. The mask, midi, draw, and math modules have gotten lots of polish with rough edges removed.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/devel/py-game/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-game/PLIST \
    pkgsrc/devel/py-game/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/py-game/patches/patch-Setup.in
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-game/patches/patch-Setup__Unix.in \
    pkgsrc/devel/py-game/patches/patch-config__darwin.py
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL1.in \
    pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL2.in \
    pkgsrc/devel/py-game/patches/patch-buildconfig_config__darwin.py \
    pkgsrc/devel/py-game/patches/patch-buildconfig_config__unix.py
cvs rdiff -u -r1.3 -r0 pkgsrc/devel/py-game/patches/patch-config__unix.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-game/Makefile
diff -u pkgsrc/devel/py-game/Makefile:1.37 pkgsrc/devel/py-game/Makefile:1.38
--- pkgsrc/devel/py-game/Makefile:1.37  Thu May 10 21:53:32 2018
+++ pkgsrc/devel/py-game/Makefile       Thu Jun  6 21:46:11 2019
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2018/05/10 21:53:32 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2019/06/06 21:46:11 adam Exp $
 
-DISTNAME=      pygame-1.9.3
-PKGREVISION=   1
+DISTNAME=      pygame-1.9.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-CATEGORIES=    games
+CATEGORIES=    games python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/Pygame/}
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
@@ -23,21 +22,29 @@ REPLACE_PYTHON+=    setup.py
 SUBST_CLASSES+=                fixpath
 SUBST_STAGE.fixpath=   pre-configure
 SUBST_MESSAGE.fixpath= Fixing paths.
-SUBST_FILES.fixpath=   config_darwin.py config_unix.py
+SUBST_FILES.fixpath=   buildconfig/config_darwin.py
+SUBST_FILES.fixpath+=  buildconfig/config_unix.py
 SUBST_SED.fixpath=     -e 's,/usr/local,${PREFIX},g'
 
 .include "../../mk/bsd.prefs.mk"
-PLIST_VARS+=           darwin
-.if ${OPSYS} != "Darwin"
-.  include "../../x11/libX11/buildlink3.mk"
-.else
+PLIST_VARS+=           darwin unix
+.if ${OPSYS} == "Darwin"
 PLIST.darwin=          yes
+.else
+.  include "../../x11/libX11/buildlink3.mk"
+PLIST.unix=            yes
 .endif
 
+# Disable video4linux
+pre-configure:
+       ${RM} ${WRKSRC}/buildconfig/Setup_Unix.in
+       ${TOUCH} ${WRKSRC}/buildconfig/Setup_Unix.in
+
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/SDL_ttf/buildlink3.mk"
 .include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"

Index: pkgsrc/devel/py-game/PLIST
diff -u pkgsrc/devel/py-game/PLIST:1.9 pkgsrc/devel/py-game/PLIST:1.10
--- pkgsrc/devel/py-game/PLIST:1.9      Tue Jun 20 17:00:07 2017
+++ pkgsrc/devel/py-game/PLIST  Thu Jun  6 21:46:11 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2017/06/20 17:00:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/06/06 21:46:11 adam Exp $
 ${PYINC}/pygame/_camera.h
 ${PYINC}/pygame/_pygame.h
 ${PYINC}/pygame/_surface.h
@@ -9,6 +9,7 @@ ${PYINC}/pygame/font.h
 ${PYINC}/pygame/freetype.h
 ${PYINC}/pygame/mask.h
 ${PYINC}/pygame/mixer.h
+${PYINC}/pygame/palette.h
 ${PYINC}/pygame/pgarrinter.h
 ${PYINC}/pygame/pgbufferproxy.h
 ${PYINC}/pygame/pgcompat.h
@@ -19,8 +20,8 @@ ${PYINC}/pygame/surface.h
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/pygame/LGPL
 ${PYSITELIB}/pygame/__init__.py
 ${PYSITELIB}/pygame/__init__.pyc
 ${PYSITELIB}/pygame/__init__.pyo
@@ -71,6 +72,9 @@ ${PYSITELIB}/pygame/docs/pygame_small.gi
 ${PYSITELIB}/pygame/docs/pygame_tiny.gif
 ${PYSITELIB}/pygame/docs/ref/docscomments.json
 ${PYSITELIB}/pygame/draw.so
+${PYSITELIB}/pygame/draw_py.py
+${PYSITELIB}/pygame/draw_py.pyc
+${PYSITELIB}/pygame/draw_py.pyo
 ${PYSITELIB}/pygame/event.so
 ${PYSITELIB}/pygame/examples/__init__.py
 ${PYSITELIB}/pygame/examples/__init__.pyc
@@ -84,6 +88,9 @@ ${PYSITELIB}/pygame/examples/aliens.pyo
 ${PYSITELIB}/pygame/examples/arraydemo.py
 ${PYSITELIB}/pygame/examples/arraydemo.pyc
 ${PYSITELIB}/pygame/examples/arraydemo.pyo
+${PYSITELIB}/pygame/examples/audiocapture.py
+${PYSITELIB}/pygame/examples/audiocapture.pyc
+${PYSITELIB}/pygame/examples/audiocapture.pyo
 ${PYSITELIB}/pygame/examples/blend_fill.py
 ${PYSITELIB}/pygame/examples/blend_fill.pyc
 ${PYSITELIB}/pygame/examples/blend_fill.pyo
@@ -133,6 +140,9 @@ ${PYSITELIB}/pygame/examples/data/shot.g
 ${PYSITELIB}/pygame/examples/data/static.png
 ${PYSITELIB}/pygame/examples/data/whiff.wav
 ${PYSITELIB}/pygame/examples/data/yuv_1.pgm
+${PYSITELIB}/pygame/examples/dropevent.py
+${PYSITELIB}/pygame/examples/dropevent.pyc
+${PYSITELIB}/pygame/examples/dropevent.pyo
 ${PYSITELIB}/pygame/examples/eventlist.py
 ${PYSITELIB}/pygame/examples/eventlist.pyc
 ${PYSITELIB}/pygame/examples/eventlist.pyo
@@ -209,9 +219,15 @@ ${PYSITELIB}/pygame/examples/stars.pyo
 ${PYSITELIB}/pygame/examples/testsprite.py
 ${PYSITELIB}/pygame/examples/testsprite.pyc
 ${PYSITELIB}/pygame/examples/testsprite.pyo
+${PYSITELIB}/pygame/examples/textinput.py
+${PYSITELIB}/pygame/examples/textinput.pyc
+${PYSITELIB}/pygame/examples/textinput.pyo
 ${PYSITELIB}/pygame/examples/vgrade.py
 ${PYSITELIB}/pygame/examples/vgrade.pyc
 ${PYSITELIB}/pygame/examples/vgrade.pyo
+${PYSITELIB}/pygame/examples/video.py
+${PYSITELIB}/pygame/examples/video.pyc
+${PYSITELIB}/pygame/examples/video.pyo
 ${PYSITELIB}/pygame/fastevent.so
 ${PYSITELIB}/pygame/font.so
 ${PYSITELIB}/pygame/freesansbold.ttf
@@ -222,18 +238,8 @@ ${PYSITELIB}/pygame/ftfont.py
 ${PYSITELIB}/pygame/ftfont.pyc
 ${PYSITELIB}/pygame/ftfont.pyo
 ${PYSITELIB}/pygame/gfxdraw.so
-${PYSITELIB}/pygame/gp2x/__init__.py
-${PYSITELIB}/pygame/gp2x/__init__.pyc
-${PYSITELIB}/pygame/gp2x/__init__.pyo
-${PYSITELIB}/pygame/gp2x/constants.py
-${PYSITELIB}/pygame/gp2x/constants.pyc
-${PYSITELIB}/pygame/gp2x/constants.pyo
-${PYSITELIB}/pygame/gp2x/locals.py
-${PYSITELIB}/pygame/gp2x/locals.pyc
-${PYSITELIB}/pygame/gp2x/locals.pyo
 ${PYSITELIB}/pygame/image.so
 ${PYSITELIB}/pygame/imageext.so
-${PYSITELIB}/pygame/install.html
 ${PYSITELIB}/pygame/joystick.so
 ${PYSITELIB}/pygame/key.so
 ${PYSITELIB}/pygame/locals.py
@@ -262,10 +268,9 @@ ${PYSITELIB}/pygame/pygame_icon.bmp
 ${PYSITELIB}/pygame/pygame_icon.icns
 ${PYSITELIB}/pygame/pygame_icon.svg
 ${PYSITELIB}/pygame/pygame_icon.tiff
-${PYSITELIB}/pygame/readme.html
 ${PYSITELIB}/pygame/rect.so
 ${PYSITELIB}/pygame/rwobject.so
-${PYSITELIB}/pygame/scrap.so
+${PLIST.unix}${PYSITELIB}/pygame/scrap.so
 ${PLIST.darwin}${PYSITELIB}/pygame/sdlmain_osx.so
 ${PYSITELIB}/pygame/sndarray.py
 ${PYSITELIB}/pygame/sndarray.pyc
@@ -311,6 +316,9 @@ ${PYSITELIB}/pygame/tests/color_test.pyo
 ${PYSITELIB}/pygame/tests/compat_test.py
 ${PYSITELIB}/pygame/tests/compat_test.pyc
 ${PYSITELIB}/pygame/tests/compat_test.pyo
+${PYSITELIB}/pygame/tests/constants_test.py
+${PYSITELIB}/pygame/tests/constants_test.pyc
+${PYSITELIB}/pygame/tests/constants_test.pyo
 ${PYSITELIB}/pygame/tests/cursors_test.py
 ${PYSITELIB}/pygame/tests/cursors_test.pyc
 ${PYSITELIB}/pygame/tests/cursors_test.pyo
@@ -323,6 +331,9 @@ ${PYSITELIB}/pygame/tests/draw_test.pyo
 ${PYSITELIB}/pygame/tests/event_test.py
 ${PYSITELIB}/pygame/tests/event_test.pyc
 ${PYSITELIB}/pygame/tests/event_test.pyo
+${PYSITELIB}/pygame/tests/fastevent_tags.py
+${PYSITELIB}/pygame/tests/fastevent_tags.pyc
+${PYSITELIB}/pygame/tests/fastevent_tags.pyo
 ${PYSITELIB}/pygame/tests/fastevent_test.py
 ${PYSITELIB}/pygame/tests/fastevent_test.pyc
 ${PYSITELIB}/pygame/tests/fastevent_test.pyo
@@ -405,6 +416,9 @@ ${PYSITELIB}/pygame/tests/mixer_test.pyo
 ${PYSITELIB}/pygame/tests/mouse_test.py
 ${PYSITELIB}/pygame/tests/mouse_test.pyc
 ${PYSITELIB}/pygame/tests/mouse_test.pyo
+${PYSITELIB}/pygame/tests/overlay_tags.py
+${PYSITELIB}/pygame/tests/overlay_tags.pyc
+${PYSITELIB}/pygame/tests/overlay_tags.pyo
 ${PYSITELIB}/pygame/tests/overlay_test.py
 ${PYSITELIB}/pygame/tests/overlay_test.pyc
 ${PYSITELIB}/pygame/tests/overlay_test.pyo
@@ -615,9 +629,18 @@ ${PYSITELIB}/pygame/tests/threads_test.p
 ${PYSITELIB}/pygame/tests/time_test.py
 ${PYSITELIB}/pygame/tests/time_test.pyc
 ${PYSITELIB}/pygame/tests/time_test.pyo
+${PYSITELIB}/pygame/tests/touch_tags.py
+${PYSITELIB}/pygame/tests/touch_tags.pyc
+${PYSITELIB}/pygame/tests/touch_tags.pyo
+${PYSITELIB}/pygame/tests/touch_test.py
+${PYSITELIB}/pygame/tests/touch_test.pyc
+${PYSITELIB}/pygame/tests/touch_test.pyo
 ${PYSITELIB}/pygame/tests/transform_test.py
 ${PYSITELIB}/pygame/tests/transform_test.pyc
 ${PYSITELIB}/pygame/tests/transform_test.pyo
+${PYSITELIB}/pygame/tests/version_test.py
+${PYSITELIB}/pygame/tests/version_test.pyc
+${PYSITELIB}/pygame/tests/version_test.pyo
 ${PYSITELIB}/pygame/threads/Py25Queue.py
 ${PYSITELIB}/pygame/threads/Py25Queue.pyc
 ${PYSITELIB}/pygame/threads/Py25Queue.pyo
Index: pkgsrc/devel/py-game/distinfo
diff -u pkgsrc/devel/py-game/distinfo:1.9 pkgsrc/devel/py-game/distinfo:1.10
--- pkgsrc/devel/py-game/distinfo:1.9   Thu May 10 21:52:51 2018
+++ pkgsrc/devel/py-game/distinfo       Thu Jun  6 21:46:11 2019
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.9 2018/05/10 21:52:51 wiz Exp $
+$NetBSD: distinfo,v 1.10 2019/06/06 21:46:11 adam Exp $
 
-SHA1 (pygame-1.9.3.tar.gz) = b3ef126f0baea3bd0986fddebba82b6b13f6f282
-RMD160 (pygame-1.9.3.tar.gz) = ac95b8c2afa5076746227a6d1ae9c200d14d5757
-SHA512 (pygame-1.9.3.tar.gz) = 8920c598a97b4ff8602391517f070b67263bacb6330e13ea5d7d5432ee592a7c984fe986837b90a032da3d4e717f9df0cc99f0fb39f1cbde1b4f6a4c132feffe
-Size (pygame-1.9.3.tar.gz) = 2974541 bytes
-SHA1 (patch-Setup.in) = 71659c0150ec53b063cd47531b8b0a93ea671ceb
-SHA1 (patch-Setup__Unix.in) = 03fb45137f018761e6b9f19de056c0fdff5d153d
-SHA1 (patch-config__darwin.py) = c39c00b3252195dcf4476574e9b8439acf66c0ab
-SHA1 (patch-config__unix.py) = 0572bf12ce06ffd7d9a762a7718d1330715af9ec
+SHA1 (pygame-1.9.6.tar.gz) = d055cf1e37d8c340579e2d745e8ca4c9397767da
+RMD160 (pygame-1.9.6.tar.gz) = abe4dc7b5e350617048474a3d168d9d1d09eae2b
+SHA512 (pygame-1.9.6.tar.gz) = d923c554203a7c35e37921658cb4c5bf50215ab0ff4d2b869a1ee6b2e2ca31d66ec4bbde4287f5a777838ffe932cd15b993cb0224b86e43d684de61c35acbcd0
+Size (pygame-1.9.6.tar.gz) = 3223131 bytes
+SHA1 (patch-buildconfig_Setup.SDL1.in) = 2f4b60f933952b67092fabfe4c84d7525b9d0338
+SHA1 (patch-buildconfig_Setup.SDL2.in) = 9b33e714df4319622aac66ced2b3ce36f879dc8c
+SHA1 (patch-buildconfig_config__darwin.py) = c1e8ac90619fce59e250a33175a546cd235c0fe1
+SHA1 (patch-buildconfig_config__unix.py) = 31185536cbc25550df3441607ec278c533a28f1f

Added files:

Index: pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL1.in
diff -u /dev/null pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL1.in:1.1
--- /dev/null   Thu Jun  6 21:46:12 2019
+++ pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL1.in        Thu Jun  6 21:46:12 2019
@@ -0,0 +1,23 @@
+$NetBSD: patch-buildconfig_Setup.SDL1.in,v 1.1 2019/06/06 21:46:12 adam Exp $
+
+Disable portmidi/porttime
+
+--- buildconfig/Setup.SDL1.in.orig     2019-06-06 17:51:10.000000000 +0000
++++ buildconfig/Setup.SDL1.in
+@@ -7,15 +7,13 @@
+ 
+ 
+ #--StartConfig
+-SDL = -I/usr/include/SDL -D_REENTRANT -lSDL
++SDL = -D_REENTRANT -lSDL
+ FONT = -lSDL_ttf
+ IMAGE = -lSDL_image
+ MIXER = -lSDL_mixer
+ PNG = -lpng
+ JPEG = -ljpeg
+ SCRAP = -lX11
+-PORTMIDI = -lportmidi
+-PORTTIME = -lporttime
+ FREETYPE = -lfreetype
+ #--EndConfig
+ 
Index: pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL2.in
diff -u /dev/null pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL2.in:1.1
--- /dev/null   Thu Jun  6 21:46:12 2019
+++ pkgsrc/devel/py-game/patches/patch-buildconfig_Setup.SDL2.in        Thu Jun  6 21:46:12 2019
@@ -0,0 +1,21 @@
+$NetBSD: patch-buildconfig_Setup.SDL2.in,v 1.1 2019/06/06 21:46:12 adam Exp $
+
+Disable portmidi/porttime
+
+--- buildconfig/Setup.SDL2.in.orig     2019-06-06 17:28:51.000000000 +0000
++++ buildconfig/Setup.SDL2.in
+@@ -7,13 +7,11 @@
+ 
+ 
+ #--StartConfig
+-SDL = -I/usr/include -D_REENTRANT -DSDL2 -lSDL2
++SDL = -D_REENTRANT -DSDL2 -lSDL2
+ FONT = -lSDL2_ttf
+ IMAGE = -lSDL2_image
+ MIXER = -lSDL2_mixer
+ SCRAP = -lX11
+-PORTMIDI = -lportmidi
+-PORTTIME = -lporttime
+ FREETYPE = -lfreetype
+ #--EndConfig
+ 
Index: pkgsrc/devel/py-game/patches/patch-buildconfig_config__darwin.py
diff -u /dev/null pkgsrc/devel/py-game/patches/patch-buildconfig_config__darwin.py:1.1
--- /dev/null   Thu Jun  6 21:46:12 2019
+++ pkgsrc/devel/py-game/patches/patch-buildconfig_config__darwin.py    Thu Jun  6 21:46:12 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-buildconfig_config__darwin.py,v 1.1 2019/06/06 21:46:12 adam Exp $
+
+Use correct libpng.
+
+--- buildconfig/config_darwin.py.orig  2019-04-25 06:14:17.000000000 +0000
++++ buildconfig/config_darwin.py
+@@ -150,7 +150,7 @@ def main(sdl2=False):
+     DEPS.extend([
+         FrameworkDependency('PORTTIME', 'CoreMidi.h', 'CoreMidi', 'CoreMIDI'),
+         FrameworkDependency('QUICKTIME', 'QuickTime.h', 'QuickTime', 'QuickTime'),
+-        Dependency('PNG', 'png.h', 'libpng', ['png']),
++        Dependency('PNG', 'png.h', 'libpng16', ['png']),
+         Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']),
+         Dependency('PORTMIDI', 'portmidi.h', 'libportmidi', ['portmidi']),
+         find_freetype(),
Index: pkgsrc/devel/py-game/patches/patch-buildconfig_config__unix.py
diff -u /dev/null pkgsrc/devel/py-game/patches/patch-buildconfig_config__unix.py:1.1
--- /dev/null   Thu Jun  6 21:46:12 2019
+++ pkgsrc/devel/py-game/patches/patch-buildconfig_config__unix.py      Thu Jun  6 21:46:12 2019
@@ -0,0 +1,46 @@
+$NetBSD: patch-buildconfig_config__unix.py,v 1.1 2019/06/06 21:46:12 adam Exp $
+
+Detect X11R6 or X11R7; avoid localbase overriding search.
+Use correct libpng.
+Disable portmidi and porttime; porttime is a part of portmidi.
+
+--- buildconfig/config_unix.py.orig    2019-06-06 17:38:22.000000000 +0000
++++ buildconfig/config_unix.py
+@@ -148,8 +148,8 @@ def main(sdl2=False):
+ 
+     #these get prefixes with '/usr' and '/usr/local' or the $LOCALBASE
+     if sdl2:
+-        origincdirs = ['/include', '/include/SDL2']
+-        origlibdirs = ['/lib','/lib64','/X11R6/lib',
++        origincdirs = ['/include', '/include/SDL2', '/X11R6/include', '/X11R7/include']
++        origlibdirs = ['/lib','/lib64','/X11R6/lib', '/X11R7/lib',
+                        '/lib/i386-linux-gnu', '/lib/x86_64-linux-gnu']
+     else:
+         origincdirs = ['/include', '/include/SDL', '/include/SDL']
+@@ -216,13 +216,12 @@ def main(sdl2=False):
+             #Dependency('GFX', 'SDL_gfxPrimitives.h', 'libSDL_gfx.so', ['SDL_gfx']),
+         ]
+     DEPS.extend([
+-        Dependency('PNG', 'png.h', 'libpng', ['png']),
++        Dependency('PNG', 'png.h', 'libpng16', ['png']),
+         Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']),
+         Dependency('SCRAP', '', 'libX11', ['X11']),
+         #Dependency('GFX', 'SDL_gfxPrimitives.h', 'libSDL_gfx.so', ['SDL_gfx']),
+     ])
+-    is_freebsd = platform.system() == 'FreeBSD'
+-    if not is_freebsd:
++    if False:
+         porttime_dep = get_porttime_dep()
+         DEPS.append(
+             Dependency('PORTMIDI', 'portmidi.h', 'libportmidi.so', ['portmidi'])
+@@ -243,8 +242,8 @@ def main(sdl2=False):
+     incdirs += ["/usr/local"+d for d in origincdirs]
+     libdirs += ["/usr/local"+d for d in origlibdirs]
+     if localbase:
+-        incdirs = [localbase+d for d in origincdirs]
+-        libdirs = [localbase+d for d in origlibdirs]
++        incdirs += [localbase+d for d in origincdirs]
++        libdirs += [localbase+d for d in origlibdirs]
+ 
+     for arg in DEPS[0].cflags.split():
+         if arg[:2] == '-I':



Home | Main Index | Thread Index | Old Index