From 6a67915e1fc33aaa3e4f07b5df14cccc4fba677e Mon Sep 17 00:00:00 2001 From: Filip Kobierski Date: Thu, 26 Sep 2024 16:00:59 +0200 Subject: [PATCH] sci-electronics/gspeakers: bump EAPI & more - https HOMEPAGE - remove empty IUSE - fix redirection on SRC_URI Signed-off-by: Filip Kobierski Signed-off-by: Andrew Ammerlaan --- .../gspeakers/gspeakers-0.11-r3.ebuild | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 sci-electronics/gspeakers/gspeakers-0.11-r3.ebuild diff --git a/sci-electronics/gspeakers/gspeakers-0.11-r3.ebuild b/sci-electronics/gspeakers/gspeakers-0.11-r3.ebuild new file mode 100644 index 0000000000000..15cc964317f5f --- /dev/null +++ b/sci-electronics/gspeakers/gspeakers-0.11-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic gnome2 + +DESCRIPTION="GTK based loudspeaker enclosure and crossovernetwork designer" +HOMEPAGE="https://gspeakers.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/project/gspeakers/${PN}/${P}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +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}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-cxxflags.patch + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-glib-single-include.patch + "${FILESDIR}"/${P}-fix-sigc-includes.patch + "${FILESDIR}"/${P}-c++11.patch +) + +src_prepare() { + append-cxxflags '-std=c++11' + mv configure.in configure.ac || die + gnome2_src_prepare + eautoreconf +}