Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/yoshimi/, media-sound/yoshimi/files/
Date: Tue, 13 Oct 2020 15:02:27
Message-Id: 1602601300.ada017ed321da4cd5e350bd01535fb3e93b54818.asturm@gentoo
1 commit: ada017ed321da4cd5e350bd01535fb3e93b54818
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 13 14:21:25 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 13 15:01:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada017ed
7
8 media-sound/yoshimi: Drop 1.7.1-r1
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-sound/yoshimi/Manifest | 1 -
14 .../files/yoshimi-1.7.1-fix-LV2_Descriptor.patch | 47 -------------------
15 media-sound/yoshimi/yoshimi-1.7.1-r1.ebuild | 53 ----------------------
16 3 files changed, 101 deletions(-)
17
18 diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
19 index 79022d2a18c..8299e872d6b 100644
20 --- a/media-sound/yoshimi/Manifest
21 +++ b/media-sound/yoshimi/Manifest
22 @@ -1,2 +1 @@
23 -DIST yoshimi-1.7.1.tar.gz 10067045 BLAKE2B 6a9d84d47413ec26c733515bd3becaca436c8168f0f22d2b71f502fde126aa5347ee55d60a74473936933f4831e9feec21c2ebc6916cdde2b2822ecddf3da4c5 SHA512 d422c08caa6bf20665442b2d88fc4ccc41b881d719d5150d1cd3d2617f2216b18c112107c5723cb1077da0ba2278a3eb2db0a8dda4ce3c6315e3875cbfaf421c
24 DIST yoshimi-1.7.2.tar.gz 10256155 BLAKE2B e330e2d22117bbed2c2054efabf852aa67141a40539ca96e2df7c88cedabb445214f2d79c0f681b68d70b8c832b7bb7852d44442d3f6b1e4183fd2297768b0ca SHA512 7a52dd847cfd19c6b7cb802f181baaa291e73b52f8243e34f9899651f003779b402a20281995ce24f2335570191f6973c2bafb58a5093eba868033b6b9dd4fd9
25
26 diff --git a/media-sound/yoshimi/files/yoshimi-1.7.1-fix-LV2_Descriptor.patch b/media-sound/yoshimi/files/yoshimi-1.7.1-fix-LV2_Descriptor.patch
27 deleted file mode 100644
28 index 94e225e4f48..00000000000
29 --- a/media-sound/yoshimi/files/yoshimi-1.7.1-fix-LV2_Descriptor.patch
30 +++ /dev/null
31 @@ -1,47 +0,0 @@
32 -diff --git a/src/LV2_Plugin/YoshimiLV2Plugin.cpp b/src/LV2_Plugin/YoshimiLV2Plugin.cpp
33 -index 3502689..9be6128 100644
34 ---- a/src/LV2_Plugin/YoshimiLV2Plugin.cpp
35 -+++ b/src/LV2_Plugin/YoshimiLV2Plugin.cpp
36 -@@ -378,7 +378,7 @@ bool YoshimiLV2Plugin::init()
37 - }
38 -
39 -
40 --LV2_Handle YoshimiLV2Plugin::instantiate (const struct _LV2_Descriptor *desc, double sample_rate, const char *bundle_path, const LV2_Feature *const *features)
41 -+LV2_Handle YoshimiLV2Plugin::instantiate (const struct LV2_Descriptor *desc, double sample_rate, const char *bundle_path, const LV2_Feature *const *features)
42 - {
43 - SynthEngine *synth = new SynthEngine(0, NULL, true);
44 - if (synth == NULL || !synth->getRuntime().isRuntimeSetupCompleted()){
45 -@@ -711,9 +711,9 @@ bool YoshimiLV2PluginUI::init()
46 - }
47 -
48 -
49 --LV2UI_Handle YoshimiLV2PluginUI::instantiate(const _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature * const *features)
50 -+LV2UI_Handle YoshimiLV2PluginUI::instantiate(const LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature * const *features)
51 - {
52 -- const _LV2UI_Descriptor *desc = descriptor;
53 -+ const LV2UI_Descriptor *desc = descriptor;
54 - descriptor = desc;
55 - const char *plug = plugin_uri;
56 - plugin_uri = plug;
57 -diff --git a/src/LV2_Plugin/YoshimiLV2Plugin.h b/src/LV2_Plugin/YoshimiLV2Plugin.h
58 -index a484a8b..47f4729 100644
59 ---- a/src/LV2_Plugin/YoshimiLV2Plugin.h
60 -+++ b/src/LV2_Plugin/YoshimiLV2Plugin.h
61 -@@ -106,7 +106,7 @@ public:
62 - virtual void registerAudioPort(int) {}
63 -
64 - //static methods
65 -- static LV2_Handle instantiate (const struct _LV2_Descriptor *, double sample_rate, const char *bundle_path, const LV2_Feature *const *features);
66 -+ static LV2_Handle instantiate (const struct LV2_Descriptor *, double sample_rate, const char *bundle_path, const LV2_Feature *const *features);
67 - static void connect_port(LV2_Handle instance, uint32_t port, void *data_location);
68 - static void activate(LV2_Handle instance);
69 - static void deactivate(LV2_Handle instance);
70 -@@ -159,7 +159,7 @@ public:
71 - YoshimiLV2PluginUI(const char *, LV2UI_Write_Function, LV2UI_Controller, LV2UI_Widget *widget, const LV2_Feature *const *features);
72 - ~YoshimiLV2PluginUI();
73 - bool init();
74 -- static LV2UI_Handle instantiate(const struct _LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features);
75 -+ static LV2UI_Handle instantiate(const struct LV2UI_Descriptor *descriptor, const char *plugin_uri, const char *bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget *widget, const LV2_Feature *const *features);
76 - static void cleanup(LV2UI_Handle ui);
77 - static void static_guiClosed(void *arg);
78 - void run();
79
80 diff --git a/media-sound/yoshimi/yoshimi-1.7.1-r1.ebuild b/media-sound/yoshimi/yoshimi-1.7.1-r1.ebuild
81 deleted file mode 100644
82 index 4c2573a12e3..00000000000
83 --- a/media-sound/yoshimi/yoshimi-1.7.1-r1.ebuild
84 +++ /dev/null
85 @@ -1,53 +0,0 @@
86 -# Copyright 1999-2020 Gentoo Authors
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=7
90 -
91 -inherit cmake xdg flag-o-matic
92 -
93 -DESCRIPTION="Software synthesizer based on ZynAddSubFX"
94 -HOMEPAGE="https://yoshimi.github.io/"
95 -SRC_URI="https://github.com/${PN^}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
96 -
97 -LICENSE="GPL-2"
98 -SLOT="0"
99 -KEYWORDS="amd64 x86"
100 -IUSE="+lv2"
101 -
102 -BDEPEND="virtual/pkgconfig"
103 -DEPEND="
104 - >=dev-libs/mxml-2.5
105 - media-libs/alsa-lib
106 - media-libs/fontconfig
107 - media-libs/libsndfile
108 - sci-libs/fftw:3.0=
109 - sys-libs/ncurses:0=
110 - sys-libs/readline:0=
111 - sys-libs/zlib
112 - virtual/jack
113 - x11-libs/cairo[X]
114 - x11-libs/fltk:1[opengl]
115 - lv2? ( media-libs/lv2 )
116 -"
117 -RDEPEND="${DEPEND}"
118 -
119 -CMAKE_USE_DIR="${WORKDIR}/${P}/src"
120 -
121 -DOCS=( Changelog README.txt )
122 -
123 -PATCHES=( "${FILESDIR}/${PN}-1.7.1-fix-LV2_Descriptor.patch" )
124 -
125 -src_prepare() {
126 - cmake_src_prepare
127 - append-cxxflags -lpthread
128 - append-cppflags -lpthread
129 -}
130 -
131 -src_configure() {
132 - local mycmakeargs=( -DLV2Plugin=$(usex lv2) )
133 - cmake_src_configure
134 -}
135 -src_install() {
136 - cmake_src_install
137 - mv "${D}"/usr/share/doc/yoshimi "${D}"/usr/share/doc/${P}
138 -}