| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.10 2011/03/29 06:18:33 nirbheek Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
inherit autotools eutils
|
| 7 |
|
| 8 |
DESCRIPTION="A slim GTK-based image browser"
|
| 9 |
HOMEPAGE="http://gimmage.berlios.de/"
|
| 10 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="amd64 ~ppc x86"
|
| 15 |
IUSE="debug"
|
| 16 |
|
| 17 |
RDEPEND="dev-cpp/cairomm
|
| 18 |
>=dev-cpp/gtkmm-2.6.2:2.4
|
| 19 |
net-misc/curl
|
| 20 |
sys-apps/file"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
sys-devel/gettext
|
| 23 |
virtual/pkgconfig"
|
| 24 |
|
| 25 |
src_prepare() {
|
| 26 |
epatch "${FILESDIR}"/${P}-gcc43.patch \
|
| 27 |
"${FILESDIR}"/${P}-as-needed.patch \
|
| 28 |
"${FILESDIR}"/${P}-desktop-entry.patch
|
| 29 |
eautoreconf
|
| 30 |
}
|
| 31 |
|
| 32 |
src_configure() {
|
| 33 |
local myconf
|
| 34 |
use debug && myconf="--enable-debug"
|
| 35 |
|
| 36 |
econf ${myconf}
|
| 37 |
}
|
| 38 |
|
| 39 |
src_install() {
|
| 40 |
emake DESTDIR="${D}" install || die
|
| 41 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
| 42 |
}
|