media-libs/sdl2-image: drop vulnerable 2.0.5

Bug: https://bugs.gentoo.org/772194
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-07-24 21:35:08 -04:00
parent 6be869a20f
commit 4020ec8a3d
2 changed files with 0 additions and 62 deletions
-1
View File
@@ -1,2 +1 @@
DIST SDL2_image-2.0.5.tar.gz 11736518 BLAKE2B 8009fc4ff76d8f8f4093c02304329218e1d8b7d6fd9c747387f239bc6ee09133f8f3faee0005267ce29c083a6bf4ddcf8db72f502ea047f7288ec57ebbb16380 SHA512 77e743d3f32707e015b290c1379ae3c7d7a3fe265995713267f0d0ec6517de4808f0de9890b5ab28445941af5bc9fbff346620629e0d7d7e9f365262cab05ee7
DIST SDL2_image-2.0.5_p20210328.tar.gz 12397062 BLAKE2B ae4fe8c30b21bc7dca87e2e78cab43c83e891630962eb020c29ba84c2b206bb749491dccddd8bcc212f2fd07da651691151baf41212fb5ea954427543e3bf994 SHA512 9ba0b671dedfb7bde072424cebfa7d65e79d2d58416833d84548777aff6bf0edda8dbe30c3e423bbb724f794b4b191e609b148f38573b4166eef31203ab0005d
@@ -1,61 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit multilib multilib-minimal
MY_P="SDL2_image-${PV}"
DESCRIPTION="Image file loading library"
HOMEPAGE="http://www.libsdl.org/projects/SDL_image/"
SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
IUSE="gif jpeg png static-libs tiff webp"
RDEPEND="
>=media-libs/libsdl2-2.0.9[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
tiff? ( >=media-libs/tiff-3.9.7-r1:0[${MULTILIB_USEDEP}] )
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
DEPEND=${RDEPEND}
S="${WORKDIR}/${MY_P}"
multilib_src_configure() {
local myeconfargs=(
$(use_enable static-libs static)
--disable-sdltest
--enable-bmp
$(use_enable gif)
$(use_enable jpeg jpg)
--disable-jpg-shared
--enable-lbm
--enable-pcx
$(use_enable png)
--disable-png-shared
--enable-pnm
--enable-tga
$(use_enable tiff tif)
--disable-tif-shared
--enable-xcf
--enable-xpm
--enable-xv
$(use_enable webp)
--disable-webp-shared
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_install() {
emake DESTDIR="${D}" install
multilib_is_native_abi && newbin .libs/showimage$(get_exeext) showimage2$(get_exeext)
}
multilib_src_install_all() {
dodoc {CHANGES,README}.txt
find "${ED}" -type f -name "*.la" -delete || die
}