summaryrefslogtreecommitdiff
blob: cb1da71e662d6f7637ada1a348a2e87dafed4098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils flag-o-matic

DESCRIPTION="Utility functions, classes and widgets written on top of gtkmm and
glibmm."
HOMEPAGE="https://code.google.com/p/gtkmm-utils/"
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND="dev-cpp/gtkmm:2.4"
DEPEND="
	virtual/pkgconfig
	doc? ( app-doc/doxygen )
	${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}/${P}-glib.patch"
	epatch "${FILESDIR}/${P}-include-fix.patch"
}

src_configure() {
	append-cxxflags -std=c++11
	econf $(use_enable doc documentation)
}

src_install() {
	default
	prune_libtool_files
}