summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2018-04-27 18:05:47 -0700
committerMatt Turner <mattst88@gentoo.org>2018-04-27 18:07:45 -0700
commit314d7f78bdd0c13ff56f29ffbdb6a839d6f368b4 (patch)
tree354a6164a45486bc1e809dd0d3233dd2d55b785c /media-gfx/tgif/tgif-4.2.5-r2.ebuild
parentmail-mta/exim: Drop unnecessary x11-proto dep (diff)
downloadgentoo-314d7f78bdd0c13ff56f29ffbdb6a839d6f368b4.tar.gz
gentoo-314d7f78bdd0c13ff56f29ffbdb6a839d6f368b4.tar.bz2
gentoo-314d7f78bdd0c13ff56f29ffbdb6a839d6f368b4.zip
media-gfx/tgif: Drop unnecessary x11-proto dep
Diffstat (limited to 'media-gfx/tgif/tgif-4.2.5-r2.ebuild')
-rw-r--r--media-gfx/tgif/tgif-4.2.5-r2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/tgif/tgif-4.2.5-r2.ebuild b/media-gfx/tgif/tgif-4.2.5-r2.ebuild
new file mode 100644
index 000000000000..e65052ca1907
--- /dev/null
+++ b/media-gfx/tgif/tgif-4.2.5-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+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"
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i \
+ -e 's/^CFLAGS=/CFLAGS+=/' \
+ -e 's:^TGIFDIR.*:TGIFDIR = $(datadir)/tgif:' \
+ Makefile.am || die 'sed on Makefile.am failed'
+
+ append-cppflags -D_DONT_USE_MKTEMP -DHAS_STREAMS_SUPPORT
+
+ default
+ eautoreconf
+}