diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gqview/gqview-2.1.5-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gqview/gqview-2.1.5-r1.ebuild')
-rw-r--r-- | media-gfx/gqview/gqview-2.1.5-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/gqview/gqview-2.1.5-r1.ebuild b/media-gfx/gqview/gqview-2.1.5-r1.ebuild new file mode 100644 index 000000000000..c1d9ad5dcda9 --- /dev/null +++ b/media-gfx/gqview/gqview-2.1.5-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="A GTK-based image browser" +HOMEPAGE="http://gqview.sourceforge.net/" +SRC_URI="mirror://sourceforge/gqview/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.4:2 + virtual/libintl" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-windows.patch" \ + "${FILESDIR}/${P}-glibc.patch" + sed -i \ + -e '/^Encoding/d' \ + -e '/^Icon/s/\.png//' \ + -e '/^Categories/s/Application;//' \ + gqview.desktop || die + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf --without-lcms +} + +src_install() { + emake DESTDIR="${D}" install + # leave README uncompressed because the program reads it + dodoc AUTHORS ChangeLog TODO + rm -f "${D}/usr/share/doc/${PF}/COPYING" +} |