diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-08-26 20:47:15 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-08-26 20:47:15 +0000 |
commit | 23aab3e0cdc96499c77cfb927f41470260456666 (patch) | |
tree | 3b17f8e438b84c9bdd0c191e071c7244527ad7e6 /media-gfx | |
parent | Build cstester only if tests are requested; then, require karbon; bug 380293 (diff) | |
download | gentoo-2-23aab3e0cdc96499c77cfb927f41470260456666.tar.gz gentoo-2-23aab3e0cdc96499c77cfb927f41470260456666.tar.bz2 gentoo-2-23aab3e0cdc96499c77cfb927f41470260456666.zip |
Revbump to add support for savedconfig (bug #380419 by James Rowe).
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/sxiv/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/sxiv/sxiv-0.9-r1.ebuild | 38 |
2 files changed, 44 insertions, 1 deletions
diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog index 17a361f87df9..da91efcd380e 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.2 2011/08/17 03:35:41 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.3 2011/08/26 20:47:15 radhermit Exp $ + +*sxiv-0.9-r1 (26 Aug 2011) + + 26 Aug 2011; Tim Harder <radhermit@gentoo.org> +sxiv-0.9-r1.ebuild: + Revbump to add support for savedconfig (bug #380419 by James Rowe). *sxiv-0.9 (17 Aug 2011) diff --git a/media-gfx/sxiv/sxiv-0.9-r1.ebuild b/media-gfx/sxiv/sxiv-0.9-r1.ebuild new file mode 100644 index 000000000000..3d724345fd11 --- /dev/null +++ b/media-gfx/sxiv/sxiv-0.9-r1.ebuild @@ -0,0 +1,38 @@ +# 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-r1.ebuild,v 1.1 2011/08/26 20:47:15 radhermit 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 +} |