media-gfx/gozer: eapi bump to 6
authorAmy Liffey <amynka@gentoo.org>
Sun, 6 Aug 2017 08:23:10 +0000 (10:23 +0200)
committerAmy Liffey <amynka@gentoo.org>
Sun, 6 Aug 2017 08:23:10 +0000 (10:23 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

media-gfx/gozer/gozer-0.7-r3.ebuild [new file with mode: 0644]

diff --git a/media-gfx/gozer/gozer-0.7-r3.ebuild b/media-gfx/gozer/gozer-0.7-r3.ebuild
new file mode 100644 (file)
index 0000000..32cb422
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="tool for rendering arbitrary text as graphics, using ttfs and styles"
+HOMEPAGE="http://www.linuxbrit.co.uk/gozer/"
+SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz"
+
+LICENSE="feh LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXext
+       >=media-libs/giblib-1.2.1"
+RDEPEND=">=media-libs/giblib-1.2.1
+       media-libs/imlib2"
+
+src_prepare() {
+       default
+       sed -i src/Makefile.am \
+               -e 's|-g -O3|$(CFLAGS)|g' \
+               -e '/LDFLAGS/s|=|+=|g' \
+               || die "sed src/Makefile.am"
+       eautoreconf
+}
+
+src_install() {
+       emake install DESTDIR="${D}"
+       rm -rf "${D}"/usr/doc || die
+       dodoc TODO README AUTHORS ChangeLog
+}