Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sooperlooper/files/, media-sound/sooperlooper/
Date: Thu, 31 Dec 2015 10:59:42
Message-Id: 1451559574.290ac49e682b978ebdb7e473364277bf558c9f9c.pacho@gentoo
1 commit: 290ac49e682b978ebdb7e473364277bf558c9f9c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 10:59:14 2015 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 10:59:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=290ac49e
7
8 media-sound/sooperlooper: Fix building with latest glibmm/libsigc++ (#569520)
9
10 Package-Manager: portage-2.2.26
11
12 .../files/sooperlooper-1.7.3-libsigc26.patch | 96 ++++++++++++++++++++++
13 .../sooperlooper/sooperlooper-1.7.3-r1.ebuild | 59 +++++++++++++
14 2 files changed, 155 insertions(+)
15
16 diff --git a/media-sound/sooperlooper/files/sooperlooper-1.7.3-libsigc26.patch b/media-sound/sooperlooper/files/sooperlooper-1.7.3-libsigc26.patch
17 new file mode 100644
18 index 0000000..51ac10c
19 --- /dev/null
20 +++ b/media-sound/sooperlooper/files/sooperlooper-1.7.3-libsigc26.patch
21 @@ -0,0 +1,96 @@
22 +diff -ur a/sooperlooper-1.7.3/src/control_osc.hpp b/sooperlooper-1.7.3/src/control_osc.hpp
23 +--- a/sooperlooper-1.7.3/src/control_osc.hpp 2013-10-18 18:37:39.000000000 +0300
24 ++++ b/sooperlooper-1.7.3/src/control_osc.hpp 2015-12-05 01:40:01.848107565 +0200
25 +@@ -27,7 +27,7 @@
26 + #include <list>
27 + #include <utility>
28 +
29 +-#include <sigc++/object.h>
30 ++#include <sigc++/trackable.h>
31 +
32 + #include "event.hpp"
33 + #include "event_nonrt.hpp"
34 +diff -ur a/sooperlooper-1.7.3/src/gui/app_frame.hpp b/sooperlooper-1.7.3/src/gui/app_frame.hpp
35 +--- a/sooperlooper-1.7.3/src/gui/app_frame.hpp 2014-02-03 18:52:15.000000000 +0200
36 ++++ b/sooperlooper-1.7.3/src/gui/app_frame.hpp 2015-12-05 01:40:01.844774250 +0200
37 +@@ -26,7 +26,7 @@
38 + #include <string>
39 + #include <vector>
40 +
41 +-#include <sigc++/object.h>
42 ++#include <sigc++/trackable.h>
43 + #include <sigc++/signal.h>
44 + #include <sigc++/connection.h>
45 +
46 +diff -ur a/sooperlooper-1.7.3/src/gui/config_panel.hpp b/sooperlooper-1.7.3/src/gui/config_panel.hpp
47 +--- a/sooperlooper-1.7.3/src/gui/config_panel.hpp 2013-10-18 18:37:39.000000000 +0300
48 ++++ b/sooperlooper-1.7.3/src/gui/config_panel.hpp 2015-12-05 01:40:01.841440935 +0200
49 +@@ -26,7 +26,7 @@
50 +
51 + #include <string>
52 + #include <vector>
53 +-#include <sigc++/object.h>
54 ++#include <sigc++/trackable.h>
55 +
56 + class wxListCtrl;
57 + class wxSpinCtrl;
58 +diff -ur a/sooperlooper-1.7.3/src/gui/keys_panel.hpp b/sooperlooper-1.7.3/src/gui/keys_panel.hpp
59 +--- a/sooperlooper-1.7.3/src/gui/keys_panel.hpp 2013-10-18 18:37:39.000000000 +0300
60 ++++ b/sooperlooper-1.7.3/src/gui/keys_panel.hpp 2015-12-05 01:40:01.838107619 +0200
61 +@@ -26,7 +26,7 @@
62 +
63 + #include <string>
64 + #include <vector>
65 +-#include <sigc++/object.h>
66 ++#include <sigc++/trackable.h>
67 +
68 + class wxListCtrl;
69 +
70 +diff -ur a/sooperlooper-1.7.3/src/gui/latency_panel.hpp b/sooperlooper-1.7.3/src/gui/latency_panel.hpp
71 +--- a/sooperlooper-1.7.3/src/gui/latency_panel.hpp 2013-10-18 18:37:39.000000000 +0300
72 ++++ b/sooperlooper-1.7.3/src/gui/latency_panel.hpp 2015-12-05 01:40:01.834774304 +0200
73 +@@ -26,7 +26,7 @@
74 +
75 + #include <string>
76 + #include <vector>
77 +-#include <sigc++/object.h>
78 ++#include <sigc++/trackable.h>
79 +
80 + class wxListCtrl;
81 +
82 +diff -ur a/sooperlooper-1.7.3/src/gui/main_panel.hpp b/sooperlooper-1.7.3/src/gui/main_panel.hpp
83 +--- a/sooperlooper-1.7.3/src/gui/main_panel.hpp 2014-02-04 18:39:55.000000000 +0200
84 ++++ b/sooperlooper-1.7.3/src/gui/main_panel.hpp 2015-12-05 01:40:01.831440989 +0200
85 +@@ -26,7 +26,7 @@
86 + #include <string>
87 + #include <vector>
88 +
89 +-#include <sigc++/object.h>
90 ++#include <sigc++/trackable.h>
91 + #include <sigc++/signal.h>
92 + #include <sigc++/connection.h>
93 +
94 +diff -ur a/sooperlooper-1.7.3/src/gui/midi_bind_panel.hpp b/sooperlooper-1.7.3/src/gui/midi_bind_panel.hpp
95 +--- a/sooperlooper-1.7.3/src/gui/midi_bind_panel.hpp 2013-10-18 18:37:39.000000000 +0300
96 ++++ b/sooperlooper-1.7.3/src/gui/midi_bind_panel.hpp 2015-12-05 01:40:01.828107674 +0200
97 +@@ -26,7 +26,7 @@
98 +
99 + #include <string>
100 + #include <vector>
101 +-#include <sigc++/object.h>
102 ++#include <sigc++/trackable.h>
103 + #include <list>
104 +
105 + #include <midi_bind.hpp>
106 +diff -ur a/sooperlooper-1.7.3/src/gui/prefs_dialog.hpp b/sooperlooper-1.7.3/src/gui/prefs_dialog.hpp
107 +--- a/sooperlooper-1.7.3/src/gui/prefs_dialog.hpp 2013-10-18 18:37:39.000000000 +0300
108 ++++ b/sooperlooper-1.7.3/src/gui/prefs_dialog.hpp 2015-12-05 01:40:01.824774358 +0200
109 +@@ -26,7 +26,7 @@
110 +
111 + #include <string>
112 + #include <vector>
113 +-#include <sigc++/object.h>
114 ++#include <sigc++/trackable.h>
115 +
116 + class wxListCtrl;
117 + class wxSpinCtrl;
118 \ No newline at end of file
119
120 diff --git a/media-sound/sooperlooper/sooperlooper-1.7.3-r1.ebuild b/media-sound/sooperlooper/sooperlooper-1.7.3-r1.ebuild
121 new file mode 100644
122 index 0000000..491e493
123 --- /dev/null
124 +++ b/media-sound/sooperlooper/sooperlooper-1.7.3-r1.ebuild
125 @@ -0,0 +1,59 @@
126 +# Copyright 1999-2012 Gentoo Foundation
127 +# Distributed under the terms of the GNU General Public License v2
128 +# $Id$
129 +
130 +EAPI=5
131 +WX_GTK_VER=3.0
132 +
133 +inherit autotools eutils flag-o-matic wxwidgets toolchain-funcs
134 +
135 +DESCRIPTION="Live looping sampler with immediate loop recording"
136 +HOMEPAGE="http://essej.net/sooperlooper/index.html"
137 +SRC_URI="http://essej.net/sooperlooper/${P/_p/-}.tar.gz
138 + mirror://gentoo/${PN}-1.6.5-m4.tar.bz2"
139 +
140 +LICENSE="GPL-2"
141 +SLOT="0"
142 +KEYWORDS="~amd64 ~ppc ~x86"
143 +IUSE="wxwidgets"
144 +
145 +RDEPEND="
146 + media-sound/jack-audio-connection-kit
147 + >=media-libs/liblo-0.10
148 + >=dev-libs/libsigc++-2.2.10:2
149 + >=media-libs/libsndfile-1.0.2
150 + >=media-libs/libsamplerate-0.0.13
151 + dev-libs/libxml2
152 + >=media-libs/rubberband-0.0.13
153 + sci-libs/fftw:3.0
154 + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
155 +"
156 +DEPEND="${RDEPEND}
157 + virtual/pkgconfig
158 +"
159 +
160 +S=${WORKDIR}/${P/_p*}
161 +
162 +DOCS=( OSC README )
163 +
164 +src_prepare() {
165 + epatch "${FILESDIR}"/${P}-libsigc26.patch
166 + epatch "${FILESDIR}"/${P}-wx3.0.patch
167 +
168 + cp -rf "${WORKDIR}"/aclocal "${S}" || die "copying aclocal failed"
169 +
170 + AT_M4DIR="${S}"/aclocal eautoreconf
171 +}
172 +
173 +src_configure() {
174 + use wxwidgets && need-wxwidgets unicode
175 + append-cppflags -std=c++11 # Its ugly build system honors CPPFLAGS instead of CXXFLAGS for this
176 + econf \
177 + $(use_with wxwidgets gui) \
178 + --disable-optimize \
179 + --with-wxconfig-path="${WX_CONFIG}"
180 +}
181 +
182 +src_compile() {
183 + emake AR="$(tc-getAR)"
184 +}