1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Convert the tree to USES=openal

Approved by:	portmgr (bapt)
This commit is contained in:
Antoine Brodin 2013-12-25 23:29:34 +00:00
parent 6bf16e7311
commit 1df9d247be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337464
78 changed files with 90 additions and 137 deletions

View File

@ -14,8 +14,7 @@ LICENSE= MIT
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
USES= cmake pkgconfig
USE_OPENAL= soft
USES= cmake openal:soft pkgconfig
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib

View File

@ -19,4 +19,6 @@ OPTIONS_DEFINE= OPENAL
OPENAL_DESC= Install openal library
OPTIONS_DEFAULT= OPENAL
OPENAL_USES= openal:soft
.include "${MASTERDIR}/Makefile"

View File

@ -15,8 +15,7 @@ NO_STAGE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake pathfix pkgconfig
USE_OPENAL= al
USES= gmake openal:al pathfix pkgconfig
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>

View File

@ -13,7 +13,7 @@ LICENSE= BSD
USE_CABAL= OpenAL StateVar
NO_STAGE= yes
USE_OPENAL= al alut
USES= openal:al,alut
INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})

View File

@ -13,7 +13,7 @@ LICENSE= BSD
USE_CABAL= ObjectName StateVar Tensor
NO_STAGE= yes
USE_OPENAL= al
USES= openal:al
INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})

View File

@ -10,7 +10,7 @@ DISTNAME= PyAL-${PORTVERSION}
MAINTAINER= mva@FreeBSD.org
COMMENT= PyAL is a binding of OpenAL for Python
USE_OPENAL= al
USES= openal:al
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes

View File

@ -13,7 +13,7 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= PyOpenAL is a binding of OpenAL for Python
DIST_SUBDIR= python
USE_OPENAL= al alut
USES= openal:al,alut
NO_STAGE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes

View File

@ -57,7 +57,7 @@ CONFIGURE_ARGS+= --without-x
USE_GSTREAMER= yes
CONFIGURE_ARGS+= --with-sound=gstreamer
.elif ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al alut
USES+= openal:al,alut
CONFIGURE_ARGS+= --with-sound=openal
.else
CONFIGURE_ARGS+= --with-sound=no

View File

@ -23,9 +23,8 @@ LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack \
libFLAC.so:${PORTSDIR}/audio/flac \
libphysfs.so:${PORTSDIR}/devel/physfs
USES= gmake cmake pkgconfig
USES= gmake cmake openal:soft pkgconfig
USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga
USE_OPENAL= soft
USE_GL= gl glu
USE_FREETYPE= yes
USE_LDCONFIG= yes

View File

@ -20,8 +20,7 @@ LIB_DEPENDS= libIL.so:${PORTSDIR}/graphics/devil \
libfreetype.so:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
USES= gmake
USE_OPENAL= yes
USES= gmake openal
USE_SDL= sdl mixer
USE_GL= gl glu
USE_LUA= 5.1+

View File

@ -23,8 +23,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
PORTSCOUT= limit:^0\.7\.
USES= gmake
USE_OPENAL= yes
USES= gmake openal
USE_SDL= sdl mixer
USE_GL= gl glu
USE_LUA= 5.1+

View File

@ -16,8 +16,7 @@ LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \
libpng.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2
USES= gmake pkgconfig
USE_OPENAL= al
USES= gmake openal:al pkgconfig
USE_XORG= x11 xrandr
USE_GL= gl glu
USE_LDCONFIG= yes

View File

@ -21,9 +21,8 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
USE_BZIP2= yes
USE_XORG= ice sm x11 xext xi xt xmu
USE_OPENAL= al alut
USE_GL= gl glu glut
USES= cmake
USES= cmake openal:al,alut
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON
.include <bsd.port.mk>

View File

@ -22,7 +22,6 @@ LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
libpolarssl.so:${PORTSDIR}/security/polarssl
USE_SDL= sdl
USE_OPENAL= yes
USE_XORG= ice xext x11 xrandr xi
USE_WX= 2.9+
WX_UNICODE= yes
@ -30,7 +29,7 @@ USE_GL= gl glew glu
USE_GCC= yes
USES= dos2unix cmake pkgconfig iconv
USES= dos2unix cmake iconv openal pkgconfig
DOS2UNIX_REGEX= .*\.(h|c|cpp)
# Disable ALSA (emulated) and ao (buggy)

