summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-11 03:49:01 +0000
committerSam James <sam@gentoo.org>2022-11-11 03:49:01 +0000
commit59ec704a468a3772057c21fd308ba7481a06b30e (patch)
treea33e8087ecd208c7a7348037dc797807d1faad6d /media-libs
parentmedia-libs/sdl-net: add github upstream metadata (diff)
downloadgentoo-59ec704a468a3772057c21fd308ba7481a06b30e.tar.gz
gentoo-59ec704a468a3772057c21fd308ba7481a06b30e.tar.bz2
gentoo-59ec704a468a3772057c21fd308ba7481a06b30e.zip
media-libs/sdl-net: add 1.2.8_p20221010
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl-net/Manifest1
-rw-r--r--media-libs/sdl-net/sdl-net-1.2.8_p20221010.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/sdl-net/Manifest b/media-libs/sdl-net/Manifest
index e51e1b5094b6..8f86b7d2b941 100644
--- a/media-libs/sdl-net/Manifest
+++ b/media-libs/sdl-net/Manifest
@@ -1 +1,2 @@
DIST SDL_net-1.2.8.tar.gz 360958 BLAKE2B 656fb9c86949bc962656edc7b950e64eee9b9b1ce1b257e6c4974c2d9be99714128c5556d3a3b7ea92cc6d294846af7a51a1925d17418afc8409e44a7b71099a SHA512 2766ca55343127c619958ab3a3ae3052a27a676839f10a158f7dfc071b8db38c2f1fc853e8add32b9fef94ab07eaa986f46a68e264e8087b57c990af30ea9a0b
+DIST sdl-net-1.2.8_p20221010.tar.gz 373106 BLAKE2B 00f98a3326d5aba85acf839c4c4d02e8ac78d99bf5633ce8cdf0cf8bb281f2a730769a9ef769c834f847db74712c6715928b37520ed5c60aa06e4d828c8650e2 SHA512 643f0505252e32cca88456edcce7d41f0b37e1362bcdf26d714d2473be323ed70b43c825eb96522d9562be5f6830cb9062250de2e8b1244bbc8d31fa800d3342
diff --git a/media-libs/sdl-net/sdl-net-1.2.8_p20221010.ebuild b/media-libs/sdl-net/sdl-net-1.2.8_p20221010.ebuild
new file mode 100644
index 000000000000..6496f4ec0f93
--- /dev/null
+++ b/media-libs/sdl-net/sdl-net-1.2.8_p20221010.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check SDL-1.2 branch for possible backports/new snapshots
+
+inherit multilib-minimal
+
+SDL_NET_COMMIT="091c95c031769f48d3ffaacddfdea1af999f4446"
+
+MY_PN="${PN/sdl-/SDL_}"
+DESCRIPTION="Simple Direct Media Layer Network Support Library"
+HOMEPAGE="https://github.com/libsdl-org/SDL_net"
+SRC_URI="https://github.com/libsdl-org/SDL_net/archive/${SDL_NET_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${MY_PN}-${SDL_NET_COMMIT}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+
+RDEPEND="media-libs/libsdl[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf --disable-gui
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}