summaryrefslogtreecommitdiff
path: root/dev-libs/guiloader-c++
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/guiloader-c++')
-rw-r--r--dev-libs/guiloader-c++/Manifest1
-rw-r--r--dev-libs/guiloader-c++/files/guiloader-c++-2.21.0-gcc46.patch10
-rw-r--r--dev-libs/guiloader-c++/guiloader-c++-2.21.0.ebuild43
-rw-r--r--dev-libs/guiloader-c++/metadata.xml16
4 files changed, 70 insertions, 0 deletions
diff --git a/dev-libs/guiloader-c++/Manifest b/dev-libs/guiloader-c++/Manifest
new file mode 100644
index 00000000..805cf7cc
--- /dev/null
+++ b/dev-libs/guiloader-c++/Manifest
@@ -0,0 +1 @@
+DIST guiloader-c++-2.21.0.tar.bz2 301239 SHA256 e8e9bfcf35ebca28b9cf725bbd54bbdc2bf427a16b80d907b91d9c2f91a7ece4
diff --git a/dev-libs/guiloader-c++/files/guiloader-c++-2.21.0-gcc46.patch b/dev-libs/guiloader-c++/files/guiloader-c++-2.21.0-gcc46.patch
new file mode 100644
index 00000000..f5bcc52f
--- /dev/null
+++ b/dev-libs/guiloader-c++/files/guiloader-c++-2.21.0-gcc46.patch
@@ -0,0 +1,10 @@
+--- guiloader-c++-2.21.0.orig/guiloader-c++/guiloader-c++.h
++++ guiloader-c++-2.21.0/guiloader-c++/guiloader-c++.h
+@@ -26,6 +26,7 @@
+ #ifndef GUILOADER_CPP_GUILOADER_CPP_H
+ #define GUILOADER_CPP_GUILOADER_CPP_H
+
++#include <cstddef>
+ #include <string>
+ #include <sigc++/sigc++.h>
+ #include <gtkmm.h>
diff --git a/dev-libs/guiloader-c++/guiloader-c++-2.21.0.ebuild b/dev-libs/guiloader-c++/guiloader-c++-2.21.0.ebuild
new file mode 100644
index 00000000..cb71fbea
--- /dev/null
+++ b/dev-libs/guiloader-c++/guiloader-c++-2.21.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader-c++/guiloader-c++-2.21.0.ebuild,v 1.3 2011/07/26 21:16:02 maekke Exp $
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="C++ binding to GuiLoader library"
+HOMEPAGE="http://www.crowdesigner.org"
+SRC_URI="http://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
+ dev-util/pkgconfig
+ nls? ( >=sys-devel/gettext-0.18 )"
+
+for x in ${LANGS}; do
+ IUSE="${IUSE} linguas_${x}"
+done
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc46.patch"
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc doc/{authors.txt,news.en.txt,readme.en.txt} || die
+}
diff --git a/dev-libs/guiloader-c++/metadata.xml b/dev-libs/guiloader-c++/metadata.xml
new file mode 100644
index 00000000..d1cfa95c
--- /dev/null
+++ b/dev-libs/guiloader-c++/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+</maintainer>
+ <longdescription lang="en">
+ GuiLoader/C++ is a C++ binding to GuiLoader library. It is a convenience
+ layer that simplifies development of GuiLoader based applications
+ written in C++ language by introducing exception safety, binding GTK+
+ objects d efined in GuiXml to C++ variables and type-safe dynamic
+ connection to signals.
+ </longdescription>
+</pkgmetadata>
+