diff options
author | Markus Meier <maekke@gentoo.org> | 2009-06-01 13:25:25 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-06-01 13:25:25 +0000 |
commit | 148b15ac409d9c2b088c3fb9be48940043368f8f (patch) | |
tree | e4a7eef5d978cf6be1aa723f08b442fcedbc402f /media-gfx | |
parent | Add sparc for testing, part of Bug #272046. (diff) | |
download | gentoo-2-148b15ac409d9c2b088c3fb9be48940043368f8f.tar.gz gentoo-2-148b15ac409d9c2b088c3fb9be48940043368f8f.tar.bz2 gentoo-2-148b15ac409d9c2b088c3fb9be48940043368f8f.zip |
initial import of gtkimageview, ebuild by me
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gtkimageview/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild | 40 | ||||
-rw-r--r-- | media-gfx/gtkimageview/metadata.xml | 5 |
3 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/gtkimageview/ChangeLog b/media-gfx/gtkimageview/ChangeLog new file mode 100644 index 000000000000..52bb285cb61e --- /dev/null +++ b/media-gfx/gtkimageview/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-gfx/gtkimageview +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkimageview/ChangeLog,v 1.1 2009/06/01 13:25:25 maekke Exp $ + +*gtkimageview-1.6.4 (01 Jun 2009) + + 01 Jun 2009; Markus Meier <maekke@gentoo.org> +gtkimageview-1.6.4.ebuild, + +metadata.xml: + initial import of gtkimageview, ebuild by me + diff --git a/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild b/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild new file mode 100644 index 000000000000..357a439167f9 --- /dev/null +++ b/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild,v 1.1 2009/06/01 13:25:25 maekke Exp $ + +EAPI="2" + +DESCRIPTION="GtkImageView is a simple image viewer widget for GTK." +HOMEPAGE="http://trac.bjourne.webfactional.com/wiki" +SRC_URI="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/${P}.tar.gz?format=raw +-> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +# tests do not work with userpriv +RESTRICT="userpriv" + +DEPEND="gnome-base/gnome-common + >=x11-libs/gtk+-2.6" +RDEPEND="${DEPEND}" + +src_test() { + # the tests are only built, but not run by default + local failed="0" + emake check || die + cd "${S}"/tests + for test in test-* ; do + if [[ -x ${test} ]] ; then + ./${test} || failed=$((${failed}+1)) + fi + done + [[ ${failed} -gt 0 ]] && die "${failed} tests failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README || die +} + diff --git a/media-gfx/gtkimageview/metadata.xml b/media-gfx/gtkimageview/metadata.xml new file mode 100644 index 000000000000..a083c07fab9e --- /dev/null +++ b/media-gfx/gtkimageview/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> |