ports/86927: [NEW PORT] audio/py24-sdl_mixer: Pysdl_mixer is a python interface to SDL's sdl_mixer

Jose Alonso Cardenas Marquez acardenas at bsd.org.pe
Wed Oct 5 07:40:19 UTC 2005


>Number:         86927
>Category:       ports
>Synopsis:       [NEW PORT] audio/py24-sdl_mixer: Pysdl_mixer is a python interface to SDL's sdl_mixer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 05 07:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 5.4-STABLE FreeBSD 5.4-STABLE #1: Mon Oct  3 18:51:34 PET
>Description:
Pysdl_mixer is a python interface to SDL's sdl_mixer. 
This is usefull for multichannel sample and music playback from python. 
This project is currently being used by soya (https://gna.org/projects/soya/).

WWW:	https://gna.org/projects/pysdlmixer/
>How-To-Repeat:
      
>Fix:
--- py24-sdl_mixer-0.0.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-sdl_mixer
#	py-sdl_mixer/pkg-descr
#	py-sdl_mixer/Makefile
#	py-sdl_mixer/pkg-plist
#	py-sdl_mixer/distinfo
#	py-sdl_mixer/files
#	py-sdl_mixer/files/patch-setup.py
#	py-sdl_mixer/files/patch-sdl_mixer.c
#
echo c - py-sdl_mixer
mkdir -p py-sdl_mixer > /dev/null 2>&1
echo x - py-sdl_mixer/pkg-descr
sed 's/^X//' >py-sdl_mixer/pkg-descr << 'END-of-py-sdl_mixer/pkg-descr'
Xpysdl_mixer is a python interface to SDL's sdl_mixer. 
XThis is usefull for multichannel sample and music playback from python. 
XThis project is currently being used by soya (https://gna.org/projects/soya/).
X
XWWW:	https://gna.org/projects/pysdlmixer/
END-of-py-sdl_mixer/pkg-descr
echo x - py-sdl_mixer/Makefile
sed 's/^X//' >py-sdl_mixer/Makefile << 'END-of-py-sdl_mixer/Makefile'
X# New ports collection makefile for:	pysdl_mixer
X# Date created:		2005-10-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas at bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sdl_mixer
XPORTVERSION=	0.0.3
XCATEGORIES=	audio python
XMASTER_SITES=	http://download.gna.org/pysdlmixer/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	pysdl_mixer-${PORTVERSION}
XEXTRACT_SUFX=	.tar.gz
X
XMAINTAINER=	acardenas at bsd.org.pe
XCOMMENT=	Pysdl_mixer is a python interface to SDL's sdl_mixer
X
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
X
XDIST_SUBDIR=	python
XUSE_GZIP=	yes
XUSE_SDL=	sdl mixer
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XWRKSRC=		${WRKDIR}/pysdl_mixer-${PORTVERSION}
XEXAMPLESDIR=	${PREFIX}/share/examples/py-sdl-mixer
X
X.include <bsd.port.pre.mk>
X
X.post-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
X.endif
X.include <bsd.port.post.mk>
END-of-py-sdl_mixer/Makefile
echo x - py-sdl_mixer/pkg-plist
sed 's/^X//' >py-sdl_mixer/pkg-plist << 'END-of-py-sdl_mixer/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/__init__.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/sdl_mixer.so
X%%PORTDOCS%%%%EXAMPLESDIR%%/sdl_mixer-1.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/test.wav
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X at dirrm lib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer
END-of-py-sdl_mixer/pkg-plist
echo x - py-sdl_mixer/distinfo
sed 's/^X//' >py-sdl_mixer/distinfo << 'END-of-py-sdl_mixer/distinfo'
XMD5 (python/pysdl_mixer-0.0.3.tar.gz) = 81d109f02938c6a1c368dd461252450a
XSIZE (python/pysdl_mixer-0.0.3.tar.gz) = 24133
END-of-py-sdl_mixer/distinfo
echo c - py-sdl_mixer/files
mkdir -p py-sdl_mixer/files > /dev/null 2>&1
echo x - py-sdl_mixer/files/patch-setup.py
sed 's/^X//' >py-sdl_mixer/files/patch-setup.py << 'END-of-py-sdl_mixer/files/patch-setup.py'
X--- setup.py.orig	Wed Oct  5 01:56:46 2005
X+++ setup.py	Wed Oct  5 01:55:24 2005
X@@ -45,9 +45,9 @@
X   DEFINES = []
X 
X if sys.platform[:3] == "win":
X-  LIBS = ["SDL", "SDL_mixer" ]
X+  LIBS = ["SDL-1.1", "SDL_mixer" ]
X else:
X-  LIBS = ["SDL", "SDL_mixer" ]
X+  LIBS = ["SDL-1.1", "SDL_mixer" ]
X 
X SOYA_PYREX_SOURCES  = ["sdl_mixer.pyx"]
X SOYA_C_SOURCES      = ["sdl_mixer.c"]
END-of-py-sdl_mixer/files/patch-setup.py
echo x - py-sdl_mixer/files/patch-sdl_mixer.c
sed 's/^X//' >py-sdl_mixer/files/patch-sdl_mixer.c << 'END-of-py-sdl_mixer/files/patch-sdl_mixer.c'
X--- sdl_mixer.c.orig	Wed Oct  5 01:57:05 2005
X+++ sdl_mixer.c	Wed Oct  5 01:51:44 2005
X@@ -5,8 +5,8 @@
X #ifndef PY_LONG_LONG
X   #define PY_LONG_LONG LONG_LONG
X #endif
X-#include "SDL/SDL.h"
X-#include "SDL/SDL_mixer.h"
X+#include "SDL11/SDL.h"
X+#include "SDL11/SDL_mixer.h"
X 
X 
X typedef struct {PyObject **p; char *s;} __Pyx_InternTabEntry; /*proto*/
END-of-py-sdl_mixer/files/patch-sdl_mixer.c
exit
--- py24-sdl_mixer-0.0.3.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list