View File

@ -84,7 +84,7 @@ VIDEO_DRIVER+= video.sdl
.endif
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL+= al
USES+= openal:al
AUDIO_DRIVER+= audio.openal
.endif

View File

@ -53,6 +53,9 @@ WINEMAKER_DESC= Fully support winemaker (requires Perl)
GECKO_DESC= Bundle Gecko MSI package for Wine
MONO_DESC= Bundle Mono MSI package for Wine
# USES needs to be before bsd.port.pre.mk
OPENAL_USES= openal
PORTDATA= l_intl.nls wine.inf
.include <bsd.port.pre.mk>
@ -98,7 +101,6 @@ CONFIGURE_ARGS+= --without-xslt
.if ${PORT_OPTIONS:MOPENAL}
CONFIGURE_ARGS+= --with-openal
USE_OPENAL= yes
.else
CONFIGURE_ARGS+= --without-openal
.endif

View File

@ -58,6 +58,9 @@ WINEMAKER_DESC= Fully support winemaker (requires Perl)
GECKO_DESC= Bundle Gecko MSI package for Wine
MONO_DESC= Bundle Mono MSI package for Wine
# USES needs to be before bsd.port.pre.mk
OPENAL_USES= openal
PORTDATA= fonts/ generic.ppd l_intl.nls wine.inf
PORTSCOUT= limitw:1,even
@ -105,7 +108,6 @@ CONFIGURE_ARGS+= --without-xslt
.if ${PORT_OPTIONS:MOPENAL}
CONFIGURE_ARGS+= --with-openal
USE_OPENAL= yes
PLIST_SUB+= OPENAL=""
.else
CONFIGURE_ARGS+= --without-openal

View File

@ -14,10 +14,9 @@ LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_AUTOTOOLS= automake:env autoconf:env aclocal:env
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= gmake openal:soft
USE_GL= gl glu glut
USE_GNOME= #
USE_OPENAL= soft
USE_SDL= yes
SUB_FILES= pkg-message

View File

@ -24,13 +24,11 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc
MAKE_ARGS= config=release
USES= compiler:c++11-lang gmake pkgconfig
USES= compiler:c++11-lang dos2unix gmake openal:al pkgconfig
USE_XZ= yes
USE_SDL= sdl
USE_GNOME= libxml2 gtk20
USE_GL= gl
USE_OPENAL= al
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.([ch]p{0,2}|make)
USE_WX= 2.8

View File

@ -20,8 +20,7 @@ COMMENT= Alien Arena (native version)
RUN_DEPENDS= ${DATADIR}/data1/default.cfg:${PORTSDIR}/games/alienarena-data
USE_DOS2UNIX= yes
USE_GMAKE= yes
USES= dos2unix gmake
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC=${WRKDIR}/${PORTNAME}-7.66/
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@ -52,14 +51,13 @@ NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
USES+= pkgconfig
USES+= openal:soft,alut pkgconfig
LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl \
freetype.9:${PORTSDIR}/print/freetype2 \
jpeg.11:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis
USE_GL= yes
USE_OPENAL= soft alut
USE_XORG= xxf86dga xxf86vm
.endif

View File

@ -20,8 +20,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= gmake gettext
USE_OPENAL= al
USES= gettext gmake openal:al
USE_LUA= 5.1
USE_SDL= sdl ttf net
USE_GL= yes

View File

@ -33,7 +33,7 @@ OPTIONS_DEFAULT=OPENAL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al alut
USES+= openal:al,alut
CPPFLAGS+= -DAP_AUDIO_OPENAL
LDFLAGS+= -L${LOCALBASE}/lib -lopenal -lalut
.endif

View File

