From abefc24fdeedf48cbef227f779aa3cabc96587ab Mon Sep 17 00:00:00 2001
From: Tim Harder <radhermit@gentoo.org>
Date: Wed, 17 Aug 2011 03:35:41 +0000
Subject: Version bump

(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
---
 media-gfx/sxiv/ChangeLog       |  7 ++++++-
 media-gfx/sxiv/sxiv-0.9.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 media-gfx/sxiv/sxiv-0.9.ebuild

(limited to 'media-gfx/sxiv')

diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog
index 3d421a466838..17a361f87df9 100644
--- a/media-gfx/sxiv/ChangeLog
+++ b/media-gfx/sxiv/ChangeLog
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/sxiv
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.1 2011/08/11 06:41:34 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.2 2011/08/17 03:35:41 radhermit Exp $
+
+*sxiv-0.9 (17 Aug 2011)
+
+  17 Aug 2011; Tim Harder <radhermit@gentoo.org> +sxiv-0.9.ebuild:
+  Version bump
 
 *sxiv-0.8.2 (11 Aug 2011)
 
diff --git a/media-gfx/sxiv/sxiv-0.9.ebuild b/media-gfx/sxiv/sxiv-0.9.ebuild
new file mode 100644
index 000000000000..aeb8c8f513d4
--- /dev/null
+++ b/media-gfx/sxiv/sxiv-0.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/sxiv-0.9.ebuild,v 1.1 2011/08/17 03:35:41 radhermit Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Simple (or small or suckless) X Image Viewer"
+HOMEPAGE="https://github.com/muennich/sxiv/"
+SRC_URI="https://github.com/downloads/muennich/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+	x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -i -e "s:^\(\(C\|LD\)FLAGS\) =:\1 +=:" \
+		-e "s:-O2 ::" Makefile || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	emake DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" install
+	dodoc README.md
+}
-- 
cgit v1.2.3-65-gdbad