diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-01 20:53:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-01 20:53:45 +0000 |
commit | 896d6a8a88861c42b5d531a2f147c8a29a149bd8 (patch) | |
tree | 081fe10813721a96088dca6b54bc35bcac18afc6 /media-gfx/tgif/tgif-4.2.5-r3.ebuild | |
parent | 3059f20995d5ac642b7b4a38d538fdf1cc45d90d (diff) |
gentoo auto-resync : 01:12:2022 - 20:53:45
Diffstat (limited to 'media-gfx/tgif/tgif-4.2.5-r3.ebuild')
-rw-r--r-- | media-gfx/tgif/tgif-4.2.5-r3.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/tgif/tgif-4.2.5-r3.ebuild b/media-gfx/tgif/tgif-4.2.5-r3.ebuild new file mode 100644 index 000000000000..64fe95e20c46 --- /dev/null +++ b/media-gfx/tgif/tgif-4.2.5-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +MY_P="${PN}-QPL-${PV}" + +DESCRIPTION="Xlib base 2-D drawing facility under X11" +HOMEPAGE="http://bourbon.usc.edu/tgif/index.html" +SRC_URI="ftp://bourbon.usc.edu/pub/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND=" + sys-libs/zlib + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXt +" +RDEPEND=" + ${DEPEND} + media-libs/netpbm +" + +PATCHES=( + "${FILESDIR}/${P}-wformat-security.patch" + "${FILESDIR}/${P}-implicit-int.patch" +) + +src_prepare() { + default + + sed -i \ + -e 's/^CFLAGS=/CFLAGS+=/' \ + -e 's:^TGIFDIR.*:TGIFDIR = $(datadir)/tgif:' \ + Makefile.am || die 'sed on Makefile.am failed' + + eautoreconf +} + +src_configure() { + # bug #881325 + append-cflags -std=gnu89 + append-cppflags -D_DONT_USE_MKTEMP -DHAS_STREAMS_SUPPORT + + default +} |