@ -19,10 +19,9 @@ LIB_DEPENDS= libIL.so:${PORTSDIR}/graphics/devil \
libboost_program_options.so:${PORTSDIR}/devel/boost-libs
USE_XZ= yes
USE_OPENAL= yes
USE_SDL= sdl
USE_GL= gl glu
USES= cmake
USES= cmake openal
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR="man" -DDATA_DIR=arx
SUB_FILES= pkg-message

View File

@ -23,8 +23,7 @@ LICENSE_FILE_OTHER= ${WRKSRC}/docs/package_copyrights.txt
LICENSE_PERMS_OTHER= dist-mirror pkg-mirror auto-accept
USE_BZIP2= yes
USE_OPENAL= al
USES= gmake
USES= gmake openal:al
GNU_CONFIGURE= yes
ALL_TARGET= libenet
WRKSRC= ${WRKDIR}/AssaultCube_v${PORTVERSION}

View File

@ -34,7 +34,7 @@ NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= alut
USES+= openal:alut
CONFIGURE_ARGS+= --enable-sound
.else
CONFIGURE_ARGS+= --disable-sound

View File

@ -12,12 +12,11 @@ MAINTAINER= devel@stasyan.com
COMMENT= Aliens versus predator unofficial port from icculus.org
USE_SDL= mixer sdl
USE_GMAKE= yes
USES= gmake openal
USE_GL= gl
WRKSRC= ${WRKDIR}
BUILD_WRKSRC= ${WRKDIR}/avp_git
USE_OPENAL= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>

View File

@ -16,12 +16,11 @@ LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
libsmpeg.so:${PORTSDIR}/multimedia/smpeg
USES= pkgconfig
USES= openal:al pkgconfig
USE_BZIP2= yes
USE_GCC= yes
USE_LDCONFIG= yes
USE_LUA= 5.0+
USE_OPENAL= al
USE_SDL= image sdl
USE_SCONS= yes
USE_PYTHON= yes

View File

@ -13,11 +13,10 @@ COMMENT= Psychic Bodyguard FPS - protect the VIP
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
USES= gmake
USES= gmake openal:al,alut
USE_BZIP2= yes
USE_SDL= sdl
USE_GL= yes
USE_OPENAL= al alut
MAKE_ARGS= CC=${CC} CXX=${CXX}

View File

@ -44,7 +44,7 @@ CONFIGURE_ARGS+=--disable-glut
USE_SDL+= mixer
CONFIGURE_ARGS+=--disable-openal
.else
USE_OPENAL= al alut
USES+= openal:al,alut
CONFIGURE_ARGS+=--disable-sdlmixer
.endif

View File

@ -34,7 +34,7 @@ OPENAL_DESC= Build OpenAL sound plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
USES+= openal:al
CMAKE_ARGS+= -DBUILDOPENAL:BOOL=ON
PLIST_SUB= OPENAL=""
.else

View File

@ -19,8 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:${PORTSDIR}/games/el-data
PROJECTHOST= bsdistfiles
USE_BZIP2= yes
USE_GMAKE= yes
USE_OPENAL= al alut
USES= gmake openal:al,alut
USE_GNOME= libxml2
USE_SDL= sdl net image
USE_GL= yes

View File

@ -35,8 +35,7 @@ GNU_CONFIGURE= YES
USE_LDCONFIG= YES
USE_LUA= 5.1
LUA_COMPS= toluaxx
USE_OPENAL= al alut
USES= pathfix pkgconfig
USES= openal:al,alut pathfix pkgconfig
USE_BZIP2= YES
CPPFLAGS+= -DBR_NO_MACROS
USE_GCC= 4.7+

View File

@ -35,6 +35,9 @@ OPENAL_DLOPEN_DESC= Enable dynamic loading of OpenAL
SMP_DESC= Build SMP (threaded) client
VOIP_DESC= Enable Voice Over IP
# USES must be before bsd.port.pre.mk
OPENAL_USES= openal:al
MAKE_ENV= DEFAULT_BASEDIR="${Q3DIR}" LIBDIR="${LIBDIR}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}"
@ -67,7 +70,6 @@ MAKE_ENV+= USE_CURL_DLOPEN=1
. endif
# OpenAL
. if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
MAKE_ENV+= USE_OPENAL=1
. if ${PORT_OPTIONS:MOPENAL_DLOPEN}
MAKE_ENV+= USE_OPENAL_DLOPEN=1

