media-libs/sdl3-net - 20241102 (gogooverlay)

Search

Package Information

Homepage:
https://libsdl.org/
License:
ZLIB

Ebuild Details

Version EAPI Keywords Slot
20241102 8 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake-multilib

if [[ ${PV} == "20241102" ]] ; then
	PHASH="9d76627ca50cddde3259dc06df180427730a1420"
fi

DESCRIPTION="A simple, cross-platform wrapper over TCP/IP sockets"
HOMEPAGE="https://libsdl.org/"
SRC_URI="https://github.com/libsdl-org/SDL_net/archive/${PHASH}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/SDL_net-${PHASH}"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS=""

DEPEND=">=media-libs/libsdl3-3.1.3[${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}"

multilib_src_configure() {
	local mycmakeargs=(
		SDL3NET_SAMPLES=OFF
	)

	cmake_src_configure
}

Dependencies

DEPEND

>=media-libs/libsdl3-3.1.3[${MULTILIB_USEDEP}]

RDEPEND

>=media-libs/libsdl3-3.1.3[${MULTILIB_USEDEP}]

Manifest for 20241102

Type File Size Source URLs
DIST sdl3-net-20241102.tar.gz 100189 bytes https://github.com/libsdl-org/SDL_net/archive/9d76627ca50cddde3259dc06df180427730a1420.tar.gz