summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-02-07 10:46:07 +0100
committerPacho Ramos <pacho@gentoo.org>2016-02-07 10:46:41 +0100
commit64b81f8edad3aaa8a3a84ca799e5737c66682fdc (patch)
tree72102baaf14d95d5b8daa42ec95b5aec61a9465b /sci-electronics/gspeakers
parentdev-go/go-sqlite3: new package (diff)
downloadgentoo-64b81f8edad3aaa8a3a84ca799e5737c66682fdc.tar.gz
gentoo-64b81f8edad3aaa8a3a84ca799e5737c66682fdc.tar.bz2
gentoo-64b81f8edad3aaa8a3a84ca799e5737c66682fdc.zip
sci-electronics/gspeakers: Fixes for compatibility with libsigc++-2.6 and cxx11 (#569540 by Andrew Wilcox (awilfox))
Package-Manager: portage-2.2.27
Diffstat (limited to 'sci-electronics/gspeakers')
-rw-r--r--sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild b/sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild
new file mode 100644
index 000000000000..18e66de00dbc
--- /dev/null
+++ b/sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="no"
+
+inherit autotools eutils flag-o-matic gnome2
+
+DESCRIPTION="GTK based loudspeaker enclosure and crossovernetwork designer"
+HOMEPAGE="http://gspeakers.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-cpp/gtkmm:2.4
+ >=dev-libs/libsigc++-2.6:2
+ dev-libs/libxml2:2
+ || (
+ sci-electronics/gnucap
+ sci-electronics/ngspice
+ sci-electronics/spice )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i -e "s/-O0//" src/Makefile.am
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ epatch "${FILESDIR}"/${P}-glib-single-include.patch
+ epatch "${FILESDIR}"/${P}-fix-sigc-includes.patch
+ epatch "${FILESDIR}"/${P}-c++11.patch
+ append-cxxflags '-std=c++11'
+ mv configure.in configure.ac || die
+ eautoreconf
+ gnome2_src_prepare
+}