summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-13 10:29:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-13 15:51:05 +0200
commit6a7d22a740c997631b0cb105c996cdfc408a1c53 (patch)
tree400397f6118429d8cae9b7e3e7e822fa54a47357 /media-libs
parentmedia-libs/libopenraw: drop 0.3.6 (diff)
downloadgentoo-6a7d22a740c997631b0cb105c996cdfc408a1c53.tar.gz
gentoo-6a7d22a740c997631b0cb105c996cdfc408a1c53.tar.bz2
gentoo-6a7d22a740c997631b0cb105c996cdfc408a1c53.zip
media-libs/giflib: drop 5.2.1-r1
Bug: https://bugs.gentoo.org/785664 Bug: https://bugs.gentoo.org/851945 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/giflib/Manifest1
-rw-r--r--media-libs/giflib/giflib-5.2.1-r1.ebuild76
2 files changed, 0 insertions, 77 deletions
diff --git a/media-libs/giflib/Manifest b/media-libs/giflib/Manifest
index f68f61543f81..a4470d33d27b 100644
--- a/media-libs/giflib/Manifest
+++ b/media-libs/giflib/Manifest
@@ -1,2 +1 @@
-DIST giflib-5.2.1.tar.gz 444187 BLAKE2B 8c1e105bbb65dc7ab103976caed70834356440f381ec5118311882fb1c558bb65f6c1081e5767f9835087860de44df5dfcd2826f89744dded548d535736f27f0 SHA512 4550e53c21cb1191a4581e363fc9d0610da53f7898ca8320f0d3ef6711e76bdda2609c2df15dc94c45e28bff8de441f1227ec2da7ea827cb3c0405af4faa4736
DIST giflib-5.2.2.tar.gz 447175 BLAKE2B 5729628044f1bd9227856c76f67b673760c7c93860d9131ab0f67d900b8090fa24693ce16555ff65cfd839c6c960630d49a19ee26e03bdc9d2b4626f9efac393 SHA512 0865ab2b1904fa14640c655fdb14bb54244ad18a66e358565c00287875d00912343f9be8bfac7658cc0146200d626f7ec9160d7a339f20ba3be6b9941d73975f
diff --git a/media-libs/giflib/giflib-5.2.1-r1.ebuild b/media-libs/giflib/giflib-5.2.1-r1.ebuild
deleted file mode 100644
index 265e7e403a83..000000000000
--- a/media-libs/giflib/giflib-5.2.1-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-minimal toolchain-funcs
-
-DESCRIPTION="Library to handle, display and manipulate GIF images"
-HOMEPAGE="https://sourceforge.net/projects/giflib/"
-SRC_URI="https://downloads.sourceforge.net/giflib/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/7"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
-IUSE="doc static-libs"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.1.9-gentoo.patch
- "${FILESDIR}"/${PN}-5.2.1-fix-missing-quantize-API-symbols.patch
-)
-
-src_prepare() {
- default
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- # Use reallocarray() from libc if available.
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_GNU_SOURCE -o "${T}/reallocarray_test" -x c - <<< $'#include <stdlib.h>\nint main() {void *p = reallocarray(NULL, 0, 0);}' 2> /dev/null; then
- local -x CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE -DHAVE_REALLOCARRAY"
- sed -e "s/ openbsd-reallocarray\.c//" -i Makefile || die
- rm openbsd-reallocarray.c || die
- fi
-
- emake \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS} -std=gnu99 -fPIC -Wno-format-truncation" \
- LDFLAGS="${LDFLAGS}" \
- OFLAGS="" \
- all
-
- if use doc && multilib_is_native_abi; then
- emake -C doc
- fi
-}
-
-multilib_src_install() {
- emake \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
- install
-
- if ! use static-libs ; then
- find "${ED}" -name "*.a" -delete || die
- fi
-
- if use doc && multilib_is_native_abi; then
- docinto html
- dodoc doc/*.html
- fi
-}
-
-multilib_src_install_all() {
- local DOCS=( ChangeLog NEWS README TODO )
- einstalldocs
- if use doc ; then
- docinto html
- dodoc -r doc/{gifstandard,whatsinagif}
- fi
-}
-
-multilib_src_test() {
- emake -j1 check
-}