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.
gentoo-overlay/dev-vcs/gitg/gitg-0.2.7.ebuild

59 lines
1.2 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-0.2.7.ebuild,v 1.1 2013/04/13 13:14:04 ikelos Exp $
EAPI=5
GCONF_DEBUG="no"
inherit base eutils gnome2
DESCRIPTION="git repository viewer for GNOME"
HOMEPAGE="http://git.gnome.org/browse/gitg/"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
# FIXME: debug changes CFLAGS
IUSE="debug glade"
RDEPEND=">=dev-libs/glib-2.26:2
>=x11-libs/gtk+-3.0.0:3
>=x11-libs/gtksourceview-3.1.3:3.0
>=gnome-base/gconf-2.10:2
>=gnome-base/gsettings-desktop-schemas-0.1.1
dev-vcs/git
glade? ( >=dev-util/glade-3.2:3.10 )
"
DEPEND="${RDEPEND}
>=sys-devel/gettext-0.17
virtual/pkgconfig
>=dev-util/intltool-0.40"
PATCHES=(
"${FILESDIR}/${PN}-0.2.6-fix-libreoffice.patch"
)
DOCS="AUTHORS ChangeLog NEWS README"
src_prepare() {
base_src_prepare
gnome2_src_prepare
}
src_configure() {
# Disable maintainer to get rid of -Werror (bug #363009)
G2CONF="${G2CONF}
--disable-static
--disable-deprecations
--disable-dependency-tracking
--disable-maintainer-mode
$(use_enable debug)
$(use_enable glade glade-catalog)"
gnome2_src_configure
}
src_test() {
default
}