diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-08-11 06:41:34 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-08-11 06:41:34 +0000 |
commit | 2e126b1e4ab58dcce60d2ca4d13c234f00b95087 (patch) | |
tree | 18f57ab5481ec4e5841c4793ced0bcd8e9bc3bbf /media-gfx | |
parent | Drop masks for >=gcc-4.4 on Solaris/Sparc, compilation has been fixed (diff) | |
download | gentoo-2-2e126b1e4ab58dcce60d2ca4d13c234f00b95087.tar.gz gentoo-2-2e126b1e4ab58dcce60d2ca4d13c234f00b95087.tar.bz2 gentoo-2-2e126b1e4ab58dcce60d2ca4d13c234f00b95087.zip |
Initial import (bug #366871). Ebuild based on work by Petr Sabata.
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/sxiv/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/sxiv/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/sxiv/sxiv-0.8.2.ebuild | 33 |
3 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog new file mode 100644 index 000000000000..3d421a466838 --- /dev/null +++ b/media-gfx/sxiv/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*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 000000000000..9be90a258970 --- /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-0.8.2.ebuild b/media-gfx/sxiv/sxiv-0.8.2.ebuild new file mode 100644 index 000000000000..cee2b09e1809 --- /dev/null +++ b/media-gfx/sxiv/sxiv-0.8.2.ebuild @@ -0,0 +1,33 @@ +# 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.8.2.ebuild,v 1.1 2011/08/11 06:41:34 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 +=:" Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" install + dodoc README.md +} |