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 2024-07-02 13:51:46.445851520 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2024 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
inherit multilib-minimal
7
inherit autotools 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}
19
RDEPEND=">=media-libs/libsdl2-2.0.4[${MULTILIB_USEDEP}]"
20
DEPEND="${RDEPEND}"
20 21

  
21
S="${WORKDIR}/${MY_P}"
22
src_prepare() {
23
	default
24
	eautoreconf
25
}
22 26

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

  
Thank you!