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-cpp/gtkmm-utils/gtkmm-utils-0.4.1.ebuild

38 lines
764 B

# Copyright 1999-2016 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://github.com/markoa/gtkmm-utils"
SRC_URI="https://github.com/markoa/${PN}/archive/${PV}.tar.gz -> ${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
}