Skip to content

Commit

Permalink
games-emulation/vbam: Now build against ffmpeg-4, fix dependencies
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
chewi committed Jul 25, 2020
1 parent e6e7748 commit f8a520b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
20 changes: 15 additions & 5 deletions games-emulation/vbam/vbam-2.1.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m"
LICENSE="GPL-2"
SLOT="0"
IUSE="ffmpeg link lirc nls openal +sdl wxwidgets"
REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )"

REQUIRED_USE="
ffmpeg? ( wxwidgets )
openal? ( wxwidgets )
|| ( sdl wxwidgets )
"

RDEPEND="
>=media-libs/libpng-1.4:0=
Expand All @@ -30,19 +35,24 @@ RDEPEND="
sys-libs/zlib:=
virtual/glu
virtual/opengl
ffmpeg? ( =media-video/ffmpeg-3*:= )
lirc? ( app-misc/lirc )
nls? ( virtual/libintl )
wxwidgets? (
ffmpeg? ( media-video/ffmpeg:= )
openal? ( media-libs/openal )
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
)"
DEPEND="${RDEPEND}
)
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/zip
wxwidgets? ( virtual/imagemagick-tools )
x86? ( || ( dev-lang/nasm dev-lang/yasm ) )
nls? ( sys-devel/gettext )
virtual/pkgconfig"
virtual/pkgconfig
"

PATCHES=(
"${FILESDIR}"/${P}-cmake_fix.patch
Expand Down
20 changes: 15 additions & 5 deletions games-emulation/vbam/vbam-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m"
LICENSE="GPL-2"
SLOT="0"
IUSE="ffmpeg link lirc nls openal +sdl wxwidgets"
REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )"

REQUIRED_USE="
ffmpeg? ( wxwidgets )
openal? ( wxwidgets )
|| ( sdl wxwidgets )
"

RDEPEND="
>=media-libs/libpng-1.4:0=
Expand All @@ -30,19 +35,24 @@ RDEPEND="
sys-libs/zlib:=
virtual/glu
virtual/opengl
ffmpeg? ( =media-video/ffmpeg-3*:= )
lirc? ( app-misc/lirc )
nls? ( virtual/libintl )
wxwidgets? (
ffmpeg? ( media-video/ffmpeg:= )
openal? ( media-libs/openal )
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
)"
DEPEND="${RDEPEND}
)
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/zip
wxwidgets? ( virtual/imagemagick-tools )
x86? ( || ( dev-lang/nasm dev-lang/yasm ) )
nls? ( sys-devel/gettext )
virtual/pkgconfig"
virtual/pkgconfig
"

src_configure() {
use wxwidgets && setup-wxwidgets
Expand Down

0 comments on commit f8a520b

Please sign in to comment.