--- /var/db/repos/gentoo/games-engines/scummvm-tools/scummvm-tools-2.2.0-r1.ebuild 2022-11-21 15:31:46.385241133 +0100 +++ /var/db/repos/overlay_jl/games-engines/scummvm-tools/scummvm-tools-2.7.0.ebuild 2023-05-21 02:24:09.707874250 +0200 @@ -1,22 +1,27 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 - -WX_GTK_VER=3.0-gtk3 +WX_GTK_VER=3.2-gtk3 inherit wxwidgets toolchain-funcs DESCRIPTION="utilities for the SCUMM game engine" -HOMEPAGE="http://scummvm.sourceforge.net/" -SRC_URI="http://scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz" +HOMEPAGE="https://www.scummvm.org/ https://github.com/scummvm/scummvm-tools" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/scummvm/scummvm-tools" +else + SRC_URI="https://downloads.scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + S=${WORKDIR}/${P/_/} +fi LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="flac iconv mad png vorbis" RESTRICT="test" # some tests require external files -RDEPEND=" +DEPEND=" dev-libs/boost:= sys-libs/zlib x11-libs/wxGTK:${WX_GTK_VER} @@ -26,8 +31,8 @@ png? ( media-libs/libpng:= ) vorbis? ( media-libs/libvorbis ) " -DEPEND=" - ${RDEPEND} +RDEPEND=" + ${DEPEND} " BDEPEND=" virtual/pkgconfig @@ -35,7 +40,6 @@ PATCHES=( "${FILESDIR}/${PN}-1.8.0-binprefix.patch" - "${FILESDIR}/${PN}-2.2.0-strings.patch" ) src_prepare() {