summaryrefslogtreecommitdiff
path: root/media-libs/sdl2-net
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-17 04:08:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-17 04:08:35 +0100
commit43f85394ba834267589a4e6478ef419d40e22503 (patch)
treeb54082395e0e153c889b6dfe60d580a57992b3e8 /media-libs/sdl2-net
parentc4507bfdfd706b2b1301972490fe88ac3ddbc70e (diff)
gentoo auto-resync : 17:05:2023 - 04:08:35
Diffstat (limited to 'media-libs/sdl2-net')
-rw-r--r--media-libs/sdl2-net/Manifest2
-rw-r--r--media-libs/sdl2-net/sdl2-net-2.2.0.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/sdl2-net/Manifest b/media-libs/sdl2-net/Manifest
index dd4c09e077e9..322c9d7391b6 100644
--- a/media-libs/sdl2-net/Manifest
+++ b/media-libs/sdl2-net/Manifest
@@ -1,3 +1,5 @@
DIST SDL2_net-2.0.1.tar.gz 347436 BLAKE2B 9c7bb46cf97581f75543b9e2695e4ce87b78c66dada3ac1a3ddf7b8e6eeaf2540532aece3e7a6dc7f6dfcfd3ecf5148d5bfb9a84bc2775e57f68b3adf32e5828 SHA512 d27faee3cddc3592dae38947e6c1df0cbaa95f82fde9c87db6d11f6312d868cea74f6830ad07ceeb3d0d75e9424cebf39e54fddf9a1147e8d9e664609de92b7a
+DIST SDL2_net-2.2.0.tar.gz 8707169 BLAKE2B 78188a62deda9220df5e519ca28de835478e84c9b7b17bd07348df5b69bccc62c6e4c2c7f71f09969d209660f8b3181a871ab6867e6e1dff8360998eb237d8ea SHA512 fa22f1a2c777aac6932551b5adc925288c424dc1af46a974fdb2e3579205b40b204db01d2a8c4048aa333a200efc241f784b9bc9276277e8ab4d23edb023ab69
EBUILD sdl2-net-2.0.1.ebuild 824 BLAKE2B e7ec9b5ba6548415108eeaa22043969112bc3d61cd330637669272f4987dedf3b0900a1a1ec40f6696f03aef5c46afa7a6b9f74b605939fe927d5c0d9a7c5d71 SHA512 04911606d152393946e55e49ffbf5ca65ff46a472a90a4eaebc2f539726d31cd362ba69b251c3b97f53b4828b267266973d9f47aee5ffa11b2290cda98ebbcb6
+EBUILD sdl2-net-2.2.0.ebuild 851 BLAKE2B 3c9edf85339424f606d1f05c3926bea9698107e85c3a310bd4df6aefe267af9ff5eabbb0cc5ab395bb9ae703ca6bc6a2246efddfaf3b592d2acd85b3704b3527 SHA512 33d5bdf2671624e6a48870b318a0f837272465fc07511625311c3a2064d0eaf61a99eef319c711f3d107a4c6893529d1ff04be3649616ba684170fbe9a381b41
MISC metadata.xml 363 BLAKE2B eee15854dacbfd1d5c7d7d8adf277d52e5d839681cc29e9969710d0f642c7f04bce10954676a88d34e3f1f472bf30b12a37da3216e09eefae73919032c8c90ba SHA512 40f6f80d29e1a1cff805b9cd74779b03f249f27ce81872c52e27b86753edd0a0e01baa8f2a5928fd9c0c38c8c6cabeb14b91fc98e7bd3b8a720e7bf6fd6fee36
diff --git a/media-libs/sdl2-net/sdl2-net-2.2.0.ebuild b/media-libs/sdl2-net/sdl2-net-2.2.0.ebuild
new file mode 100644
index 000000000000..9bb075cd9518
--- /dev/null
+++ b/media-libs/sdl2-net/sdl2-net-2.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P=SDL2_net-${PV}
+inherit multilib-minimal
+
+DESCRIPTION="Simple Direct Media Layer Network Support Library"
+HOMEPAGE="https://www.libsdl.org/projects/SDL_net/index.html"
+SRC_URI="https://github.com/libsdl-org/SDL_net/releases/download/release-${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=media-libs/libsdl2-2.0.4[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ --disable-examples \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ dodoc {CHANGES,README}.txt
+ find "${ED}" -name '*.la' -delete || die
+}