Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2012 15:00:47 GMT
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172324: [NEW PORT] devel/sdl20: development branch of SDL
Message-ID:  <201210041500.q94F0lQF021108@red.freebsd.org>
Resent-Message-ID: <201210041510.q94FABoh074933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172324
>Category:       ports
>Synopsis:       [NEW PORT] devel/sdl20: development branch of SDL
>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:   Thu Oct 04 15:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Nikolai Lifanov
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
FreeBSD lifanovbsd0 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This library is designed to make it easy to write games that run on UNIX,
Win32 and BeOS using the various native high-performance media interfaces,
(for video, audio, etc) and presenting a single source-code level API to
your application.  This is a fairly low level API, but using this, completely
portable applications can be written with a great deal of flexibility.

This is the development version of SDL. Development of 1.2 branch has ceased.

WWW: http://www.libsdl.org/

Generated using devel/sdl12 as a template manually. Does not replace or conflict with devel/sdl12. Tested manually.

>How-To-Repeat:
portlint -A
WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
WARN: Makefile: "PKGNAMESUFFIX" has to appear earlier.
0 fatal errors and 2 warnings found.


>Fix:


Patch attached with submission follows:

# 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:
#
#	sdl20
#	sdl20/Makefile
#	sdl20/distinfo
#	sdl20/pkg-descr
#	sdl20/pkg-message
#	sdl20/pkg-plist
#
echo c - sdl20
mkdir -p sdl20 > /dev/null 2>&1
echo x - sdl20/Makefile
sed 's/^X//' >sdl20/Makefile << 'd59fdaad022853c3d61de266da3caca1'
X# New ports collection makefile for:	SDL2
X# Date created:				3 October 2012
X# Whom:					Nikolai Lifanov <lifanov@mail.lifanov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sdl2
XPORTVERSION=	6522
XCATEGORIES=	devel
XMASTER_SITES=	http://www.libsdl.org/tmp/
XDISTNAME=	SDL-2.0.0-${PORTVERSION}
X
XMAINTAINER=	lifanov@mail.lifanov.com
XCOMMENT=	Cross-platform multimedia development API
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
X
XUSE_AUTOTOOLS=	libtool
XUSE_LDCONFIG=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XWANT_GNOME=	yes
XUSE_GNOME=	gnomehack pkgconfig
XUSE_ICONV=	yes
XCONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"	\
X		PTHREAD_LIBS="${PTHREAD_LIBS}"		\
X		ac_cv_header_libusbhid_h=no
X
XCFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X
XCONFIGURE_ARGS+=--disable-alsa --disable-alsatest
XCONFIGURE_ARGS+=--disable-video-directfb
X
XEXAMPLES=	test/*.c test/*.bmp test/*.dat test/*.xbm test/*.wav
XDOCS=		BUGS COPYING CREDITS README README-SDL.txt WhatsNew
X
XOPTIONS_DEFINE=		AALIB ARTS ESOUND GGI NAS OPENGL OSS PULSEAUDIO SVGALIB X11
XOPTIONS_DEFAULT=	AALIB OPENGL OSS X11
X
X.if exists(/usr/lib/libvgl.so)
XOPTIONS_DEFINE+=	VGL
XVGL_DESC=		Video Graphics Lib support
XOPTIONS_DEFAULT+=	VGL
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if ${PORT_OPTIONS:MX11}
XUSE_XORG=		x11 xrender xrandr xextproto
X.else
XPKGNAMESUFFIX=		-nox11
XCONFIGURE_ARGS+=	--disable-video-x11
X.endif
X
X.if ${PORT_OPTIONS:MAALIB}
XCONFIGURE_ARGS+=	--enable-video-aalib
XLIB_DEPENDS+=		aa:${PORTSDIR}/graphics/aalib
X.else
XCONFIGURE_ARGS+=	--disable-video-aalib
X.endif
X
X.if ${PORT_OPTIONS:MARTS}
XLIB_DEPENDS+=		artsc:${PORTSDIR}/audio/arts
XCONFIGURE_ARGS+=	--enable-arts
X.else
XCONFIGURE_ARGS+=	--disable-arts
X.endif
X
X.if ${PORT_OPTIONS:MESOUND}
XUSE_GNOME+=		esound
XCONFIGURE_ARGS+=	--enable-esd
X.else
XCONFIGURE_ARGS+=	--disable-esd --disable-esdtest
X.endif
X
X.if ${PORT_OPTIONS:MGGI}
XLIB_DEPENDS+=		ggi:${PORTSDIR}/graphics/libggi
XCONFIGURE_ARGS+=	--enable-video-ggi
X.else
XCONFIGURE_ARGS+=	--disable-video-ggi
X.endif
X
X.if ${PORT_OPTIONS:MNAS}
XLIB_DEPENDS+=		audio:${PORTSDIR}/audio/nas
X.else
XCONFIGURE_ARGS+=	--disable-nas
X.endif
X
X.if ${PORT_OPTIONS:MOPENGL}
XCONFIGURE_ARGS+=	--enable-video-opengl
XUSE_GL=			yes
X.else
XCONFIGURE_ARGS+=	--disable-video-opengl
X.endif
X
X.if ${PORT_OPTIONS:MOSS}
XCONFIGURE_ARGS+=	--enable-oss
X.else
XCONFIGURE_ARGS+=	--disable-oss
X.endif
X
X.if ${PORT_OPTIONS:MPULSEAUDIO}
XLIB_DEPENDS+=		pulse-simple:${PORTSDIR}/audio/pulseaudio
X.else
XCONFIGURE_ARGS+=	--disable-pulseaudio
X.endif
X
X.if ${PORT_OPTIONS:MSVGALIB}
XLIB_DEPENDS+=		vga:${PORTSDIR}/graphics/svgalib
XCONFIGURE_ARGS+=	--enable-video-svga
X.else
XCONFIGURE_ARGS+=	--disable-video-svga
X.endif
X
X.if ${PORT_OPTIONS:MVGL}
XCONFIGURE_ARGS+=	--enable-video-vgl
XDISPLAY_MSG=		${CAT} ${PKGMESSAGE}
X.else
XCONFIGURE_ARGS+=	--disable-video-vgl
XPKGMESSAGE=		none
XDISPLAY_MSG=		${DO_NADA}
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR} &&\
X		${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X.endif
X.if !defined(NOPORTEXAMPLES)
X	${MKDIR} ${EXAMPLESDIR} &&\
X		${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/
X.endif
X	@${DISPLAY_MSG}
X
X.include <bsd.port.post.mk>
d59fdaad022853c3d61de266da3caca1
echo x - sdl20/distinfo
sed 's/^X//' >sdl20/distinfo << '486705d374e3ff88d9a9d14b6d244291'
XSHA256 (SDL-2.0.0-6522.tar.gz) = 724350dc6b5aaf69f0b85cf0be3644fe88c8b2c836e4e4545d0cbb733800c563
XSIZE (SDL-2.0.0-6522.tar.gz) = 4612933
486705d374e3ff88d9a9d14b6d244291
echo x - sdl20/pkg-descr
sed 's/^X//' >sdl20/pkg-descr << 'e54a300f517d91aee3374af68873618b'
XThis library is designed to make it easy to write games that run on UNIX,
XWin32 and BeOS using the various native high-performance media interfaces,
X(for video, audio, etc) and presenting a single source-code level API to
Xyour application.  This is a fairly low level API, but using this, completely
Xportable applications can be written with a great deal of flexibility.
X
XThis is the development version of SDL. Development of 1.2 branch has ceased.
X
XWWW: http://www.libsdl.org/
e54a300f517d91aee3374af68873618b
echo x - sdl20/pkg-message
sed 's/^X//' >sdl20/pkg-message << '3d9889ea1d9873c80dd33c0245603ea4'
X------------------------------------------------------------------------------
X Your SDL library has been built with libvgl support, which means that you
X can run almost any SDL application straight on your console (VESA 2.0
X compatible videocard is required).
X
X To do this you have to load the vesa kernel module or enable it in your
X kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
X------------------------------------------------------------------------------
3d9889ea1d9873c80dd33c0245603ea4
echo x - sdl20/pkg-plist
sed 's/^X//' >sdl20/pkg-plist << '5a530d258f5c6fd586217fe9e2881744'
Xbin/sdl2-config
Xinclude/SDL2/SDL.h
Xinclude/SDL2/SDL_assert.h
Xinclude/SDL2/SDL_atomic.h
Xinclude/SDL2/SDL_audio.h
Xinclude/SDL2/SDL_blendmode.h
Xinclude/SDL2/SDL_clipboard.h
Xinclude/SDL2/SDL_config.h
Xinclude/SDL2/SDL_cpuinfo.h
Xinclude/SDL2/SDL_endian.h
Xinclude/SDL2/SDL_error.h
Xinclude/SDL2/SDL_events.h
Xinclude/SDL2/SDL_gesture.h
Xinclude/SDL2/SDL_haptic.h
Xinclude/SDL2/SDL_hints.h
Xinclude/SDL2/SDL_input.h
Xinclude/SDL2/SDL_joystick.h
Xinclude/SDL2/SDL_keyboard.h
Xinclude/SDL2/SDL_keycode.h
Xinclude/SDL2/SDL_loadso.h
Xinclude/SDL2/SDL_log.h
Xinclude/SDL2/SDL_main.h
Xinclude/SDL2/SDL_mouse.h
Xinclude/SDL2/SDL_mutex.h
Xinclude/SDL2/SDL_name.h
Xinclude/SDL2/SDL_opengl.h
Xinclude/SDL2/SDL_opengles.h
Xinclude/SDL2/SDL_opengles2.h
Xinclude/SDL2/SDL_pixels.h
Xinclude/SDL2/SDL_platform.h
Xinclude/SDL2/SDL_power.h
Xinclude/SDL2/SDL_quit.h
Xinclude/SDL2/SDL_rect.h
Xinclude/SDL2/SDL_render.h
Xinclude/SDL2/SDL_revision.h
Xinclude/SDL2/SDL_rwops.h
Xinclude/SDL2/SDL_scancode.h
Xinclude/SDL2/SDL_shape.h
Xinclude/SDL2/SDL_stdinc.h
Xinclude/SDL2/SDL_surface.h
Xinclude/SDL2/SDL_system.h
Xinclude/SDL2/SDL_syswm.h
Xinclude/SDL2/SDL_thread.h
Xinclude/SDL2/SDL_timer.h
Xinclude/SDL2/SDL_touch.h
Xinclude/SDL2/SDL_types.h
Xinclude/SDL2/SDL_version.h
Xinclude/SDL2/SDL_video.h
Xinclude/SDL2/begin_code.h
Xinclude/SDL2/close_code.h
Xlib/libSDL2-2.0.so
Xlib/libSDL2-2.0.so.0
Xlib/libSDL2.a
Xlib/libSDL2.la
Xlib/libSDL2.so
Xlib/libSDL2main.a
Xlibdata/pkgconfig/sdl2.pc
Xshare/aclocal/sdl2.m4
X%%PORTDOCS%%%%DOCSDIR%%/BUGS
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README-SDL.txt
X%%PORTDOCS%%%%DOCSDIR%%/WhatsNew
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/checkkeys.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/common.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icon.bmp
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loopwave.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/moose.dat
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/picture.xbm
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.bmp
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.wav
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testatomic.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testaudioinfo.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testdraw2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testerror.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testfile.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgesture.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgl2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgles.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testhaptic.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testiconv.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testime.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testintersections.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testjoystick.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testkeys.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testloadso.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testlock.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testmultiaudio.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testnative.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testnativew32.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testnativex11.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testoverlay2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testplatform.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testpower.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testrelative.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testrendercopyex.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testrendertarget.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testresample.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testrumble.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testscale.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsem.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testshader.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testshape.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsprite2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testspriteminimal.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/teststreaming.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testthread.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testtimer.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testver.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testwm2.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/torturethread.c
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
X@dirrm include/SDL2
5a530d258f5c6fd586217fe9e2881744
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210041500.q94F0lQF021108>