media-gfx/qiv - 9999 (booboo)

Search

Install

Install this version:

emerge -a =media-gfx/qiv-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-gfx/qiv-9999

Or alternatively:

emerge --autounmask-write -a =media-gfx/qiv-9999

Package Information

Description:
Quick Image Viewer
Homepage:
http://spiegl.de/qiv/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 7 0
View Raw Ebuild
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit toolchain-funcs git-r3

DESCRIPTION="Quick Image Viewer"
HOMEPAGE="http://spiegl.de/qiv/"
EGIT_REPO_URI='https://codeberg.org/ciberandy/qiv'

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="xinerama"

RDEPEND="x11-libs/gtk+:2
	media-libs/imlib2
	media-libs/libexif
	xinerama? ( x11-libs/libXinerama )"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_prepare() {
	sed -i \
		-e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' \
		Makefile || die

	if ! use xinerama; then
		sed -i \
			-e 's:-DGTD_XINERAMA::' \
			Makefile || die
	fi
	default
}

src_compile() {
	emake CC="$(tc-getCC)" || die
}

src_install() {
	dobin qiv || die
	doman qiv.1
	dodoc Changelog README README.TODO
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-gfx/qiv | euse -E <flag> -p media-gfx/qiv | euse -D <flag> -p media-gfx/qiv

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

x11-libs/gtk+:2
	media-libs/imlib2
	media-libs/libexif
	xinerama? ( x11-libs/libXinerama )
	virtual/pkgconfig

RDEPEND

x11-libs/gtk+:2
	media-libs/imlib2
	media-libs/libexif
	xinerama? ( x11-libs/libXinerama )