summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/gtksourceviewmm')
-rw-r--r--dev-cpp/gtksourceviewmm/Manifest3
-rw-r--r--dev-cpp/gtksourceviewmm/files/gtksourceviewmm-3.2.0-glib-single-include.patch13
-rw-r--r--dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3.ebuild47
-rw-r--r--dev-cpp/gtksourceviewmm/gtksourceviewmm-3.12.0.ebuild35
-rw-r--r--dev-cpp/gtksourceviewmm/gtksourceviewmm-3.2.0.ebuild38
-rw-r--r--dev-cpp/gtksourceviewmm/metadata.xml8
6 files changed, 144 insertions, 0 deletions
diff --git a/dev-cpp/gtksourceviewmm/Manifest b/dev-cpp/gtksourceviewmm/Manifest
new file mode 100644
index 00000000000..6f8f5c6116e
--- /dev/null
+++ b/dev-cpp/gtksourceviewmm/Manifest
@@ -0,0 +1,3 @@
+DIST gtksourceviewmm-2.10.3.tar.xz 742184 SHA256 0000df1b582d7be2e412020c5d748f21c0e6e5074c6b2ca8529985e70479375b SHA512 e6ddc4f585251f68e48cf0ea2c33bce02a90031efcd885105a82837715d659a317ee0845b476fc54c1c4c71b518df41ce494505af1524db6acb733e51f44e6ca WHIRLPOOL 35ae10e70e6d2a8c59e9be6552229034b844efdf1c730c20b75b9e6dbdd85d88e7b12104dbce400ba83b2745677d4abb04e994e3e75b8d3a2bdc8e9b920699de
+DIST gtksourceviewmm-3.12.0.tar.xz 1046368 SHA256 73939031bcc60e6ad31a315ec84b132deba15e5732de16e75fe424a619267ace SHA512 c4318039ad683a69e6610fa8da058327726e57e485445a9fd2a5d9ef7afd603d30f5954e586c5f9b586d0cd2ef9e444ba7cbf17c44bae8e4c20bd54dcec8288f WHIRLPOOL 130927a9aede6572db20cb660aa64612abd7cf7e53313fcc029ea1806483bd818ce1fc67c2422fac6740d4f52f0d8ffe824d6fccc382750e66f91dd859488fe0
+DIST gtksourceviewmm-3.2.0.tar.xz 742028 SHA256 9dc0c44f00627e434a36ac7c3a34d9c30ebe45eb6dc682dc733a85dcead2ba66 SHA512 f77ee09ee4966e705a5742af0d9caec306517faf998e99b26dc94340190e4a1326a4127e55e6d6b4035757805043f9460310ce9689c5478a5cc8a797a5cffef0 WHIRLPOOL 9f73d2f83147f1f898576f1a80688c2d654cfe351bb1863b7d161e2a0b7b03c4c8516774cf70d176719a8e14a384fe184ff83b3275f8207efd33ed1cec7e9f0d
diff --git a/dev-cpp/gtksourceviewmm/files/gtksourceviewmm-3.2.0-glib-single-include.patch b/dev-cpp/gtksourceviewmm/files/gtksourceviewmm-3.2.0-glib-single-include.patch
new file mode 100644
index 00000000000..c708ff1b27e
--- /dev/null
+++ b/dev-cpp/gtksourceviewmm/files/gtksourceviewmm-3.2.0-glib-single-include.patch
@@ -0,0 +1,13 @@
+Index: gtksourceviewmm-3.2.0/tests/search/main.cc
+===================================================================
+--- gtksourceviewmm-3.2.0.orig/tests/search/main.cc
++++ gtksourceviewmm-3.2.0/tests/search/main.cc
+@@ -6,7 +6,7 @@
+ #include <cstring>
+ #include <gtkmm.h>
+ #include <gtksourceviewmm.h>
+-#include <glib/gmessages.h>
++#include <glib.h>
+
+ using namespace std ;
+ using namespace Gtk;
diff --git a/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3.ebuild b/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3.ebuild
new file mode 100644
index 00000000000..874b96f0273
--- /dev/null
+++ b/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.10.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="C++ bindings for gtksourceview"
+HOMEPAGE="http://projects.gnome.org/gtksourceviewmm/"
+
+KEYWORDS="amd64 ppc x86"
+IUSE="doc"
+SLOT="2.0"
+LICENSE="LGPL-2.1"
+
+RDEPEND=">=dev-cpp/gtkmm-2.12:2.4
+ dev-cpp/atkmm
+ >=x11-libs/gtksourceview-2.10.0:2.0
+ !>=dev-cpp/libgtksourceviewmm-1"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog* NEWS README"
+ G2CONF="${G2CONF}
+ $(use_enable doc documentation)
+ --disable-static"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Remove docs from SUBDIRS so that docs are not installed, as
+ # we handle it in src_install.
+ sed -i -e 's|^\(SUBDIRS =.*\)$(doc_subdirs)\(.*\)|\1\2|' Makefile.in || \
+ die "sed Makefile.in failed"
+}
+
+src_install() {
+ gnome2_src_install
+ use doc && dohtml -r docs/reference/html/*
+}
diff --git a/dev-cpp/gtksourceviewmm/gtksourceviewmm-3.12.0.ebuild b/dev-cpp/gtksourceviewmm/gtksourceviewmm-3.12.0.ebuild
new file mode 100644
index 00000000000..6f6515cb2d6
--- /dev/null
+++ b/dev-cpp/gtksourceviewmm/gtksourceviewmm-3.12.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils
+
+DESCRIPTION="C++ bindings for gtksourceview"
+HOMEPAGE="http://projects.gnome.org/gtksourceviewmm/"
+
+KEYWORDS="amd64 ppc x86"
+IUSE="doc"
+SLOT="3.0"
+LICENSE="LGPL-2.1"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.28:2
+ >=dev-cpp/gtkmm-3.2:3.0
+ >=x11-libs/gtksourceview-3.12:3.0
+
+ dev-cpp/atkmm
+ dev-cpp/cairomm
+ dev-cpp/pangomm:1.4
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+src_configure() {
+ DOCS="AUTHORS ChangeLog* NEWS README"
+ gnome2_src_configure $(use_enable doc documentation)
+}
diff --git a/dev-cpp/gtksourceviewmm/gtksourceviewmm-3.2.0.ebuild b/dev-cpp/gtksourceviewmm/gtksourceviewmm-3.2.0.ebuild
new file mode 100644
index 00000000000..6fc3c5fec05
--- /dev/null
+++ b/dev-cpp/gtksourceviewmm/gtksourceviewmm-3.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 eutils
+
+DESCRIPTION="C++ bindings for gtksourceview"
+HOMEPAGE="http://projects.gnome.org/gtksourceviewmm/"
+
+KEYWORDS="amd64 ~ppc x86"
+IUSE="doc"
+SLOT="3.0"
+LICENSE="LGPL-2.1"
+
+RDEPEND=">=dev-cpp/glibmm-2.28:2
+ >=dev-cpp/gtkmm-3.2:3.0
+ >=x11-libs/gtksourceview-3.2:3.0
+
+ dev-cpp/atkmm
+ dev-cpp/cairomm
+ dev-cpp/pangomm:1.4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog* NEWS README"
+ G2CONF="${G2CONF} $(use_enable doc documentation)"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-3.2.0-glib-single-include.patch"
+ gnome2_src_prepare
+}
diff --git a/dev-cpp/gtksourceviewmm/metadata.xml b/dev-cpp/gtksourceviewmm/metadata.xml
new file mode 100644
index 00000000000..3d42796a3a5
--- /dev/null
+++ b/dev-cpp/gtksourceviewmm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome-mm</herd>
+ <longdescription>
+ Gtkmm (C++) wrapper for gtksourceview
+ </longdescription>
+</pkgmetadata>