diff --git a/editors/codelite/Makefile b/editors/codelite/Makefile index 1d941fb4367e..4be7dae26ba8 100644 --- a/editors/codelite/Makefile +++ b/editors/codelite/Makefile @@ -19,8 +19,8 @@ BROKEN_armv6= fails to configure: has leading or trailing whitespace. This is USE_GITHUB= yes GH_ACCOUNT= eranif -USES= cmake:noninja compiler:c++11-lib dos2unix gettext \ - pathfix pkgconfig shebangfix sqlite +USES= cmake:noninja compiler:c++11-lib dos2unix gettext gnome pathfix \ + pkgconfig shebangfix sqlite USE_GNOME+= cairo gtk20 DOS2UNIX_GLOB= *.cpp *.txt SHEBANG_FILES= Runtime/codelite_xterm diff --git a/editors/cudatext/Makefile b/editors/cudatext/Makefile index 0a7ddfa870f4..7c1647caea60 100644 --- a/editors/cudatext/Makefile +++ b/editors/cudatext/Makefile @@ -13,7 +13,7 @@ BROKEN= unfetchable LICENSE= MPL20 -USES= desktop-file-utils dos2unix fpc lazarus:flavors xorg +USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors xorg USE_FPC= chm fcl-base fcl-image fcl-json fcl-stl fcl-xml pasjpeg rtl-objpas x11 USE_XORG= x11 USE_GITHUB= yes diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile index 65d8814c5ff4..6443479d0d0e 100644 --- a/editors/gmanedit/Makefile +++ b/editors/gmanedit/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}2/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GNOME manpages editor -USES= pathfix gettext gmake pkgconfig +USES= gettext gmake gnome pathfix pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile index 7e76ee5c1972..868ba4289eaf 100644 --- a/editors/gobby/Makefile +++ b/editors/gobby/Makefile @@ -20,7 +20,7 @@ OPTIONS_DEFINE= GTKSPELL NLS GTKSPELL_DESC= Enable GtkSpell support USE_GNOME= gtksourceview2 intltool -USES= compiler:c++11-lang gmake pkgconfig pathfix +USES= compiler:c++11-lang gmake gnome pathfix pkgconfig USE_CXXSTD= c++11 GNU_CONFIGURE= yes INSTALLS_ICONS= yes diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index 2b01743572d6..e2e982afa2a8 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -13,7 +13,7 @@ COMMENT= GTK+ based simple text editor LICENSE= GPLv2 USE_GNOME= gtk20 intlhack -USES= desktop-file-utils gettext gmake pkgconfig +USES= desktop-file-utils gettext gmake gnome pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-chooser INSTALLS_ICONS= yes diff --git a/editors/linux-sublime/Makefile b/editors/linux-sublime/Makefile index 59f34826d52b..6fbe24379062 100644 --- a/editors/linux-sublime/Makefile +++ b/editors/linux-sublime/Makefile @@ -13,7 +13,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Sophisticated text editor for code, markup and prose INSTALLS_ICONS= yes -USES= desktop-file-utils linux tar:bzip2 +USES= desktop-file-utils gnome linux tar:bzip2 USE_LINUX= xorglibs gtk2 WRKSRC= ${WRKDIR}/"Sublime Text 2" diff --git a/editors/linux-sublime3/Makefile b/editors/linux-sublime3/Makefile index e254982667bc..48ec400a5a8f 100644 --- a/editors/linux-sublime3/Makefile +++ b/editors/linux-sublime3/Makefile @@ -13,7 +13,7 @@ DISTNAME_i386= sublime_text_3_build_${PORTVERSION:S/.//g}_x32 MAINTAINER= miguelmclara@gmail.com COMMENT= Sophisticated text editor for code, markup and prose -USES= desktop-file-utils linux tar:bzip2 +USES= desktop-file-utils gnome linux tar:bzip2 USE_LINUX= xorglibs gtk2 INSTALLS_ICONS= yes diff --git a/editors/medit/Makefile b/editors/medit/Makefile index e3b4383072e1..ab56318f2fb6 100644 --- a/editors/medit/Makefile +++ b/editors/medit/Makefile @@ -14,7 +14,8 @@ COMMENT= Programming and around-programming text editor LICENSE= LGPL21 -USES= compiler:c++11-lang gmake localbase pkgconfig python:2.7,build tar:bzip2 +USES= compiler:c++11-lang gmake gnome localbase pkgconfig \ + python:2.7,build tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= gtk20 INSTALLS_ICONS= yes diff --git a/editors/morla/Makefile b/editors/morla/Makefile index 2481b5a61d9c..0090ef55cb4a 100644 --- a/editors/morla/Makefile +++ b/editors/morla/Makefile @@ -25,7 +25,7 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-gconf=auto -USES= gettext pkgconfig libtool +USES= gettext gnome libtool pkgconfig USE_GNOME= gconf2 libgtkhtml libxslt USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} diff --git a/editors/picpas/Makefile b/editors/picpas/Makefile index e2835ed1ee35..c27300c33614 100644 --- a/editors/picpas/Makefile +++ b/editors/picpas/Makefile @@ -15,7 +15,7 @@ LICENSE= GPLv2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 -USES= dos2unix fpc lazarus:flavors xorg +USES= dos2unix fpc gnome lazarus:flavors xorg USE_FPC= chm fcl-base fcl-image fcl-json fcl-registry fcl-xml pasjpeg regexpr \ rtl-objpas x11 USE_XORG= x11 diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile index 63a8b571de57..b63c794d27a9 100644 --- a/editors/poedit/Makefile +++ b/editors/poedit/Makefile @@ -19,7 +19,8 @@ LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 \ libicui18n.so:devel/icu \ liblucene++.so:textproc/luceneplusplus -USES= bdb compiler:c++11-lib desktop-file-utils gettext gmake pkgconfig +USES= bdb compiler:c++11-lib desktop-file-utils gettext gmake gnome \ + pkgconfig USE_WX= 3.0 WX_CONF_ARGS= absolute WITH_BDB_HIGHEST= yes diff --git a/editors/py-room/Makefile b/editors/py-room/Makefile index 4821c89a1837..58a3b7304c21 100644 --- a/editors/py-room/Makefile +++ b/editors/py-room/Makefile @@ -14,7 +14,7 @@ COMMENT= PyRoom is a clone of WriteRoom and features "distraction-free writing" RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py-xdg@${PY_FLAVOR} -USES= gettext python:2.7 +USES= gettext gnome python:2.7 USE_PYTHON= distutils USE_GNOME= pygtk2 PYDISTUTILS_PKGNAME= PyRoom diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 8b3dc4dcec27..64b893c701c3 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -86,6 +86,7 @@ NLS_USES= gettext # UI ATHENA_PLIST_SUB= GUI="" DESKTOP="@comment " +ATHENA_USES= xorg ATHENA_USE= XORG=ice,sm,x11,xaw,xmu,xpm,xt ATHENA_VARS= GUI=athena @@ -101,19 +102,19 @@ GNOME_VARS= GUI=gnome2 INSTALLS_ICONS=yes GTK2_PLIST_SUB= GUI="" DESKTOP="" GTK2_USE= GNOME=gdkpixbuf2,gtk20 XORG=ice,sm,x11,xpm,xt -GTK2_USES= desktop-file-utils gnome +GTK2_USES= desktop-file-utils gnome xorg GTK2_VARS= GUI=gtk2 INSTALLS_ICONS=yes GTK3_PLIST_SUB= GUI="" DESKTOP="" GTK3_USE= GNOME=cairo,gdkpixbuf2,gtk30 XORG=ice,sm,x11,xpm,xt -GTK3_USES= desktop-file-utils gnome +GTK3_USES= desktop-file-utils gnome xorg GTK3_VARS= GUI=gtk3 INSTALLS_ICONS=yes MOTIF_CONFIGURE_ENV= MOTIFHOME=${LOCALBASE} MOTIF_CONFIGURE_WITH= motif-lib="${MOTIFLIB}" MOTIF_PLIST_SUB= GUI="" DESKTOP="@comment " MOTIF_USE= XORG=ice,sm,x11,xmu,xt -MOTIF_USES= motif +MOTIF_USES= motif xorg MOTIF_VARS= GUI=motif X11_CONFIGURE_WITH= x diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile index 62e5fe862793..2d83b195b97b 100644 --- a/editors/xmlcopyeditor/Makefile +++ b/editors/xmlcopyeditor/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \ libxml2.so:textproc/libxml2 \ libexpat.so:textproc/expat2 -USES= compiler:c++11-lang dos2unix gettext gmake iconv libtool +USES= compiler:c++11-lang dos2unix gettext gmake gnome iconv libtool USE_WX= 2.8+ WX_COMPS= wx contrib WX_CONF_ARGS= absolute diff --git a/emulators/advancemame/Makefile b/emulators/advancemame/Makefile index 7276588071dd..509e00420bb9 100644 --- a/emulators/advancemame/Makefile +++ b/emulators/advancemame/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 -USES= compiler:c11 gmake ncurses +USES= compiler:c11 gmake ncurses sdl USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ diff --git a/emulators/advancemenu/Makefile b/emulators/advancemenu/Makefile index 803f7bcdffe1..f124443f0bc9 100644 --- a/emulators/advancemenu/Makefile +++ b/emulators/advancemenu/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 -USES= gmake localbase:ldflags +USES= gmake localbase:ldflags sdl USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ diff --git a/emulators/advancemess/Makefile b/emulators/advancemess/Makefile index c77545a3ec90..e319081e67a3 100644 --- a/emulators/advancemess/Makefile +++ b/emulators/advancemess/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 RUN_DEPENDS= advancemame>=1.4:emulators/advancemame -USES= gmake ncurses +USES= gmake ncurses sdl USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ diff --git a/emulators/catapult/Makefile b/emulators/catapult/Makefile index d5d54acd0c6d..ffafdb4ca200 100644 --- a/emulators/catapult/Makefile +++ b/emulators/catapult/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= openmsx:emulators/openmsx OPTIONS_DEFINE= DEBUG DOCS -USES= gmake pkgconfig python:2.7,build +USES= gmake gnome pkgconfig python:2.7,build USE_GCC= yes USE_CXXSTD= gnu++0x USE_GNOME= gtk20 libxml2 diff --git a/emulators/citra/Makefile b/emulators/citra/Makefile index fd409ada68e6..bbdaeeb03fbd 100644 --- a/emulators/citra/Makefile +++ b/emulators/citra/Makefile @@ -39,7 +39,7 @@ GH_TUPLE= citra-emu:ext-libressl-portable:7d01cb0:libressl/externals/libressl \ weidai11:cryptopp:CRYPTOPP_7_0_0-23-gf320e7d9:cryptopp/externals/cryptopp/cryptopp \ wwylele:teakra:e6ea0ea:teakra/externals/teakra -USES= cmake compiler:c++17-lang iconv localbase:ldflags +USES= cmake compiler:c++17-lang iconv localbase:ldflags sdl USE_SDL= sdl2 LDFLAGS+= -Wl,--as-needed # Qt5Network TEST_TARGET= test diff --git a/emulators/dgen-sdl/Makefile b/emulators/dgen-sdl/Makefile index 39432d98f4e0..5136a1a0fa6f 100644 --- a/emulators/dgen-sdl/Makefile +++ b/emulators/dgen-sdl/Makefile @@ -12,7 +12,7 @@ COMMENT= Wonderful Sega Genesis/MegaDrive emulator USE_SDL= sdl USE_GL= glu -USES= gl gmake libarchive +USES= gl gmake libarchive sdl GNU_CONFIGURE= yes PLIST_FILES= bin/dgen \ diff --git a/emulators/e-uae/Makefile b/emulators/e-uae/Makefile index 7e13a555498d..e2dd9361105f 100644 --- a/emulators/e-uae/Makefile +++ b/emulators/e-uae/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= uae-[0-9]* -USES= gmake tar:bzip2 +USES= gmake gnome sdl tar:bzip2 USE_GNOME= gtk20 USE_SDL= sdl GNU_CONFIGURE= yes diff --git a/emulators/emulationstation/Makefile b/emulators/emulationstation/Makefile index 2a0b2aedcc47..9c8d7c85232c 100644 --- a/emulators/emulationstation/Makefile +++ b/emulators/emulationstation/Makefile @@ -24,7 +24,7 @@ LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libpugixml.so:textproc/pugixml \ libvlc.so:multimedia/vlc -USES= cmake compiler:gcc-c++11-lib gl pkgconfig +USES= cmake compiler:gcc-c++11-lib gl pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= RetroPie GH_PROJECT= EmulationStation diff --git a/emulators/fceux/Makefile b/emulators/fceux/Makefile index 40de9e07a5e6..e5ed8c9e5b1d 100644 --- a/emulators/fceux/Makefile +++ b/emulators/fceux/Makefile @@ -18,7 +18,8 @@ RUN_DEPENDS= zenity:x11/zenity WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= compiler:c++0x desktop-file-utils dos2unix localbase:ldflags pkgconfig scons xorg +USES= compiler:c++0x desktop-file-utils dos2unix localbase:ldflags \ + pkgconfig scons sdl xorg USE_SDL= sdl USE_XORG= x11 diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile index f09bf6ef515e..bea3bc105e77 100644 --- a/emulators/frodo/Makefile +++ b/emulators/frodo/Makefile @@ -30,6 +30,7 @@ OPTIONS_DEFAULT=SDL .include .if ${PORT_OPTIONS:MSDL} +USES+= sdl USE_SDL= sdl .endif diff --git a/emulators/fs-uae-launcher/Makefile b/emulators/fs-uae-launcher/Makefile index 3b9c294ce2ae..3c5a0ae9faf9 100644 --- a/emulators/fs-uae-launcher/Makefile +++ b/emulators/fs-uae-launcher/Makefile @@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} -USES= gettext gmake pathfix python:3.4+ pyqt:5 +USES= gettext gmake gnome pathfix pyqt:5 python:3.4+ USE_PYTHON= distutils autoplist noflavors USE_PYQT= core sip gui widgets opengl diff --git a/emulators/fuse-utils/Makefile b/emulators/fuse-utils/Makefile index a34c08aec7c0..908ede99b96b 100644 --- a/emulators/fuse-utils/Makefile +++ b/emulators/fuse-utils/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libpng.so:graphics/png \ libspectrum.so:emulators/libspectrum -USES= gettext iconv jpeg pkgconfig +USES= gettext gnome iconv jpeg pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile index d43c4f0bcf10..1da35d3e54cb 100644 --- a/emulators/gens/Makefile +++ b/emulators/gens/Makefile @@ -18,7 +18,7 @@ BUILD_DEPENDS= nasm:devel/nasm ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= uses i386 assembly code -USES= gmake gnome gl localbase pkgconfig +USES= gl gmake gnome localbase pkgconfig sdl USE_GNOME= gtk20 USE_GL= gl USE_SDL= sdl diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile index 3345b0726159..4441d2b4d87b 100644 --- a/emulators/gngb/Makefile +++ b/emulators/gngb/Makefile @@ -13,7 +13,7 @@ COMMENT= GameBoy(tm) emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake localbase +USES= gmake localbase sdl USE_CSTD= gnu89 USE_SDL= sdl GNU_CONFIGURE= yes diff --git a/emulators/gngeo/Makefile b/emulators/gngeo/Makefile index a055f393636c..2528d53189ff 100644 --- a/emulators/gngeo/Makefile +++ b/emulators/gngeo/Makefile @@ -15,7 +15,7 @@ LICENSE= GPLv2 BROKEN_i386= unknown argument: '-frerun-loop-opt' -USES= autoreconf compiler:features gl gmake +USES= autoreconf compiler:features gl gmake sdl USE_SDL= image sdl USE_GL= yes USE_GITHUB= yes diff --git a/emulators/higan/Makefile b/emulators/higan/Makefile index 6b8d64d620b7..c323aab9f7f7 100644 --- a/emulators/higan/Makefile +++ b/emulators/higan/Makefile @@ -45,6 +45,7 @@ GLX_USES= gl GLX_USE= GL=gl GLX_VARS= VIDEO_DRIVER+=video.glx +SDL_USES= sdl SDL_USE= XORG=xv SDL=sdl SDL_VARS= VIDEO_DRIVER+=video.sdl @@ -65,6 +66,7 @@ OSS_VARS= AUDIO_DRIVER+=audio.oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= AUDIO_DRIVER+=audio.pulseaudio +INPUT_SDL_USES= sdl INPUT_SDL_USE= SDL=sdl INPUT_SDL_VARS= INPUT_DRIVER+=input.sdl diff --git a/emulators/hugo/Makefile b/emulators/hugo/Makefile index 1979dd298d1a..64dccb450bb6 100644 --- a/emulators/hugo/Makefile +++ b/emulators/hugo/Makefile @@ -22,7 +22,7 @@ OPTIONS_SUB= yes NETPLAY_DESC= Netplay support SDL_MIXER_DESC= SDL_mixer support -USES= gmake pkgconfig +USES= gmake pkgconfig sdl USE_SDL= sdl USE_CSTD= gnu89 GNU_CONFIGURE= yes @@ -38,6 +38,7 @@ IGNORE= NETPLAY support requires GTK2 support .endif .if ${PORT_OPTIONS:MGTK2} +USES+= gnome USE_GNOME= gtk20 .else CONFIGURE_ARGS+= --disable-gui --disable-gtktest diff --git a/emulators/joytran/Makefile b/emulators/joytran/Makefile index 7999e6a9f02b..47f1bbb154d9 100644 --- a/emulators/joytran/Makefile +++ b/emulators/joytran/Makefile @@ -14,7 +14,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT USE_SDL= sdl2 -USES= tar:bzip2 cmake:insource pkgconfig xorg +USES= cmake:insource pkgconfig sdl tar:bzip2 xorg CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}" USE_XORG= x11 xtst diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile index 1406919f22b5..59f2fe72d9fe 100644 --- a/emulators/libspectrum/Makefile +++ b/emulators/libspectrum/Makefile @@ -15,7 +15,7 @@ LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libgcrypt.so:security/libgcrypt GNU_CONFIGURE= yes -USES= gettext gmake libtool pkgconfig perl5 +USES= gettext gmake gnome libtool perl5 pkgconfig USE_GNOME= glib20 USE_PERL5= build USE_LDCONFIG= yes diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index 653ae4f10f00..03aa34c4b000 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -30,7 +30,7 @@ SUB_FILES= pkg-message CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \ --with-sdl-prefix=${LOCALBASE} -USES= compiler:c++11-lib cpe gl iconv pkgconfig:build tar:xz +USES= compiler:c++11-lib cpe gl iconv pkgconfig:build sdl tar:xz CPE_VENDOR= david_shadoff OPTIONS_DEFINE= NLS DOCS JACK diff --git a/emulators/mesen/Makefile b/emulators/mesen/Makefile index bf224741d3c3..a033a2b0473c 100644 --- a/emulators/mesen/Makefile +++ b/emulators/mesen/Makefile @@ -20,7 +20,7 @@ BUILD_DEPENDS= zip:archivers/zip \ LIB_DEPENDS= libevdev.so:devel/libevdev \ libgdiplus.so:x11-toolkits/libgdiplus -USES= compiler:c++14-lang gmake pkgconfig +USES= compiler:c++14-lang gmake pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= SourMesen GH_PROJECT= Mesen diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile index 413f600ad019..123f4730335f 100644 --- a/emulators/mgba/Makefile +++ b/emulators/mgba/Makefile @@ -17,7 +17,8 @@ LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png -USES= cmake compiler:c++11-lang gl gnome localbase:ldflags pkgconfig sqlite:3 +USES= cmake compiler:c++11-lang gl gnome localbase:ldflags pkgconfig \ + sdl sqlite:3 USE_GITHUB= yes GH_ACCOUNT= mgba-emu diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile index bc075d9eca0f..e9a7b1fbd2d7 100644 --- a/emulators/mupen64plus-core/Makefile +++ b/emulators/mupen64plus-core/Makefile @@ -14,7 +14,7 @@ DIST_SUBDIR= ${PORTNAME} MAINTAINER?= acm@FreeBSD.org COMMENT?= Fork of Mupen64 Nintendo 64 emulator -USES+= gl gmake pkgconfig +USES+= gl gmake pkgconfig sdl USE_GL?= yes USE_SDL?= sdl2 USE_LDCONFIG?= yes diff --git a/emulators/mupen64plus-video-glide64/Makefile b/emulators/mupen64plus-video-glide64/Makefile index d14728608d2d..4586b6fba2b3 100644 --- a/emulators/mupen64plus-video-glide64/Makefile +++ b/emulators/mupen64plus-video-glide64/Makefile @@ -9,7 +9,7 @@ COMMENT= Glide64 video plugin for Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core -USES+= gl +USES+= gl sdl USE_GL= gl USE_SDL= sdl2 diff --git a/emulators/mupen64plus-video-glide64mk2/Makefile b/emulators/mupen64plus-video-glide64mk2/Makefile index 1b9edd3eb2b6..7acdb9c0c4a5 100644 --- a/emulators/mupen64plus-video-glide64mk2/Makefile +++ b/emulators/mupen64plus-video-glide64mk2/Makefile @@ -9,7 +9,7 @@ COMMENT= Glide64mk2 video plugin for Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core \ libboost_thread.so:devel/boost-libs -USES+= gl +USES+= gl sdl USE_GL= gl USE_SDL= sdl2 diff --git a/emulators/mupen64plus-video-z64/Makefile b/emulators/mupen64plus-video-z64/Makefile index b408acc3122b..154af39bd158 100644 --- a/emulators/mupen64plus-video-z64/Makefile +++ b/emulators/mupen64plus-video-z64/Makefile @@ -9,7 +9,7 @@ COMMENT= Low-level RDP plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core -USES= gl +USES= gl sdl USE_GL= gl glu glew USE_SDL= sdl2 diff --git a/emulators/nestopia/Makefile b/emulators/nestopia/Makefile index 205ac7a5b6e2..940fa1582739 100644 --- a/emulators/nestopia/Makefile +++ b/emulators/nestopia/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive LIB_DEPENDS= libao.so:audio/libao libepoxy.so:graphics/libepoxy USES= autoreconf desktop-file-utils gl gnome libarchive \ - localbase:ldflags pkgconfig + localbase:ldflags pkgconfig sdl USE_CXXSTD= c++98 USE_GITHUB= yes GH_ACCOUNT= rdanbrook diff --git a/emulators/nonpareil/Makefile b/emulators/nonpareil/Makefile index 20b4a1fc24f9..6059a4558cfb 100644 --- a/emulators/nonpareil/Makefile +++ b/emulators/nonpareil/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png -USES= bison pkgconfig scons +USES= bison gnome pkgconfig scons sdl USE_GNOME= gtk20 libxml2 USE_SDL= sdl diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile index 56f4680941eb..88e0df4a47ba 100644 --- a/emulators/ppsspp/Makefile +++ b/emulators/ppsspp/Makefile @@ -34,7 +34,7 @@ GH_TUPLE?= hrydgard:glslang:7.11.3214-63-gf9d08a25:glslang/ext/glslang \ CONFLICTS_INSTALL= ${PORTNAME}-* -USES= cmake compiler:c++11-lib gl localbase:ldflags pkgconfig +USES= cmake compiler:c++11-lib gl localbase:ldflags pkgconfig sdl EXCLUDE= libzip zlib EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} USE_GL= gl glew glu diff --git a/emulators/qemu-sbruno/Makefile b/emulators/qemu-sbruno/Makefile index 1bb124b33ae6..59e56262f3bf 100644 --- a/emulators/qemu-sbruno/Makefile +++ b/emulators/qemu-sbruno/Makefile @@ -145,6 +145,7 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} --enable-docs \ CONFIGURE_ARGS+= --disable-sdl .else CONFIGURE_ARGS+= --enable-sdl +USES+= sdl USE_SDL= sdl .endif diff --git a/emulators/qemu-utils/Makefile b/emulators/qemu-utils/Makefile index 1c526387ffb3..e6dee95386ae 100644 --- a/emulators/qemu-utils/Makefile +++ b/emulators/qemu-utils/Makefile @@ -6,8 +6,8 @@ MAINTAINER= asomers@FreeBSD.org COMMENT= QEMU userland utilities HAS_CONFIGURE= yes -USES= compiler:c11 cpe gmake pkgconfig perl5 python:build tar:xz -USES+= gettext-runtime +USES= compiler:c11 cpe gettext-runtime gmake gnome perl5 pkgconfig \ + python:build tar:xz USE_GNOME+= glib20 MAKE_ENV+= BSD_MAKE="${MAKE}" PREFIX=${PREFIX} CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* qemu-sbruno-* diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index f49e4b75f25e..e0189695e17c 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -18,7 +18,6 @@ LIB_DEPENDS?= libnettle.so:security/nettle \ .if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 -USES?+= xorg USE_XORG= pixman USE_GNOME+= cairo glib20 libxml2 .endif diff --git a/emulators/qmc2/Makefile b/emulators/qmc2/Makefile index e2d067f7b36b..58015706e4a5 100644 --- a/emulators/qmc2/Makefile +++ b/emulators/qmc2/Makefile @@ -17,7 +17,7 @@ OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes -USES= compiler:c++11-lang gl gmake qt:5 tar:bzip2 xorg +USES= compiler:c++11-lang gl gmake qt:5 sdl tar:bzip2 xorg USE_XORG= x11 xmu USE_GL= gl glu USE_QT= buildtools_build core declarative gui multimedia \ diff --git a/emulators/quasi88/Makefile b/emulators/quasi88/Makefile index 39e326f9f427..b4db686c5956 100644 --- a/emulators/quasi88/Makefile +++ b/emulators/quasi88/Makefile @@ -27,6 +27,7 @@ MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS EXAMPLES SDL OPTIONS_DEFAULT= SDL +SDL_USES= sdl SDL_USE= sdl=sdl SDL_MAKE_ENV= SDL_VERSION=1 X11_JOYSTICK="joy_sdl" SDL_MAKE_ENV_OFF= X11_VERSION=1 X11_JOYSTICK="joy_bsd_usb" diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index bdcc1a27d14e..3b6870ecda49 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -20,8 +20,8 @@ LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= snes9xgit -USES= autoreconf compiler:c11 desktop-file-utils gettext gmake \ - gnome localbase perl5 pkgconfig tar:bzip2 xorg +USES= autoreconf compiler:c11 desktop-file-utils gettext gmake gnome \ + localbase perl5 pkgconfig sdl tar:bzip2 xorg USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libxml2 USE_SDL= sdl2 USE_XORG= x11 xext diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile index f9936e1268ff..7a6b884e0c8b 100644 --- a/emulators/stella/Makefile +++ b/emulators/stella/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/License.txt LIB_DEPENDS= libpng.so:graphics/png -USES= compiler:c++11-lib gmake tar:xz +USES= compiler:c++11-lib gmake sdl tar:xz USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= stella-emu diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile index 4f0afa661254..8dd2c51d7cc3 100644 --- a/emulators/tiemu3/Makefile +++ b/emulators/tiemu3/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libticalcs2.so:comms/libticalcs2 \ libticables2.so:comms/libticables2 \ libtifiles2.so:devel/libtifiles2 -USES= gmake groff libtool pkgconfig +USES= gmake gnome groff libtool pkgconfig sdl GNU_CONFIGURE= yes USE_GNOME= gtk20 libglade2 USE_SDL= sdl diff --git a/emulators/tilem/Makefile b/emulators/tilem/Makefile index 12a5e7a54f23..6d312c559a26 100644 --- a/emulators/tilem/Makefile +++ b/emulators/tilem/Makefile @@ -14,7 +14,7 @@ LICENSE= GPLv3 LIB_DEPENDS= libticalcs2.so:comms/libticalcs2 -USES= desktop-file-utils pkgconfig shared-mime-info tar:bzip2 +USES= desktop-file-utils gnome pkgconfig shared-mime-info tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV= OPT_CFLAGS=" " # Inhibit -O3, our default CFLAGS are upheld USE_GNOME= gtk20 diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile index d1c5d3d46432..f146ee1e915c 100644 --- a/emulators/tme/Makefile +++ b/emulators/tme/Makefile @@ -15,9 +15,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl -USES= autoreconf compiler gettext gmake iconv libtool perl5 pkgconfig +USES= autoreconf compiler gettext gmake gnome iconv libtool perl5 \ + pkgconfig USE_GNOME= gdkpixbuf2 gtk20 USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --disable-warnings CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index 80161952d6b1..100a52c1723f 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -15,7 +15,7 @@ LICENSE= GPLv2 CONFLICTS= e-uae-[0-9]* MAKE_JOBS_UNSAFE=yes -USES= gmake pkgconfig tar:bzip2 +USES= gmake gnome pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= gtk20 diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile index 48c6887be5f2..6ce5a9e56035 100644 --- a/emulators/vba/Makefile +++ b/emulators/vba/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libpng.so:graphics/png BROKEN_powerpc= Runaway cc1plus process BROKEN_sparc64= Runaway cc1plus process -USES= gettext gmake +USES= gettext gmake sdl GNU_CONFIGURE= yes USE_SDL= sdl diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index 6bb60e562f14..b5d13ab415ad 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -30,8 +30,8 @@ LIB_DEPENDS= libpng.so:graphics/png \ libgnutls.so:security/gnutls RESTRICTED= ROMs are copyrighted by Commodore Business Machines -USES= compiler:c++11-lang pkgconfig makeinfo localbase:ldflags \ - gmake iconv:wchar_t jpeg readline gettext xorg +USES= compiler:c++11-lang gettext gmake iconv:wchar_t jpeg \ + localbase:ldflags makeinfo pkgconfig readline xorg USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes HAS_CONFIGURE= yes @@ -62,8 +62,10 @@ SDLSOUND_DESC= build with SDL2 sound system support GTK3UI_CONFIGURE_ENABLE= native-gtk3ui GTK3UI_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash +SDLUI2_USES= sdl SDLUI2_USE= SDL=sdl2 SDLUI2_CONFIGURE_ENABLE= sdlui2 +SDLSOUND_USES= sdl SDLSOUND_USE= SDL=sdl2 SDLSOUND_CONFIGURE_ON= --with-sdlsound ALSA_CONFIGURE_OFF= --without-alsa @@ -83,6 +85,7 @@ __pmlinks1!= ${ECHO_CMD} '${LMLINKS:S/ / /}' | ${AWK} \ .endif .if ${PORT_OPTIONS:MGTK3UI} +USES+= gnome gl USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango USE_GL+= glu gl .endif diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile index b8808ac23418..5c5b48ae78a6 100644 --- a/emulators/visualboyadvance-m/Makefile +++ b/emulators/visualboyadvance-m/Makefile @@ -40,8 +40,8 @@ DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) USE_XORG= x11 xext USE_GL= gl glu USE_SDL= sdl -USES= compiler:c++11-lang cmake:insource,noninja dos2unix gnome gl \ - pkgconfig xorg +USES= cmake:insource,noninja compiler:c++11-lang dos2unix gl gnome \ + pkgconfig sdl xorg INSTALLS_ICONS= yes CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ -DSYSCONFDIR:STRING="${PREFIX}/etc" \ diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index 4b02c863155b..55c8d9ddcfd4 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -49,7 +49,8 @@ GH_TUPLE= yuzu-emu:unicorn:1.0.1-153-g73f45735:unicorn/externals/unicorn \ weidai11:cryptopp:CRYPTOPP_7_0_0-23-gf320e7d9:cryptopp/externals/cryptopp/cryptopp \ xiph:opus:v1.3.1-4-gad8fe90d:opus/externals/opus/opus -USES= cmake compiler:c++17-lang iconv localbase:ldflags python:2.7,build +USES= cmake compiler:c++17-lang iconv localbase:ldflags \ + python:2.7,build sdl USE_SDL= sdl2 LDFLAGS+= -Wl,--as-needed # Qt5Network TEST_TARGET= test diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile index ee7682294411..8b64c026d71a 100644 --- a/emulators/zsnes/Makefile +++ b/emulators/zsnes/Makefile @@ -28,7 +28,7 @@ DEBUGGER_DESC= ZSNES Debugger JMA_DESC= JMA support USE_SDL= sdl -USES= gmake tar:bzip2 +USES= gmake sdl tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-cpucheck @@ -46,8 +46,6 @@ CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include - post-patch: @${REINPLACE_CMD} -e \ 's|@CXX@ @CFLAGS@ -o|@CXX@ @CXXFLAGS@ @CPPFLAGS@ -o|g ; \