dev-libs/guiloader-c++: Fix building with latest glibmm/libsigc++
authorPacho Ramos <pacho@gentoo.org>
Sat, 19 Dec 2015 15:47:51 +0000 (16:47 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 19 Dec 2015 16:16:41 +0000 (17:16 +0100)
Package-Manager: portage-2.2.26

dev-libs/guiloader-c++/guiloader-c++-2.21.0-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/guiloader-c++/guiloader-c++-2.21.0-r1.ebuild b/dev-libs/guiloader-c++/guiloader-c++-2.21.0-r1.ebuild
new file mode 100644 (file)
index 0000000..73c2e44
--- /dev/null
@@ -0,0 +1,40 @@
+# 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="C++ binding to GuiLoader library"
+HOMEPAGE="http://www.crowdesigner.org"
+SRC_URI="https://nothing-personal.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+LANGS="ru"
+
+RDEPEND=">=dev-libs/guiloader-2.21
+       >=dev-cpp/gtkmm-2.22:2.4
+       >=dev-cpp/glibmm-2.24:2"
+DEPEND="${RDEPEND}
+       dev-libs/boost
+       virtual/pkgconfig
+       nls? ( >=sys-devel/gettext-0.18 )"
+
+for x in ${LANGS}; do
+       IUSE="${IUSE} linguas_${x}"
+done
+
+src_configure() {
+       append-cxxflags -std=c++11
+       econf $(use_enable nls)
+}
+
+src_install() {
+       default
+       prune_libtool_files
+       dodoc doc/{authors.txt,news.en.txt,readme.en.txt}
+}