Skip to content

Commit

Permalink
media-video/vlc: Drop USE=bidi from REQUIRED_USE
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
a17r committed Feb 27, 2018
1 parent c49feb7 commit 8ee3bcf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
16 changes: 12 additions & 4 deletions media-video/vlc/vlc-3.0.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus
x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse
"
REQUIRED_USE="
bidi? ( truetype )
chromecast? ( encode )
directx? ( ffmpeg )
fontconfig? ( truetype )
Expand All @@ -62,7 +61,11 @@ RDEPEND="
alsa? ( media-libs/alsa-lib:0 )
aom? ( media-libs/libaom:= )
archive? ( app-arch/libarchive:= )
bidi? ( dev-libs/fribidi:0 )
bidi? (
dev-libs/fribidi:0
media-libs/freetype:2
virtual/ttf-fonts:0
)
bluray? ( media-libs/libbluray:0= )
cddb? ( media-libs/libcddb:0 )
chromaprint? ( media-libs/chromaprint:0= )
Expand Down Expand Up @@ -355,7 +358,6 @@ src_configure() {
$(use_enable taglib)
$(use_enable theora)
$(use_enable tremor)
$(use_enable truetype freetype)
$(use_enable twolame)
$(use_enable udev)
$(use_enable upnp)
Expand Down Expand Up @@ -421,7 +423,13 @@ src_configure() {

xdg_environment_reset # bug 608256

if use truetype || use projectm ; then
if use truetype || use bidi; then
myeconfargs+=( --enable-freetype )
else
myeconfargs+=( --disable-freetype )
fi

if use truetype || use projectm; then
local dejavu="/usr/share/fonts/dejavu/"
myeconfargs+=(
--with-default-font=${dejavu}/DejaVuSans.ttf
Expand Down
16 changes: 12 additions & 4 deletions media-video/vlc/vlc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus
x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse
"
REQUIRED_USE="
bidi? ( truetype )
chromecast? ( encode )
directx? ( ffmpeg )
fontconfig? ( truetype )
Expand All @@ -62,7 +61,11 @@ RDEPEND="
alsa? ( media-libs/alsa-lib:0 )
aom? ( media-libs/libaom:= )
archive? ( app-arch/libarchive:= )
bidi? ( dev-libs/fribidi:0 )
bidi? (
dev-libs/fribidi:0
media-libs/freetype:2
virtual/ttf-fonts:0
)
bluray? ( media-libs/libbluray:0= )
cddb? ( media-libs/libcddb:0 )
chromaprint? ( media-libs/chromaprint:0= )
Expand Down Expand Up @@ -354,7 +357,6 @@ src_configure() {
$(use_enable taglib)
$(use_enable theora)
$(use_enable tremor)
$(use_enable truetype freetype)
$(use_enable twolame)
$(use_enable udev)
$(use_enable upnp)
Expand Down Expand Up @@ -420,7 +422,13 @@ src_configure() {

xdg_environment_reset # bug 608256

if use truetype || use projectm ; then
if use truetype || use bidi; then
myeconfargs+=( --enable-freetype )
else
myeconfargs+=( --disable-freetype )
fi

if use truetype || use projectm; then
local dejavu="/usr/share/fonts/dejavu/"
myeconfargs+=(
--with-default-font=${dejavu}/DejaVuSans.ttf
Expand Down

0 comments on commit 8ee3bcf

Please sign in to comment.