You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/gentoo/gentoo-0.20.3.ebuild,v 1.4 2013/11/18 10:39:38 chainsaw Exp $
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
inherit autotools eutils
|
|
|
|
|
|
|
|
DESCRIPTION="A modern GTK+ based filemanager for any WM"
|
|
|
|
HOMEPAGE="http://www.obsession.se/gentoo/"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
|
|
|
IUSE="nls"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
dev-libs/glib:2
|
|
|
|
x11-libs/cairo
|
|
|
|
x11-libs/gdk-pixbuf
|
|
|
|
x11-libs/gtk+:3
|
|
|
|
x11-libs/pango
|
|
|
|
"
|
|
|
|
DEPEND="
|
|
|
|
${RDEPEND}
|
|
|
|
nls? ( sys-devel/gettext )
|
|
|
|
"
|
|
|
|
|
|
|
|
DOCS=(
|
|
|
|
AUTHORS BUGS CONFIG-CHANGES CREDITS NEWS README TODO docs/{FAQ,menus.txt}
|
|
|
|
)
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
sed -i \
|
|
|
|
-e 's^icons/gnome/16x16/mimetypes^gentoo/icons^' \
|
|
|
|
gentoorc.in || die
|
|
|
|
sed -i \
|
|
|
|
-e '/GTK_DISABLE_DEPRECATED/d' \
|
|
|
|
-e '/^GENTOO_CFLAGS=/s|".*"|"${CFLAGS}"|g' \
|
|
|
|
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
|
|
|
|
configure.in || die #357343
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
--sysconfdir=/etc/gentoo \
|
|
|
|
$(use_enable nls)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
|
|
|
|
dohtml -r docs/{images,config,*.{html,css}}
|
|
|
|
newman docs/gentoo.1x gentoo.1
|
|
|
|
docinto scratch
|
|
|
|
dodoc docs/scratch/*
|
|
|
|
|
|
|
|
make_desktop_entry ${PN} Gentoo \
|
|
|
|
/usr/share/${PN}/icons/${PN}.png \
|
|
|
|
"System;FileTools;FileManager"
|
|
|
|
}
|