View File

@ -22,8 +22,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_GL= yes
USE_SDL= image sdl ttf
USE_OPENAL= al alut
USES= gmake
USES= gmake openal:al,alut
OPTIONS_DEFINE= DOCS

View File

@ -30,8 +30,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
USE_BZIP2= yes
USE_XORG= ice sm x11 xext xft xi xinerama xt xmu
USE_GL= gl glu glut
USE_OPENAL= al alut
USES= cmake
USES= cmake openal:al,alut
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \
-DENABLE_JS_SERVER:BOOL=ON \
-DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \

View File

@ -63,7 +63,7 @@ LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
USE_OPENAL+= yes
USES+= openal
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
.endif

View File

@ -15,9 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libvorbis.so:${PORTSDIR}/audio/libvorbis
USES= cmake
USES= cmake openal:al,alut
USE_SDL= sdl mixer ttf
USE_OPENAL= al alut
USE_LDCONFIG= yes
USE_PYTHON= 2.6+
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include

View File

@ -17,11 +17,9 @@ LIB_DEPENDS= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
RUN_DEPENDS= ${DATADIR}/servers.ini:${PORTSDIR}/games/glest-data
USES= pkgconfig
USES= dos2unix openal:al,alut pkgconfig
USE_AUTOTOOLS= automake:env autoconf:env
USE_ZIP= yes
USE_OPENAL= al alut
USE_DOS2UNIX= yes
USE_LUA= 5.1
USE_SDL= yes
USE_GL= yes

View File

@ -138,7 +138,7 @@ MAKE_ARGS+= USE_CURL=0
.endif
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
USES+= openal:al
MAKE_ARGS+= USE_OPENAL=1 USE_OPENAL_DLOPEN=0
.else
MAKE_ARGS+= USE_OPENAL=0

View File

@ -12,8 +12,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Navigate a mech through a 3D world and fire at enemies
USES= gmake
USE_OPENAL= al alut
USES= gmake openal:al,alut
USE_GL= gl glu
USE_SDL= sdl

View File

@ -19,9 +19,8 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libogg.so:${PORTSDIR}/audio/libogg
USE_BZIP2= yes
USES= cmake pkgconfig
USES= cmake openal:soft pkgconfig
USE_GL= glu
USE_OPENAL= soft
USE_SDL= sdl
USE_XORG= sm
USE_GCC= yes

View File

@ -23,11 +23,9 @@ RUN_DEPENDS= ${DATADIR}/tutorials/2_basic_tutorial/2_basic_tutorial.xml:${PORTSD
SUB_FILES= pkg-message
USE_XZ= yes
USES= cmake pkgconfig
USE_DOS2UNIX= yes
USES= cmake dos2unix openal:al,alut pkgconfig
USE_GL= glew gl glu
USE_LUA= 5.1
USE_OPENAL= al alut
USE_SDL= yes
USE_WX= 2.8+

View File

@ -35,7 +35,7 @@ NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNATIVE_LIBS}
USE_OPENAL= soft
USES+= openal:soft
RUN_DEPENDS+= ${JAVALIBDIR}/lwjgl/lwjgl_util.jar:${PORTSDIR}/games/lwjgl
JAVA_OS= native
JAVA_VENDOR= openjdk

View File

@ -63,7 +63,7 @@ LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
USE_OPENAL+= yes
USES+= openal
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
.endif

View File

@ -41,7 +41,7 @@ NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= yes
USES+= openal
CONFIGURE_ARGS+= --with-openal=yes
.else
CONFIGURE_ARGS+= --with-openal=no

View File

@ -20,12 +20,10 @@ LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis \
USE_BZIP2= yes
USE_GL= gl glu
USE_OPENAL= al alut
WANT_SDL= yes
USE_SDL= sdl
USES= cmake
USES= cmake dos2unix openal:al,alut
WRKSRC= ${WRKDIR}/OpenAstroMenaceSVN
USE_DOS2UNIX= yes
OPTIONS_SINGLE= LANG
OPTIONS_SINGLE_LANG= EN DE RU

