summaryrefslogtreecommitdiff
path: root/media-gfx/ttygif
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /media-gfx/ttygif
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'media-gfx/ttygif')
-rw-r--r--media-gfx/ttygif/Manifest3
-rw-r--r--media-gfx/ttygif/files/ldflags-support.patch19
-rw-r--r--media-gfx/ttygif/ttygif-1.80_p20181218.ebuild12
3 files changed, 31 insertions, 3 deletions
diff --git a/media-gfx/ttygif/Manifest b/media-gfx/ttygif/Manifest
index 92b36e2c67b6..ec56b0a98a7f 100644
--- a/media-gfx/ttygif/Manifest
+++ b/media-gfx/ttygif/Manifest
@@ -1,3 +1,4 @@
+AUX ldflags-support.patch 550 BLAKE2B 1cf7bc0cb2a9ce13654524204e7b3d47e9df1a0d4ceb5e60e63c52c2d8508d6d8dfb353be35147d8419fa57d4fdde2bc00b9b12292de789d0d559caa25c60b5b SHA512 ec238c42a9b7574ee7b18b8fd2d2aedb23bb4b86981fdccb09aab8e5671c4f9494d448f9d9ecb5f4279cc1c2ca850a64d80364de002430278986155332116dbb
DIST ttygif-1.80_p20181218.tar.gz 8428 BLAKE2B 376b6dca4d13120b90e3055e8a37acd017aa7966267d6ad76af6eb2cc4155c8b8ce9d618c682cf1c999095c96ae78e11ec343e0752362851f9a2b660820dc403 SHA512 f992094c0baa625106eefdebbde1d91f2686c0b01c4b3ec22ec9339c88df42c830e4417338c685b375646b212db0213983b41b8d6ee9bd9644dfb56f6db31f52
-EBUILD ttygif-1.80_p20181218.ebuild 589 BLAKE2B 609ad213d3a3efff6875f2d9911d3f535ef047659751385a4d6567649f3feabc49a60b9cabe9cac13e664bb1b7976bb1c79006ca829e917bdcacb807b7e24938 SHA512 248560bd9b524f1fd36a4b11a69675b18cfaecce6e73fa1a94176746fc6a9ba0e6c1a3ca16964b523b5a8fb0b27f4c2e94e373f1594dc08626d12874d57a6ea2
+EBUILD ttygif-1.80_p20181218.ebuild 776 BLAKE2B 57a41aa243d7f75e628cebeac04c0c27609f033be1c667c8e0f9b9ad28d373bf3d53a541b72e401d4a07455634be692a097d7bc506a512fe36c0828d66d58997 SHA512 9ac733ac43d720f1fd7f81e820dcb398409e69f30e3392bb21f0edfb964cf53446162bd7a72c86a4ec76ea08d27a57cbdccab35a3f405d15df87761743298308
MISC metadata.xml 339 BLAKE2B b66a558314f330d1c45e41a7630fe5e454270bf14a9cc038cc3f94c8ecd8dd9a51946c9f7faf39a96756c72df41c4847a7894c0373d39cfc3b1a06523a3f7219 SHA512 db977e98c60cbb3aa265263d0f400999bcbb9977f63c5ef6ed8a303e4c63ba652bbcfde2cc41697b0bd6b4063de90fb74eacd327a7053f0823f1ee485ea8b451
diff --git a/media-gfx/ttygif/files/ldflags-support.patch b/media-gfx/ttygif/files/ldflags-support.patch
new file mode 100644
index 000000000000..201f72fb04a6
--- /dev/null
+++ b/media-gfx/ttygif/files/ldflags-support.patch
@@ -0,0 +1,19 @@
+--- a/Makefile 2020-06-09 12:07:21.881455454 -0000
++++ b/Makefile 2020-06-09 12:08:43.984010587 -0000
+@@ -2,6 +2,7 @@
+ VERSION = '"1.4.0"'
+ CFLAGS += -O2 -Wall -DVERSION=$(VERSION)
+ PREFIX ?= /usr/local
++LDFLAGS ?= -L/usr/lib
+
+ UNAME := $(shell uname)
+ ifeq ($(UNAME), Darwin)
+@@ -14,7 +15,7 @@
+ all: ttygif
+
+ ttygif: ttygif.o io.o string_builder.o utils.o
+- $(CC) $(CFLAGS) -o ttygif ttygif.o io.o string_builder.o utils.o
++ $(CC) $(CFLAGS) -o ttygif ttygif.o io.o string_builder.o utils.o $(LDFLAGS)
+
+ install: ttygif
+ install -d $(PREFIX)/bin
diff --git a/media-gfx/ttygif/ttygif-1.80_p20181218.ebuild b/media-gfx/ttygif/ttygif-1.80_p20181218.ebuild
index 32b4aa70ac51..a88b74156eb8 100644
--- a/media-gfx/ttygif/ttygif-1.80_p20181218.ebuild
+++ b/media-gfx/ttygif/ttygif-1.80_p20181218.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit vcs-snapshot
+inherit vcs-snapshot toolchain-funcs
# Commit Date: Dec 18th 2018
COMMIT="362bc381c1c2449509e732d68f07656caf46b420"
@@ -18,11 +18,19 @@ SLOT="0"
DOCS=( LICENSE README.md )
+PATCHES=( "${FILESDIR}/ldflags-support.patch" )
+
RDEPEND="
x11-apps/xwd
app-misc/ttyrec
media-gfx/imagemagick"
+src_compile() {
+ emake CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS} -DVERSION='\"${PV}\"' -DOS_LINUX" \
+ LDFLAGS="${LDFLAGS}"
+}
+
src_install() {
dobin "${PN}"
einstalldocs