summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-17 03:35:41 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-17 03:35:41 +0000
commitabefc24fdeedf48cbef227f779aa3cabc96587ab (patch)
tree690c22257ec31e5c17559a3c523d0aef76fad008
parentVersion bump to bugfix release and remove old. (diff)
downloadgentoo-2-abefc24fdeedf48cbef227f779aa3cabc96587ab.tar.gz
gentoo-2-abefc24fdeedf48cbef227f779aa3cabc96587ab.tar.bz2
gentoo-2-abefc24fdeedf48cbef227f779aa3cabc96587ab.zip
Version bump
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
-rw-r--r--media-gfx/sxiv/ChangeLog7
-rw-r--r--media-gfx/sxiv/sxiv-0.9.ebuild34
2 files changed, 40 insertions, 1 deletions
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
+}