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/sdl-image/
Date: Sun, 25 Jul 2021 01:36:34
Message-Id: 1627176908.6be869a20f381fb84f2c32dd382547b4465a6a1a.ionen@gentoo
1 commit: 6be869a20f381fb84f2c32dd382547b4465a6a1a
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 00:41:08 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=6be869a2
7
8 media-libs/sdl-image: drop vulnerable 1.2.12-r2
9
10 Bug: https://bugs.gentoo.org/772194
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 media-libs/sdl-image/Manifest | 1 -
14 media-libs/sdl-image/sdl-image-1.2.12-r2.ebuild | 60 -------------------------
15 2 files changed, 61 deletions(-)
16
17 diff --git a/media-libs/sdl-image/Manifest b/media-libs/sdl-image/Manifest
18 index 7aa11fed3b8..681f41c3d6e 100644
19 --- a/media-libs/sdl-image/Manifest
20 +++ b/media-libs/sdl-image/Manifest
21 @@ -1,2 +1 @@
22 -DIST SDL_image-1.2.12.tar.gz 2231074 BLAKE2B 0d63e0b2207d1d347ec882e610eb37a625811febc215f089eb00dddec92b1a9fe026d2ab7823677c46e595585f3b5e176c35f9ac1f9ec2debf430ecc3ea950a6 SHA512 0e71b280abc2a7f15755e4480a3c1b52d41f9f8b0c9216a6f5bd9fc0e939456fb5d6c10419e1d1904785783f9a1891ead278c03e88b0466fecc6871c3ca40136
23 DIST SDL_image-1.2.12_p20210314.tar.gz 10890897 BLAKE2B ddc3e0a49e4ce8fc3c46c5dabe277f9bd2db81f43880aadc8fbd3b6fa09254669fdac90ee4c3c7b92d5c7ec97747944c3953ea2dca065e646416391730cb22dd SHA512 f087472593cbaa9e65c5d643d7801e2ff5e49bee66502d8c094ea18bcd5f66e6da153d39bff7bc81ed20556c909fc4cce279275ff55ee00aebf07d39c27fd543
24
25 diff --git a/media-libs/sdl-image/sdl-image-1.2.12-r2.ebuild b/media-libs/sdl-image/sdl-image-1.2.12-r2.ebuild
26 deleted file mode 100644
27 index f7919bd482e..00000000000
28 --- a/media-libs/sdl-image/sdl-image-1.2.12-r2.ebuild
29 +++ /dev/null
30 @@ -1,60 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -inherit multilib-minimal
36 -
37 -MY_P="${P/sdl-/SDL_}"
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 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
45 -IUSE="gif jpeg png static-libs tiff webp"
46 -
47 -RDEPEND="
48 - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
49 - >=media-libs/libsdl-1.2.15-r4[${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 - ECONF_SOURCE="${S}" econf \
60 - --disable-jpg-shared \
61 - --disable-png-shared \
62 - --disable-tif-shared \
63 - --disable-webp-shared \
64 - $(use_enable static-libs static) \
65 - $(use_enable gif) \
66 - $(use_enable jpeg jpg) \
67 - $(use_enable tiff tif) \
68 - $(use_enable png) \
69 - $(use_enable webp) \
70 - --enable-bmp \
71 - --enable-lbm \
72 - --enable-pcx \
73 - --enable-pnm \
74 - --enable-tga \
75 - --enable-xcf \
76 - --enable-xpm \
77 - --enable-xv
78 -}
79 -
80 -multilib_src_install() {
81 - emake DESTDIR="${D}" install
82 - dobin .libs/showimage
83 -}
84 -
85 -multilib_src_install_all() {
86 - dodoc CHANGES README
87 - if ! use static-libs; then
88 - find "${ED}" -name '*.la' -delete || die
89 - fi
90 -}