Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl2-image/
Date: Sun, 25 Jul 2021 01:36:34
Message-Id: 1627176908.4020ec8a3d7dbefeb4f388a633d1dedefe093333.ionen@gentoo
1 commit: 4020ec8a3d7dbefeb4f388a633d1dedefe093333
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 00:42:10 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 25 01:35:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4020ec8a
7
8 media-libs/sdl2-image: drop vulnerable 2.0.5
9
10 Bug: https://bugs.gentoo.org/772194
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 media-libs/sdl2-image/Manifest | 1 -
14 media-libs/sdl2-image/sdl2-image-2.0.5.ebuild | 61 ---------------------------
15 2 files changed, 62 deletions(-)
16
17 diff --git a/media-libs/sdl2-image/Manifest b/media-libs/sdl2-image/Manifest
18 index 9819befb679..a1ee4a65116 100644
19 --- a/media-libs/sdl2-image/Manifest
20 +++ b/media-libs/sdl2-image/Manifest
21 @@ -1,2 +1 @@
22 -DIST SDL2_image-2.0.5.tar.gz 11736518 BLAKE2B 8009fc4ff76d8f8f4093c02304329218e1d8b7d6fd9c747387f239bc6ee09133f8f3faee0005267ce29c083a6bf4ddcf8db72f502ea047f7288ec57ebbb16380 SHA512 77e743d3f32707e015b290c1379ae3c7d7a3fe265995713267f0d0ec6517de4808f0de9890b5ab28445941af5bc9fbff346620629e0d7d7e9f365262cab05ee7
23 DIST SDL2_image-2.0.5_p20210328.tar.gz 12397062 BLAKE2B ae4fe8c30b21bc7dca87e2e78cab43c83e891630962eb020c29ba84c2b206bb749491dccddd8bcc212f2fd07da651691151baf41212fb5ea954427543e3bf994 SHA512 9ba0b671dedfb7bde072424cebfa7d65e79d2d58416833d84548777aff6bf0edda8dbe30c3e423bbb724f794b4b191e609b148f38573b4166eef31203ab0005d
24
25 diff --git a/media-libs/sdl2-image/sdl2-image-2.0.5.ebuild b/media-libs/sdl2-image/sdl2-image-2.0.5.ebuild
26 deleted file mode 100644
27 index 2989d03dc40..00000000000
28 --- a/media-libs/sdl2-image/sdl2-image-2.0.5.ebuild
29 +++ /dev/null
30 @@ -1,61 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -inherit multilib multilib-minimal
36 -
37 -MY_P="SDL2_image-${PV}"
38 -DESCRIPTION="Image file loading library"
39 -HOMEPAGE="http://www.libsdl.org/projects/SDL_image/"
40 -SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
41 -
42 -LICENSE="ZLIB"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
45 -IUSE="gif jpeg png static-libs tiff webp"
46 -
47 -RDEPEND="
48 - >=media-libs/libsdl2-2.0.9[${MULTILIB_USEDEP}]
49 - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
50 - png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
51 - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
52 - tiff? ( >=media-libs/tiff-3.9.7-r1:0[${MULTILIB_USEDEP}] )
53 - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
54 -DEPEND=${RDEPEND}
55 -
56 -S="${WORKDIR}/${MY_P}"
57 -
58 -multilib_src_configure() {
59 - local myeconfargs=(
60 - $(use_enable static-libs static)
61 - --disable-sdltest
62 - --enable-bmp
63 - $(use_enable gif)
64 - $(use_enable jpeg jpg)
65 - --disable-jpg-shared
66 - --enable-lbm
67 - --enable-pcx
68 - $(use_enable png)
69 - --disable-png-shared
70 - --enable-pnm
71 - --enable-tga
72 - $(use_enable tiff tif)
73 - --disable-tif-shared
74 - --enable-xcf
75 - --enable-xpm
76 - --enable-xv
77 - $(use_enable webp)
78 - --disable-webp-shared
79 - )
80 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
81 -}
82 -
83 -multilib_src_install() {
84 - emake DESTDIR="${D}" install
85 - multilib_is_native_abi && newbin .libs/showimage$(get_exeext) showimage2$(get_exeext)
86 -}
87 -
88 -multilib_src_install_all() {
89 - dodoc {CHANGES,README}.txt
90 - find "${ED}" -type f -name "*.la" -delete || die
91 -}