games-emulation/dosbox-x: Change freetype USE flag to truetype

`truetype` is a global USE flag, which is more preferable.

Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
This commit is contained in:
Yuan Liao 2023-08-19 13:18:19 -04:00
parent 95f358f36d
commit 8bd80372a6
No known key found for this signature in database
GPG Key ID: 5A088BB1563212A9
3 changed files with 10 additions and 10 deletions

View File

@ -24,7 +24,7 @@ HOMEPAGE="https://dosbox-x.com/"
LICENSE="GPL-2"
SLOT="0"
IUSE="X debug ffmpeg fluidsynth freetype opengl png slirp"
IUSE="X debug ffmpeg fluidsynth opengl png slirp truetype"
# Unit tests are only available in debug builds
RESTRICT="!debug? ( test )"
@ -61,10 +61,10 @@ RDEPEND="
debug? ( sys-libs/ncurses:= )
ffmpeg? ( media-video/ffmpeg:= )
fluidsynth? ( media-sound/fluidsynth:= )
freetype? ( media-libs/freetype )
opengl? ( media-libs/libglvnd[X] )
png? ( media-libs/libpng:= )
slirp? ( net-libs/libslirp )
truetype? ( media-libs/freetype )
"
DEPEND="
@ -118,10 +118,10 @@ src_configure() {
$(use_enable X x11)
$(use_enable ffmpeg avcodec)
$(use_enable fluidsynth libfluidsynth)
$(use_enable freetype)
$(use_enable opengl)
$(use_enable png screenshots)
$(use_enable slirp libslirp)
$(use_enable truetype freetype)
)
econf "${myconf[@]}"

View File

@ -24,7 +24,7 @@ HOMEPAGE="https://dosbox-x.com/"
LICENSE="GPL-2"
SLOT="0"
IUSE="X debug ffmpeg fluidsynth freetype opengl png slirp"
IUSE="X debug ffmpeg fluidsynth opengl png slirp truetype"
# Unit tests are only available in debug builds
RESTRICT="!debug? ( test )"
@ -61,10 +61,10 @@ RDEPEND="
debug? ( sys-libs/ncurses:= )
ffmpeg? ( media-video/ffmpeg:= )
fluidsynth? ( media-sound/fluidsynth:= )
freetype? ( media-libs/freetype )
opengl? ( media-libs/libglvnd[X] )
png? ( media-libs/libpng:= )
slirp? ( net-libs/libslirp )
truetype? ( media-libs/freetype )
"
DEPEND="
@ -118,10 +118,10 @@ src_configure() {
$(use_enable X x11)
$(use_enable ffmpeg avcodec)
$(use_enable fluidsynth libfluidsynth)
$(use_enable freetype)
$(use_enable opengl)
$(use_enable png screenshots)
$(use_enable slirp libslirp)
$(use_enable truetype freetype)
)
econf "${myconf[@]}"

View File

@ -40,10 +40,6 @@
<flag name="fluidsynth">
Enable FluidSynth to be used as the MIDI synthesizer
</flag>
<flag name="freetype">
Enable TrueType font (TTF) output and printing support
via <pkg>media-libs/freetype</pkg>
</flag>
<flag name="opengl">
Enable OpenGL as a video system to use for output
</flag>
@ -54,5 +50,9 @@
<flag name="slirp">
Enable the SLIRP back-end for network adapter emulation
</flag>
<flag name="truetype">
Enable TrueType font (TTF) output and printing support
via <pkg>media-libs/freetype</pkg>
</flag>
</use>
</pkgmetadata>