Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/sxiv: ChangeLog sxiv-1.0.ebuild
Date: Mon, 14 Nov 2011 02:27:38
Message-Id: 20111114022729.0BC4A2004C@flycatcher.gentoo.org
xmw         11/11/14 02:27:29

  Modified:             ChangeLog
  Added:                sxiv-1.0.ebuild
  Log:
  Version bump
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  media-gfx/sxiv/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	26 Aug 2011 20:52:15 -0000	1.4
+++ ChangeLog	14 Nov 2011 02:27:28 -0000	1.5
@@ -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.4 2011/08/26 20:52:15 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.5 2011/11/14 02:27:28 xmw Exp $
+
+*sxiv-1.0 (14 Nov 2011)
+
+  14 Nov 2011; Michael Weber <xmw@g.o> +sxiv-1.0.ebuild:
+  Version bump
 
   26 Aug 2011; Tim Harder <radhermit@g.o> -sxiv-0.8.2.ebuild,
   -sxiv-0.9.ebuild:



1.1                  media-gfx/sxiv/sxiv-1.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/sxiv-1.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/sxiv-1.0.ebuild?rev=1.1&content-type=text/plain

Index: sxiv-1.0.ebuild
===================================================================
# 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-1.0.ebuild,v 1.1 2011/11/14 02:27:28 xmw Exp $

EAPI=4

inherit eutils savedconfig 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

	restore_config config.h
}

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	emake DESTDIR="${ED}" PREFIX="${EPREFIX}"/usr install
	dodoc README.md

	save_config config.h
}