View File

@ -19,14 +19,13 @@ LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
USE_BZIP2= yes
USE_SDL= sdl image
USE_GNOME= libxml2
USE_OPENAL= yes
USE_GCC= yes
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= cmake pkgconfig
USES= cmake openal pkgconfig
CMAKE_ARGS= -DHAWKNL_BUILTIN=YES \
-DLIBZIP_BUILTIN=YES \
-DBREAKPAD=NO \

View File

@ -25,7 +25,6 @@ LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
FETCH_ARGS= -Fpr
USE_SDL= sdl ttf image
USE_OPENAL= al
USE_SCONS= yes
SCONS_ARGS= --prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR}
@ -39,7 +38,7 @@ USE_PYTHON= 2.7
USE_XORG= xcursor
USE_GL= gl
USES= pkgconfig
USES= openal:al pkgconfig
NO_STAGE= yes
post-patch:

View File

@ -26,11 +26,10 @@ OPTIONS_DEFINE= MYSQL
WRKSRC= ${WRKDIR}/scorched
USE_GL= glu
USE_OPENAL= al alut
USE_SDL= mixer net sdl
USE_WX= 2.4+
WX_CONF_ARGS= absolute
USES= dos2unix iconv perl5 gmake pkgconfig
USES= dos2unix gmake iconv openal:al,alut perl5 pkgconfig
USE_AUTOTOOLS= aclocal automake autoconf
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing --copy --force --foreign

View File

@ -16,11 +16,10 @@ LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs \
libogg.so:${PORTSDIR}/audio/libogg
USE_SDL= sdl ttf image
USE_OPENAL= yes
PLIST_FILES= bin/solarus
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= cmake
USES= cmake openal
.include <bsd.port.mk>

View File

@ -27,13 +27,12 @@ ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math and amd64 atomic ops
USE_SDL= sdl
USE_OPENAL= al
USE_GL= gl glu glew
USE_XORG= x11 xcursor
USE_LDCONFIG= yes
USE_DOS2UNIX= *.h *.hpp *.cpp
DOS2UNIX_GLOB= *.h *.hpp *.cpp
USES= cmake compiler:c++11-lib
USES= cmake compiler:c++11-lib dos2unix openal:al
CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \
-DAI_TYPES:STRING="NATIVE" \
-DDOCDIR:STRING="share/doc/${PORTNAME}" \

View File

@ -39,7 +39,7 @@ NLS_USES= gettext
SOUND_CMAKE_ON= -DOPTION_SOUND:BOOL=ON
SOUND_CMAKE_OFF= -DOPTION_SOUND:BOOL=OFF
SOUND_LIB_DEPENDS= libalure.so:${PORTSDIR}/audio/alure
SOUND_USE= OPENAL=al
SOUND_USES= openal:al
NOTIFY_CMAKE_ON= -DOPTION_NOTIFY=ON
NOTIFY_CMAKE_OFF= -DOPTION_NOTIFY=OFF

View File

@ -24,12 +24,11 @@ LIB_DEPENDS= CEGUIBase-0.7.9.0:${PORTSDIR}/graphics/cegui \
PocoNet.12:${PORTSDIR}/devel/poco \
physfs.1:${PORTSDIR}/devel/physfs
USES= cmake gettext gmake pkgconfig
USES= cmake gettext gmake openal:al,alut pkgconfig
USE_GL= gl glu
USE_BZIP2= yes
INSTALLS_ICONS= yes
USE_LUA= 5.1
USE_OPENAL= al alut
FETCH_ARGS?= -pRr

View File

@ -16,9 +16,8 @@ LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs \
USE_BZIP2= yes
USE_SDL= image
USE_OPENAL= al
USE_GL= glew
USES= cmake:outsource iconv
USES= cmake:outsource iconv openal:al
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
post-patch:

View File

