1
0

media-plugins/eq10q: Fix build with LV2 1.18.0

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2020-09-17 19:52:35 +00:00
parent 9b54775ec1
commit 100969836d
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 98 additions and 1 deletions

View File

@ -1,4 +1,5 @@
AUX fix_lv2.patch 6273 BLAKE2B 13e90f074530544da0ae6fe5dd503c6f77ef457b163e5c018f892120240674546eda226e6d28be7bfde8b883551f02b1be143a6f50df2c786ce1c78eefd0f8e9 SHA512 ae93879985be9e5e11f80c6bf3fbc47eeddbde3d728b7767f1894ef4a7b7fb5e644b3aacbe01f958035ac6165dfdb7e06797f4b74dd094907846356307557f44
AUX replace_pow10.patch 2733 BLAKE2B 6331effc79ef2b9f2ae0fc6792ac03d55bd1bb980b7000cdac91b46f66132ca9ed19fdf864efb355c81ea3eaadb1a7969f58e217c96e3afae3d391dbcfda78b5 SHA512 c7c93576ac5588c57689e62341988b11f789696d04bac1995d57dc52bc9bd76d229a44d0c634f79701f88338b351e1c0a314c9809d34ce2cc47a401b0a964de4 AUX replace_pow10.patch 2733 BLAKE2B 6331effc79ef2b9f2ae0fc6792ac03d55bd1bb980b7000cdac91b46f66132ca9ed19fdf864efb355c81ea3eaadb1a7969f58e217c96e3afae3d391dbcfda78b5 SHA512 c7c93576ac5588c57689e62341988b11f789696d04bac1995d57dc52bc9bd76d229a44d0c634f79701f88338b351e1c0a314c9809d34ce2cc47a401b0a964de4
DIST eq10q-2.2.tar.gz 797991 BLAKE2B 453cf8e0dcb330e92dfa6be65a83c63c05450956ea9dcef49206d83758c8ea0746cde7d26932e709116a44eb2ce30bb29fa5a4753f5597e71128767b462cb024 SHA512 4c6a79e9f1faeb431abd4e94b6bfa153b1ff5f55b3c2734d35a865ba23e3a7786ee45ee122cdcc26c9a8de915f1c4e2ec588a4c219ad6daf0ccf4a2b474b1e24 DIST eq10q-2.2.tar.gz 797991 BLAKE2B 453cf8e0dcb330e92dfa6be65a83c63c05450956ea9dcef49206d83758c8ea0746cde7d26932e709116a44eb2ce30bb29fa5a4753f5597e71128767b462cb024 SHA512 4c6a79e9f1faeb431abd4e94b6bfa153b1ff5f55b3c2734d35a865ba23e3a7786ee45ee122cdcc26c9a8de915f1c4e2ec588a4c219ad6daf0ccf4a2b474b1e24
EBUILD eq10q-2.2.ebuild 603 BLAKE2B 75b9a7842385066b163928af5c31a7c52baca7b756e89e1adf7c6951bc74cd5b06276208175ecc063dfb1f7c3487755fcc53ad69f67493c3bf14e0f068a93040 SHA512 d06a06a086de2a069a30f244100a8600df88a3abf346c848801817f79956138e7f9be9ea354fb2f248040b67d22bacc7cfceedea15156bfd6e610ed66776f7d0 EBUILD eq10q-2.2.ebuild 632 BLAKE2B 52322b276530e72d404fa82181908d1f84ac2d37ed815e368d9294286ae90e8aace366f9b6611d49ff747df4ab58eef5db84f4ae3483a053c760ded79b76fe53 SHA512 264598ba807588d1e9323fea7fe71592e17557fe9398674505dfd342082d51ad2871f14f562a0908e79e4064c79d2e23efa5a13acf3d50b32e7900c36713951b
MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80 MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80

View File

@ -24,6 +24,7 @@ BDEPEND="
" "
PATCHES=( PATCHES=(
"${FILESDIR}/replace_pow10.patch" "${FILESDIR}/replace_pow10.patch"
"${FILESDIR}/fix_lv2.patch"
) )
src_configure() { src_configure() {

View File

@ -0,0 +1,95 @@
Replace _LV2UI_Descriptor with LV2UI_Descriptor
This is a breaking change in LV2 1.18.0. For more information, see the link.
https://sourceforge.net/p/eq10q/bugs/23/
Patch by Ryan Fox
--- a/.svn/pristine/1b/1bfb215962413197431e0f05fc93daa3e96db807.svn-base
+++ b/.svn/pristine/1b/1bfb215962413197431e0f05fc93daa3e96db807.svn-base
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
using namespace std;
#endif
-static LV2UI_Handle instantiateDyn_gui(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)
+static LV2UI_Handle instantiateDyn_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateDyn_gui Entring... ";
--- a/.svn/pristine/56/56d71d7e5b8ffea0e9116fc5deec5cd32d86a12e.svn-base
+++ b/.svn/pristine/56/56d71d7e5b8ffea0e9116fc5deec5cd32d86a12e.svn-base
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
using namespace std;
#endif
-static LV2UI_Handle instantiateMidSide_gui(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)
+static LV2UI_Handle instantiateMidSide_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateEq10q_gui Entring... ";
--- a/.svn/pristine/b2/b2639de412118ae094aaaac6d9be2afa06acf590.svn-base
+++ b/.svn/pristine/b2/b2639de412118ae094aaaac6d9be2afa06acf590.svn-base
@@ -38,7 +38,7 @@ using namespace std;
#endif
-static LV2UI_Handle instantiateEq10q_gui(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)
+static LV2UI_Handle instantiateEq10q_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateEq10q_gui Entring... ";
--- a/.svn/pristine/ea/ea8c4d0a9fc4136c04533a0b7bc33a4dc70dd1d6.svn-base
+++ b/.svn/pristine/ea/ea8c4d0a9fc4136c04533a0b7bc33a4dc70dd1d6.svn-base
@@ -38,7 +38,7 @@ using namespace std;
#define BASSUP_GUI_URI "http://eq10q.sourceforge.net/bassup/gui"
-static LV2UI_Handle instantiateBassUp_gui(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)
+static LV2UI_Handle instantiateBassUp_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateEq10q_gui Entring... ";
--- a/gui/bassup_ui.cpp
+++ b/gui/bassup_ui.cpp
@@ -38,7 +38,7 @@ using namespace std;
#define BASSUP_GUI_URI "http://eq10q.sourceforge.net/bassup/gui"
-static LV2UI_Handle instantiateBassUp_gui(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)
+static LV2UI_Handle instantiateBassUp_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateEq10q_gui Entring... ";
--- a/gui/dyn_ui.cpp
+++ b/gui/dyn_ui.cpp
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
using namespace std;
#endif
-static LV2UI_Handle instantiateDyn_gui(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)
+static LV2UI_Handle instantiateDyn_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateDyn_gui Entring... ";
--- a/gui/eq10q_ui.cpp
+++ b/gui/eq10q_ui.cpp
@@ -38,7 +38,7 @@ using namespace std;
#endif
-static LV2UI_Handle instantiateEq10q_gui(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)
+static LV2UI_Handle instantiateEq10q_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateEq10q_gui Entring... ";
--- a/gui/midside_ui.cpp
+++ b/gui/midside_ui.cpp
@@ -37,7 +37,7 @@ This plugin is inside the Sapista Plugins Bundle
using namespace std;
#endif
-static LV2UI_Handle instantiateMidSide_gui(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)
+static LV2UI_Handle instantiateMidSide_gui(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)
{
#ifdef TESTING_EQ10Q
cout<<"instantiateEq10q_gui Entring... ";