diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-10 04:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-10 04:03:58 +0100 |
commit | 3aae425b3c39d02e2dc917db0fae8c225c158ca1 (patch) | |
tree | 89f296451fba2217a7c18592ecb1762a920dead7 /media-libs/sdl-gfx | |
parent | 6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (diff) |
gentoo auto-resync : 10:10:2024 - 04:03:57
Diffstat (limited to 'media-libs/sdl-gfx')
-rw-r--r-- | media-libs/sdl-gfx/Manifest | 1 | ||||
-rw-r--r-- | media-libs/sdl-gfx/sdl-gfx-2.0.26-r2.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/sdl-gfx/Manifest b/media-libs/sdl-gfx/Manifest index 954d855f67f6..e6f7daa630a1 100644 --- a/media-libs/sdl-gfx/Manifest +++ b/media-libs/sdl-gfx/Manifest @@ -1,3 +1,4 @@ DIST SDL_gfx-2.0.26.tar.gz 1771164 BLAKE2B 09556762bd9f3e19989d9db4117ec63deff466c015fe0d7b40595b8d3d0f2e7f17d142d101a1463a71144b6ee7700370513057f4f4753a4b4c605308cd42bc64 SHA512 e571caa0d7575683efd4cf8f0a41ab10f4acf913f9ece216ac823af11da22c8734fc2c0ea049009a3e1a53715e49622f5bfcfdbdafb95e5151990d0a4eb69c01 EBUILD sdl-gfx-2.0.26-r1.ebuild 1164 BLAKE2B 92fb8d384f19c99089d905d17af735d8a14064943f5dd6f6ca63f0a4324ca4852e7938a3a5e373fe93bb1d9cb0eb7077a161d0ca54207fc68f4378895e0923ad SHA512 102d297a2d5eed4195fa79d1f0c0999eb04f5d467f382b8d2bdf601b8764c5c95a54bbe46880272713b3e35c9963640295dd39a40ec5ba837dd485b3b8b33683 +EBUILD sdl-gfx-2.0.26-r2.ebuild 1046 BLAKE2B 4101c4fc00511a6d77138715f31137c59510bb281afde431b861a1261a4e3935e17643baf3a489a5fb1114e94637c844a87b3f37bd99f41d2a0a7c9dd6705a4a SHA512 d759c3e8d2f4dc10574c8245fcb4193763868e5f6fd9793f8798ce7f366a2d3a229e5eb60c58d8143414005179cf2de43044e2e2a535ffedcfcdb9cdbd25efd5 MISC metadata.xml 914 BLAKE2B 50c47db903b6572e0eac61ef4b47912eb69229007dcb3c0c041090c7941e7dc883c2d8d6207f025645b61204587446f0f0312360e50819ce059784b2fbf6cb3a SHA512 e1d39569f6049d4b44f358cac9e63a5b267865484327d551d5995778bb98c8f2a21c3ad4b956495d940b878cf55e7091823bcfd054b9c4306c134e328a3af763 diff --git a/media-libs/sdl-gfx/sdl-gfx-2.0.26-r2.ebuild b/media-libs/sdl-gfx/sdl-gfx-2.0.26-r2.ebuild new file mode 100644 index 000000000000..f7192215325c --- /dev/null +++ b/media-libs/sdl-gfx/sdl-gfx-2.0.26-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +MY_P="${P/sdl-/SDL_}" +DESCRIPTION="Graphics drawing primitives library for SDL" +HOMEPAGE="https://www.ferzkopp.net/joomla/content/view/19/14/" +SRC_URI="https://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZLIB" +SLOT="0/16" # libSDL_gfx.so.16 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc cpu_flags_x86_mmx" + +RDEPEND=">=media-libs/libsdl-1.2.15-r4[video,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i -e 's/-O //' configure.in || die + mv configure.{in,ac} || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable cpu_flags_x86_mmx mmx) +} + +multilib_src_install_all() { + einstalldocs + + if use doc ; then + docinto html + dodoc -r Docs/* + fi + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} |