diff --git a/common/shlibs b/common/shlibs index 0441244c7cfc2c..4f8990fdf1ad76 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4557,6 +4557,7 @@ libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1 libSDL3.so.0 SDL3-3.2.2_1 libSDL3_image.so.0 SDL3_image-3.2.4_1 libSDL3_mixer.so.0 SDL3_mixer-3.2.4_1 +libSDL3_net.so.0 SDL3_net-3.2.0_1 libiconv.so.2 libiconv-1.18_1 libcharset.so.1 libiconv-1.18_1 libomemo-c.so.0 libomemo-c-0.5.1_1 diff --git a/srcpkgs/SDL3_net-devel b/srcpkgs/SDL3_net-devel new file mode 120000 index 00000000000000..d771fff0c252cb --- /dev/null +++ b/srcpkgs/SDL3_net-devel @@ -0,0 +1 @@ +SDL3_net \ No newline at end of file diff --git a/srcpkgs/SDL3_net/template b/srcpkgs/SDL3_net/template new file mode 100644 index 00000000000000..0000806c205046 --- /dev/null +++ b/srcpkgs/SDL3_net/template @@ -0,0 +1,29 @@ +# Template file for 'SDL3_net' +pkgname=SDL3_net +version=3.2.0 +revision=1 +build_style=cmake +configure_args="-DSDLNET_SAMPLES=OFF" +hostmakedepends="pkg-config" +makedepends="SDL3-devel" +short_desc="Networking library (SDL 3.x)" +maintainer="Rutpiv " +license="Zlib" +homepage="https://github.com/libsdl-org/SDL_net" +distfiles="https://www.libsdl.org/projects/SDL_net/release/${pkgname}-${version}.tar.gz" +checksum=098522fc26d4e302ef9348aee6e76e67fe504dfefd7f596236568f8330570c41 + +post_install() { + vlicense LICENSE.txt +} + +SDL3_net-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}