@ -18,10 +18,9 @@ LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
USE_BZIP2= yes
USE_GL= gl glu glut
USE_OPENAL= al alut
USES= cmake gettext gmake pkgconfig
USES= cmake dos2unix gettext gmake openal:al,alut pkgconfig
USE_SDL= sdl
USE_DOS2UNIX= lib/irrlicht/source/Irrlicht/Makefile
DOS2UNIX_FILES= lib/irrlicht/source/Irrlicht/Makefile
CMAKE_ARGS= -DUSE_WIIUSE=NO
WRKSRC= ${WRKDIR}/SuperTuxKart-${PORTVERSION}

View File

@ -18,14 +18,13 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libvorbis.so:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USES= gmake shebangfix
USES= gmake openal:al,alut shebangfix
SHEBANG_FILES= src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \
src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \
src/tools/trackgen/trackgen.in \
src/modules/telemetry/telemetry.sh robotgen
USE_XORG= xrender xmu ice xext x11 xxf86vm xrandr
USE_GL= glut
USE_OPENAL= al alut
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View File

@ -52,7 +52,7 @@ MAKE_ENV+= HAVE_VM_COMPILED=true
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT}
# OpenAL
. if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
USES+= openal:al
MAKE_ENV+= USE_OPENAL=1
. if ${PORT_OPTIONS:MOPENAL_DLOPEN}
MAKE_ENV+= USE_OPENAL_DLOPEN=1

View File

@ -15,7 +15,7 @@ COMMENT= Rally car racing game
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs
USE_OPENAL= al alut
USES= openal:al,alut
USE_SDL= sdl image
USE_GL= glu
USE_BZIP2= yes

View File

@ -26,8 +26,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/base/default.cfg:${PORTSDIR}/games/u
USE_BZIP2= yes
USE_GL= yes
USE_SDL= sdl image mixer ttf
USES= gettext gmake pkgconfig
USE_OPENAL= soft
USES= gettext gmake openal:soft pkgconfig
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-release
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}

View File

@ -17,8 +17,7 @@ LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis
OPTIONS_DEFINE= DOCS
USES= pkgconfig gettext
USE_OPENAL= al alut
USES= gettext openal:al,alut pkgconfig
USE_GL= gl glu
USE_SDL= sdl image
GNU_CONFIGURE= yes

View File

@ -37,7 +37,7 @@ OPTIONS_SUB= yes
VOICE_DISTFILES= ${PORTNAME}-${DATAVERSION}-voice.uqm
MUSIC_DISTFILES= ${PORTNAME}-${DATAVERSION}-3domusic.uqm
OPENAL_USE= OPENAL=al
OPENAL_USES= openal:al
.include <bsd.port.options.mk>

View File

@ -22,11 +22,10 @@ GH_ACCOUNT= Bertram25
GH_PROJECT= ValyriaTear
GH_COMMIT= a324297
USES= cmake iconv
USES= cmake iconv openal
CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF
USE_SDL= sdl image ttf
USE_GL= gl
USE_OPENAL= yes
USE_LUA= 5.1
INSTALLS_ICONS= yes
LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB} -lintl

View File

@ -17,8 +17,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
libpng15.so:${PORTSDIR}/graphics/png
USES= pkgconfig
USE_OPENAL= al alut
USES= openal:al,alut pkgconfig
USE_XORG= sm ice x11 xi xext xmu
USE_GL= glut
USE_SDL= sdl

View File

@ -75,7 +75,7 @@ CMAKE_ARGS+= -DWITH_MIKMOD=N
.endif
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
USES+= openal:al
CMAKE_ARGS+= -DWITH_OPENAL=Y
.else
CMAKE_ARGS+= -DWITH_OPENAL=N

View File

@ -15,10 +15,9 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg:${PORTSDIR}/audio/libogg
USE_OPENAL= al
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= gmake openal:al
USE_PYTHON= yes
USE_SDL= sdl
USE_XORG= sm ice xi x11 xext xrender xinerama xi xrandr xcursor \

View File

@ -40,6 +40,9 @@ OPENAL_DESC= Build OpenAL sound module
IRC_DESC= Build IRC client module
TV_SRV_DESC= Build Warsow TV server
# USES needs to be before bsd.port.pre.mk
OPENAL_USES= openal:al
NO_STAGE= yes
.include <bsd.port.pre.mk>
@ -63,7 +66,6 @@ PLIST_FILES+= %%DATADIR%%/libs/snd_qf_${ARCH}.so
. endif
. if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
ALL_TARGET+= openal
PLIST_FILES+= %%DATADIR%%/libs/snd_openal_${ARCH}.so
. endif

