Diff sdl2-net-2.0.1 with a sdl2-net-2.2.0

/usr/portage/media-libs/sdl2-net/sdl2-net-2.2.0.ebuild 2023-10-09 14:52:31.712368406 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
MY_P=SDL2_net-${PV}
7 7
inherit multilib-minimal
8 8

  
9 9
DESCRIPTION="Simple Direct Media Layer Network Support Library"
10 10
HOMEPAGE="https://www.libsdl.org/projects/SDL_net/index.html"
11
SRC_URI="https://www.libsdl.org/projects/SDL_net/release/${MY_P}.tar.gz"
11
SRC_URI="https://github.com/libsdl-org/SDL_net/releases/download/release-${PV}/${MY_P}.tar.gz"
12
S="${WORKDIR}/${MY_P}"
12 13

  
13 14
LICENSE="ZLIB"
14 15
SLOT="0"
15 16
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86"
16 17
IUSE="static-libs"
17 18

  
18
RDEPEND=">=media-libs/libsdl2-2.0.1-r1[${MULTILIB_USEDEP}]"
19
DEPEND=${RDEPEND}
20

  
21
S="${WORKDIR}/${MY_P}"
19
RDEPEND=">=media-libs/libsdl2-2.0.4[${MULTILIB_USEDEP}]"
20
DEPEND="${RDEPEND}"
22 21

  
23 22
multilib_src_configure() {
24 23
	ECONF_SOURCE="${S}" econf \
25
		--disable-gui \
24
		--disable-examples \
26 25
		$(use_enable static-libs static)
27 26
}
28 27

  
Thank you!