devel/sdl20: remove support for expired esound and bump PORTREVISION
Fix up USES=gl while here.
This commit is contained in:
parent
d0b78c5b6e
commit
d8f62a6a12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500610
1 changed files with 3 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
PORTNAME= sdl2
|
PORTNAME= sdl2
|
||||||
PORTVERSION= 2.0.9
|
PORTVERSION= 2.0.9
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= https://www.libsdl.org/release/
|
MASTER_SITES= https://www.libsdl.org/release/
|
||||||
DISTNAME= SDL2-${PORTVERSION}
|
DISTNAME= SDL2-${PORTVERSION}
|
||||||
|
@ -53,7 +53,7 @@ CONFIGURE_ARGS+= --disable-sse3
|
||||||
|
|
||||||
MAKE_ENV= V=1
|
MAKE_ENV= V=1
|
||||||
|
|
||||||
OPTIONS_DEFINE= ALSA ASM DLOPEN ESOUND HIDAPI JACK NAS OSS \
|
OPTIONS_DEFINE= ALSA ASM DLOPEN HIDAPI JACK NAS OSS \
|
||||||
PULSEAUDIO SAMPLERATE SNDIO PTHREADS \
|
PULSEAUDIO SAMPLERATE SNDIO PTHREADS \
|
||||||
SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \
|
SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \
|
||||||
SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \
|
SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \
|
||||||
|
@ -69,7 +69,6 @@ OPTIONS_DEFAULT= ASM DLOPEN OSS PTHREADS SDL_ATOMIC SDL_AUDIO \
|
||||||
|
|
||||||
ALSA_DESC= Audio output via the ALSA audio architecture
|
ALSA_DESC= Audio output via the ALSA audio architecture
|
||||||
DLOPEN_DESC= Use dlopen for loading 3rd party libraries
|
DLOPEN_DESC= Use dlopen for loading 3rd party libraries
|
||||||
ESOUND_DESC= Audio output via the EsounD sound server
|
|
||||||
HIDAPI_DESC= Use HIDAPI for low level joystick drivers
|
HIDAPI_DESC= Use HIDAPI for low level joystick drivers
|
||||||
JACK_DESC= Audio output via the JackD sound server
|
JACK_DESC= Audio output via the JackD sound server
|
||||||
NAS_DESC= Audio output via the Network Audio System
|
NAS_DESC= Audio output via the Network Audio System
|
||||||
|
@ -144,15 +143,7 @@ LIB_DEPENDS+= libjack.so:audio/jack
|
||||||
CONFIGURE_ARGS+= --disable-jack --disable-jack-shared
|
CONFIGURE_ARGS+= --disable-jack --disable-jack-shared
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MESOUND}
|
|
||||||
.if !${PORT_OPTIONS:MSDL_AUDIO}
|
|
||||||
IGNORE= option ESOUND requires SDL_AUDIO
|
|
||||||
.endif
|
|
||||||
CONFIGURE_ARGS+= --enable-esd --enable-esd-shared
|
|
||||||
USE_GNOME+= esound
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-esd --disable-esd-shared
|
CONFIGURE_ARGS+= --disable-esd --disable-esd-shared
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MNAS}
|
.if ${PORT_OPTIONS:MNAS}
|
||||||
.if !${PORT_OPTIONS:MSDL_AUDIO}
|
.if !${PORT_OPTIONS:MSDL_AUDIO}
|
||||||
|
@ -208,6 +199,7 @@ CONFIGURE_ARGS+= --disable-video-kmsdrm --disable-video-kmsdrm
|
||||||
IGNORE= option VIDEO_OPENGL requires SDL_VIDEO
|
IGNORE= option VIDEO_OPENGL requires SDL_VIDEO
|
||||||
.endif
|
.endif
|
||||||
CONFIGURE_ARGS+= --enable-video-opengl
|
CONFIGURE_ARGS+= --enable-video-opengl
|
||||||
|
USES+= gl
|
||||||
USE_GL+= gl
|
USE_GL+= gl
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-video-opengl
|
CONFIGURE_ARGS+= --disable-video-opengl
|
||||||
|
|
Loading…
Reference in a new issue