diff options
author | Justin Riley <justin.t.riley@gmail.com> | 2012-05-15 18:43:15 -0400 |
---|---|---|
committer | Justin Riley <justin.t.riley@gmail.com> | 2012-05-15 18:43:15 -0400 |
commit | bd745e84303f661951701d18057b5ce71789cda2 (patch) | |
tree | 0439b0308cd3b76cd8e0f65bc5d9fc745a216355 | |
parent | remove cdm now that it's in the portage tree (diff) | |
download | jtriley-bd745e84303f661951701d18057b5ce71789cda2.tar.gz jtriley-bd745e84303f661951701d18057b5ce71789cda2.tar.bz2 jtriley-bd745e84303f661951701d18057b5ce71789cda2.zip |
add sxiv live ebuild (9999)
-rw-r--r-- | media-gfx/sxiv/ChangeLog | 39 | ||||
-rw-r--r-- | media-gfx/sxiv/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/sxiv/sxiv-9999.ebuild | 37 |
3 files changed, 81 insertions, 0 deletions
diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog new file mode 100644 index 0000000..3df29c7 --- /dev/null +++ b/media-gfx/sxiv/ChangeLog @@ -0,0 +1,39 @@ +# ChangeLog for media-gfx/sxiv +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.8 2012/04/23 20:25:56 mgorny Exp $ + + 23 Apr 2012; Michał Górny <mgorny@gentoo.org> sxiv-0.9-r1.ebuild, + sxiv-1.0.ebuild: + Use mirror://github. + + 05 Apr 2012; Jeff Horelick <jdhore@gentoo.org> sxiv-1.0.ebuild: + marked x86 per bug 409879 + + 29 Mar 2012; Agostino Sarubbo <ago@gentoo.org> sxiv-1.0.ebuild: + Stable for amd64, wrt bug #409879 + +*sxiv-1.0 (14 Nov 2011) + + 14 Nov 2011; Michael Weber <xmw@gentoo.org> +sxiv-1.0.ebuild: + Version bump + + 26 Aug 2011; Tim Harder <radhermit@gentoo.org> -sxiv-0.8.2.ebuild, + -sxiv-0.9.ebuild: + Remove old. + +*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) + + 17 Aug 2011; Tim Harder <radhermit@gentoo.org> +sxiv-0.9.ebuild: + Version bump + +*sxiv-0.8.2 (11 Aug 2011) + + 11 Aug 2011; Tim Harder <radhermit@gentoo.org> +sxiv-0.8.2.ebuild, + +metadata.xml: + Initial import (bug #366871). Ebuild based on work by Petr Sabata. + diff --git a/media-gfx/sxiv/metadata.xml b/media-gfx/sxiv/metadata.xml new file mode 100644 index 0000000..9be90a2 --- /dev/null +++ b/media-gfx/sxiv/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> +</pkgmetadata> diff --git a/media-gfx/sxiv/sxiv-9999.ebuild b/media-gfx/sxiv/sxiv-9999.ebuild new file mode 100644 index 0000000..b9aa578 --- /dev/null +++ b/media-gfx/sxiv/sxiv-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 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.4 2012/04/23 20:25:56 mgorny Exp $ + +EAPI=4 + +inherit eutils savedconfig toolchain-funcs git-2 + +DESCRIPTION="Simple (or small or suckless) X Image Viewer" +HOMEPAGE="https://github.com/muennich/sxiv/" +EGIT_REPO_URI="http://github.com/muennich/${PN}.git" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +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 +} |