View File

@ -25,9 +25,8 @@ LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs \
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu
USE_XZ= yes
USES= bison gmake pkgconfig compiler:c++11-lang # actually, old gcc fails on unknown -W flag
USES= bison gmake openal:al pkgconfig compiler:c++11-lang # actually, old gcc fails on unknown -W flag
GNU_CONFIGURE= yes
USE_OPENAL= al
USE_GL= yes
USE_SDL= sdl
USE_QT4= corelib network script gui moc_build

View File

@ -65,7 +65,7 @@ MAKE_ENV+= USE_CURL_DLOPEN=1
. endif
# OpenAL
. if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= al
USES+= openal:al
MAKE_ENV+= USE_OPENAL=1
. if ${PORT_OPTIONS:MOPENAL_DLOPEN}
MAKE_ENV+= USE_OPENAL_DLOPEN=1

View File

@ -80,7 +80,7 @@ PLIST_SUB+= SDL="@comment "
.endif
.if ${PORT_OPTIONS:MSOUND}
USE_OPENAL= al alut
USES+= openal:al,alut
CONFIGURE_ARGS+=--enable-sound
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}

View File

@ -16,7 +16,7 @@ LICENSE= BSD
LIB_DEPENDS= libsimage.so:${PORTSDIR}/graphics/simage
USE_GCC= any
USE_OPENAL= al
USES= openal:al
USE_GL= yes
USE_XORG= xt x11
GNU_CONFIGURE= yes

View File

@ -172,7 +172,7 @@ CMAKE_ARGS+= -DWITH_HEADLESS:BOOL=OFF
.if ${PORT_OPTIONS:MOPENAL}
.if ${PORT_OPTIONS:MSAMPLERATE}
USE_OPENAL= al alut
USES+= openal:al,alut
CMAKE_ARGS+= -DWITH_OPENAL:BOOL=ON
.else
BROKEN= OPENAL requires SAMPLERATE

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GL= gl glu
USE_OPENAL= al
USES= openal:al
PORTDOCS= *
PORTEXAMPLES= *

View File

@ -25,9 +25,8 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/editobj/editor.py:${PORTSDIR}/graphics/py-edit
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_OPENAL= al alut
USES= gmake openal:al,alut
USE_GL= glew glu
USE_GMAKE= yes
USE_SDL= sdl
PYDISTUTILS_PKGNAME= Soya

View File

@ -36,7 +36,7 @@ NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREEALUT}
USE_OPENAL= alut
USES+= openal:alut
.else
CONFIGURE_ARGS+= --disable-sound
.endif

View File

@ -241,12 +241,6 @@ LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
. endif
.endif
.if ${PKGNAMESUFFIX} == "-openal"
. if defined(WITH_OPENAL)
USE_OPENAL= soft
. endif
.endif
.if ${PKGNAMESUFFIX} == "-opengl"
. if defined(WITH_OPENGL)
USE_GL= glut

View File

@ -91,7 +91,7 @@ CONFIGURE_ARGS+= --without-alsa
.endif
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= yes
USES+= openal
.else
CONFIGURE_ARGS+= --without-openal
.endif

View File

@ -69,12 +69,6 @@ CATEGORIES+= ipv6
CONFIGURE_ARGS+= --disable-inet6
.endif
.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= soft
.else
CONFIGURE_ARGS+= --disable-openal
.endif
.if ${PORT_OPTIONS:MRTMP}
LIB_DEPENDS+= librtmp.so:${PORTSDIR}/multimedia/librtmp
CONFIGURE_ARGS+= --enable-librtmp

View File

@ -65,6 +65,9 @@ LZO_CONFIGURE_OFF= --disable-liblzo
NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas
NAS_CONFIGURE_OFF= --disable-nas
OPENAL_USES= openal:soft
OPENAL_CONFIGURE_OFF= --disable-openal
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
OPENJPEG_CONFIGURE_OFF= --disable-libopenjpeg