diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-21 08:13:31 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-21 08:15:13 +0200 |
commit | 7db99d87e8cbce1345895fa416e78d2dba29b258 (patch) | |
tree | 07c772d5329ffa722df89d910f69de8cdf9f7a31 /dev-db/mysql-workbench | |
parent | media-libs/rlottie: stabilize 0.2 on amd64 (diff) | |
download | gentoo-7db99d87e8cbce1345895fa416e78d2dba29b258.tar.gz gentoo-7db99d87e8cbce1345895fa416e78d2dba29b258.tar.bz2 gentoo-7db99d87e8cbce1345895fa416e78d2dba29b258.zip |
dev-db/mysql-workbench: Remove last-rited pkg
Closes: https://bugs.gentoo.org/715172
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-db/mysql-workbench')
8 files changed, 0 insertions, 489 deletions
diff --git a/dev-db/mysql-workbench/Manifest b/dev-db/mysql-workbench/Manifest deleted file mode 100644 index c1dd84e4105c..000000000000 --- a/dev-db/mysql-workbench/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST antlr-4.7.1-complete.jar 2240116 BLAKE2B 3acf99b3701b2092cad2fb6e91f27791cbedd82f26888d7329e481be29fce4ec644eb57f663e515b92dea46c24222d4fb090aae5cae30c57c412a38932ea72ed SHA512 de1c230d7294e05ac7b451cbc639bab9d416a674b281e21092fb4a9329ca8b6d4b92b9ad78a9771cff475a1610f1d0419819c4619bdff36c683019da67ef13b1 -DIST mysql-workbench-community-8.0.19-src.tar.gz 19391463 BLAKE2B f9374c234a75851784c940f8288a783ee1c02fe4be2973b174a0d3768a60dd5318ceea7d2dacb083376c83c33bed8fca02768bcf4f3b8ba6284ca78fc7910cfe SHA512 986a34328ec3b9aba1532cfd8792fb970fe3c71eda577988a17a6bca25e783a520878067acd097a74ca3f274f02d271af16d7d6beb6970bca48332721021eebc -DIST mysql-workbench-community-8.0.20-src.tar.gz 19391920 BLAKE2B 9baf37dec18002ebf7956979fa1e3e45b69a7061bd85d6b2ef25f058ce7595a6847ea314b7443dadf7524ff985ff4e87869e91ea7a012e6cf07a6d139a6c733b SHA512 b31314fac018959a008b283c795df5a676d6c667827e87a98379ce1de172b98cfdf8dd5cac009e2fb78241358afcb318abfed0178d73840bf6b4432b85b6a4e7 -DIST mysql-workbench-community-8.0.21-src.tar.gz 19211633 BLAKE2B 452ac946d478acb1d0e358d2bc44125f0b7d1f1bc2943d2b03ce6767e659df71b7525b7a51ed1cd5560f02a7a1047e2cd35477a71ddd91f71992e5becc3d1c0d SHA512 40c1144f801424c3b46eb033c9d1174c9bd903cd17672924eacd3ff58daa91b0d09f6045af4746ce7490f5ab2b0973b6d7f44ee8ae022607057cb0f09fc59a3f diff --git a/dev-db/mysql-workbench/files/mysql-workbench-6.2.5-wbcopytables.patch b/dev-db/mysql-workbench/files/mysql-workbench-6.2.5-wbcopytables.patch deleted file mode 100644 index 2d3d8db243f8..000000000000 --- a/dev-db/mysql-workbench/files/mysql-workbench-6.2.5-wbcopytables.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/plugins/migration/CMakeLists.txt.~1~ 2015-02-25 09:08:47.000000000 +0100 -+++ b/plugins/migration/CMakeLists.txt 2015-03-07 07:28:56.745378152 +0100 -@@ -10,7 +10,8 @@ - if (UNIX) - configure_file(wbcopytables.in wbcopytables) - install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/wbcopytables DESTINATION ${WB_INSTALL_BIN_DIR}) -- -+ -+ SET(CMAKE_INSTALL_RPATH "${WB_INSTALL_LIB_DIR}") - add_executable(wbcopytables-bin - copytable/copytable.cpp - copytable/python_copy_data_source.cpp diff --git a/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch b/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch deleted file mode 100644 index c624dea0e56d..000000000000 --- a/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naru a/build/cmake/Modules/FindMySQLCppConn.cmake b/build/cmake/Modules/FindMySQLCppConn.cmake ---- a/build/cmake/Modules/FindMySQLCppConn.cmake 2019-12-18 13:31:34.520496484 +0100 -+++ b/build/cmake/Modules/FindMySQLCppConn.cmake 2019-12-18 13:32:32.590496631 +0100 -@@ -27,7 +27,7 @@ - set(MySQLCppConn_FIND_QUIETLY TRUE) - endif () - --find_path(MySQLCppConn_INCLUDE_DIR NAMES mysql_connection.h PATHS /usr/include /usr/local/include) -+find_path(MySQLCppConn_INCLUDE_DIR NAMES mysql_connection.h PATHS /usr/include /usr/include/jdbc /usr/local/include /usr/local/include/jdbc) - - SET(MySQLCppConn_NAMES mysqlcppconn) - diff --git a/dev-db/mysql-workbench/files/mysql-workbench-8.0.21-boost-1.73.0.patch b/dev-db/mysql-workbench/files/mysql-workbench-8.0.21-boost-1.73.0.patch deleted file mode 100644 index 85825f14c047..000000000000 --- a/dev-db/mysql-workbench/files/mysql-workbench-8.0.21-boost-1.73.0.patch +++ /dev/null @@ -1,123 +0,0 @@ -Patch from Alt Linux as provided in https://bugs.gentoo.org/723432 - -diff --git a/library/forms/swig/mforms.i b/library/forms/swig/mforms.i -index cb74ba41..05535e56 100644 ---- a/library/forms/swig/mforms.i -+++ b/library/forms/swig/mforms.i -@@ -3,6 +3,7 @@ - #pragma SWIG nowarn=401,402,509 - - %{ -+#include <boost/bind.hpp> - #include <boost/signals2/signal.hpp> - #include <sstream> - #include <frameobject.h> -diff --git a/modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp b/modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp -index 24db3d63..d997c410 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp -+++ b//modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp -@@ -31,6 +31,7 @@ - #include "base/string_utilities.h" - #include <sstream> - #include <boost/lambda/bind.hpp> -+#include <boost/bind.hpp> - - using namespace grt; - using namespace base; -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp -index 3da58757..a9b082ac 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp -@@ -27,6 +27,7 @@ - - #include "mysql_sql_inserts_loader.h" - #include "mysql_sql_parser_utils.h" -+#include <boost/bind.hpp> - #include <boost/foreach.hpp> - - using namespace grt; -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp -index 0c0f72bc..baf3d897 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp -@@ -22,6 +22,7 @@ - */ - - #include <glib.h> -+#include <boost/bind.hpp> - #include <boost/signals2.hpp> - #include <cctype> - -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp -index ef51d77c..68f397ae 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp -@@ -39,6 +39,7 @@ - #include "base/string_utilities.h" - #include <sstream> - #include <iterator> -+#include <boost/bind.hpp> - #include <boost/lambda/bind.hpp> - - using namespace grt; -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h b/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h -index 9e790dfb..2addd87e 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h -@@ -30,6 +30,8 @@ - - #include "base/string_utilities.h" - -+#include <boost/bind.hpp> -+ - using namespace grt; - - template <typename T> -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp -index 617487b5..9614ad9c 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp -@@ -22,6 +22,7 @@ - */ - - #include <glib.h> -+#include <boost/bind.hpp> - #include <boost/signals2.hpp> - - #include "mysql_sql_schema_rename.h" -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp -index bbbb733a..51c3215d 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp -@@ -28,6 +28,7 @@ - #include "mysql_sql_parser_fe.h" - #include "grtdb/charset_utils.h" - #include "base/string_utilities.h" -+#include <boost/bind.hpp> - #include <boost/scoped_array.hpp> - #include <sstream> - -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp -index b87535a0..3900b7a8 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp -@@ -29,6 +29,7 @@ - #include "mysql_sql_parser_fe.h" - #include "base/string_utilities.h" - #include <boost/foreach.hpp> -+#include <boost/bind.hpp> - #include <boost/lambda/bind.hpp> - - using namespace grt; -diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp -index 0f9f80ad..1cb5f78a 100644 ---- a/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp -+++ b/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp -@@ -28,6 +28,7 @@ - #include "mysql_sql_parser_fe.h" - #include "grtdb/charset_utils.h" - #include "base/string_utilities.h" -+#include <boost/bind.hpp> - #include <boost/lambda/bind.hpp> - - using namespace grt; diff --git a/dev-db/mysql-workbench/metadata.xml b/dev-db/mysql-workbench/metadata.xml deleted file mode 100644 index 64e908505cd8..000000000000 --- a/dev-db/mysql-workbench/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>graaff@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="github">antlr/website-antlr3</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.19-r1.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.19-r1.ebuild deleted file mode 100644 index 2db141fb63cb..000000000000 --- a/dev-db/mysql-workbench/mysql-workbench-8.0.19-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GCONF_DEBUG="no" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -ANTLR_VERSION=4.7.1 - -inherit gnome2 flag-o-matic python-single-r1 cmake-utils - -MY_P="${PN}-community-${PV}-src" - -DESCRIPTION="MySQL Workbench" -HOMEPAGE="https://www.mysql.com/products/workbench/" -SRC_URI="https://cdn.mysql.com/Downloads/MySQLGUITools/${MY_P}.tar.gz - https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="debug doc" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# glibc: deprecated mutex functions, removed in 2.36.0 -CDEPEND="${PYTHON_DEPS} - app-crypt/libsecret - dev-libs/glib:2 - dev-cpp/antlr-cpp:4 - dev-cpp/atkmm - dev-cpp/pangomm - >=dev-cpp/glibmm-2.14:2 - dev-cpp/gtkmm:3.0 - dev-libs/atk - >=net-libs/libssh-0.8.5[server] - x11-libs/pango - x11-libs/gtk+:3 - gnome-base/libglade:2.0 - >=x11-libs/cairo-1.5.12[glib,svg] - >=dev-libs/rapidjson-1.1.0 - dev-libs/libsigc++:2 - >=dev-libs/boost-1.55.0[nls] - >=dev-cpp/ctemplate-0.95 - >=dev-libs/libxml2-2.6.2:2 - dev-libs/libzip - dev-libs/libpcre[cxx] - >=sci-libs/gdal-1.11.1-r1 - virtual/opengl - || ( sys-libs/e2fsprogs-libs dev-libs/ossp-uuid ) - dev-libs/tinyxml[stl] - >=dev-db/mysql-connector-c++-1.1.8 =dev-db/mysql-connector-c++-1* - dev-db/vsqlite++ - || ( dev-db/libiodbc dev-db/unixODBC ) - dev-python/pexpect - >=dev-python/paramiko-1.7.4 -" - -RDEPEND="${CDEPEND} - app-admin/sudo - >=sys-apps/net-tools-1.60_p20120127084908" - -DEPEND="${CDEPEND} - dev-lang/swig - virtual/jre - virtual/pkgconfig" - -S="${WORKDIR}"/"${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" - "${FILESDIR}/${P}-mysql-connector-8.patch" -) - -src_unpack() { - unpack ${PN}-community-${PV}-src.tar.gz -} - -src_prepare() { - ## remove hardcoded CXXFLAGS - sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die - ## And avoid -Werror - sed -i -e 's/-Werror//' CMakeLists.txt || die - - ## package is very fragile... - strip-flags - - cmake-utils_src_prepare -} - -src_configure() { - if has_version dev-db/libiodbc ; then - IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config" - fi - - append-cxxflags -std=c++11 - ANTLR_JAR_PATH="${DISTDIR}/antlr-${ANTLR_VERSION}-complete.jar" - local mycmakeargs=( - -DWITH_ANTLR_JAR=${ANTLR_JAR_PATH} - -DLIB_INSTALL_DIR="/usr/$(get_libdir)" - -DIODBC_INCLUDE_PATH="/usr/include/iodbc" - ${IODBC} - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DMySQL_CONFIG_PATH="/usr/bin/mysql_config" - ) - cmake-utils_src_configure -} diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.20.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.20.ebuild deleted file mode 100644 index 2590c53d77bb..000000000000 --- a/dev-db/mysql-workbench/mysql-workbench-8.0.20.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GCONF_DEBUG="no" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -ANTLR_VERSION=4.7.1 - -inherit gnome2 flag-o-matic python-single-r1 cmake-utils - -MY_P="${PN}-community-${PV}-src" - -DESCRIPTION="MySQL Workbench" -HOMEPAGE="https://www.mysql.com/products/workbench/" -SRC_URI="https://cdn.mysql.com/Downloads/MySQLGUITools/${MY_P}.tar.gz - https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug doc" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# glibc: deprecated mutex functions, removed in 2.36.0 -CDEPEND="${PYTHON_DEPS} - app-crypt/libsecret - dev-libs/glib:2 - dev-cpp/antlr-cpp:4 - dev-cpp/atkmm - dev-cpp/pangomm - >=dev-cpp/glibmm-2.14:2 - dev-cpp/gtkmm:3.0 - dev-libs/atk - >=net-libs/libssh-0.8.5[server] - x11-libs/pango - x11-libs/gtk+:3 - gnome-base/libglade:2.0 - >=x11-libs/cairo-1.5.12[glib,svg] - >=dev-libs/rapidjson-1.1.0 - dev-libs/libsigc++:2 - >=dev-libs/boost-1.55.0[nls] - >=dev-cpp/ctemplate-0.95 - >=dev-libs/libxml2-2.6.2:2 - dev-libs/libzip - dev-libs/libpcre[cxx] - >=sci-libs/gdal-1.11.1-r1 - virtual/opengl - || ( sys-libs/e2fsprogs-libs dev-libs/ossp-uuid ) - dev-libs/tinyxml[stl] - >=dev-db/mysql-connector-c++-1.1.8 =dev-db/mysql-connector-c++-1* - dev-db/vsqlite++ - || ( dev-db/libiodbc dev-db/unixODBC ) - dev-python/pexpect - >=dev-python/paramiko-1.7.4 -" - -RDEPEND="${CDEPEND} - app-admin/sudo - >=sys-apps/net-tools-1.60_p20120127084908" - -DEPEND="${CDEPEND} - dev-lang/swig - virtual/jre - virtual/pkgconfig" - -S="${WORKDIR}"/"${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" - "${FILESDIR}/${PN}-8.0.19-mysql-connector-8.patch" -) - -src_unpack() { - unpack ${PN}-community-${PV}-src.tar.gz -} - -src_prepare() { - ## remove hardcoded CXXFLAGS - sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die - ## And avoid -Werror - sed -i -e 's/-Werror//' CMakeLists.txt || die - - ## package is very fragile... - strip-flags - - cmake-utils_src_prepare -} - -src_configure() { - if has_version dev-db/libiodbc ; then - IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config" - fi - - append-cxxflags -std=c++11 - ANTLR_JAR_PATH="${DISTDIR}/antlr-${ANTLR_VERSION}-complete.jar" - local mycmakeargs=( - -DWITH_ANTLR_JAR=${ANTLR_JAR_PATH} - -DLIB_INSTALL_DIR="/usr/$(get_libdir)" - -DIODBC_INCLUDE_PATH="/usr/include/iodbc" - ${IODBC} - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DMySQL_CONFIG_PATH="/usr/bin/mysql_config" - ) - cmake-utils_src_configure -} diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.21.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.21.ebuild deleted file mode 100644 index d811ec775a6e..000000000000 --- a/dev-db/mysql-workbench/mysql-workbench-8.0.21.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GCONF_DEBUG="no" - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -ANTLR_VERSION=4.7.1 - -inherit gnome2 flag-o-matic python-single-r1 cmake-utils - -MY_P="${PN}-community-${PV}-src" - -DESCRIPTION="MySQL Workbench" -HOMEPAGE="https://www.mysql.com/products/workbench/" -SRC_URI="https://cdn.mysql.com/Downloads/MySQLGUITools/${MY_P}.tar.gz - https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug doc" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# glibc: deprecated mutex functions, removed in 2.36.0 -CDEPEND="${PYTHON_DEPS} - app-crypt/libsecret - dev-libs/glib:2 - dev-cpp/antlr-cpp:4 - dev-cpp/atkmm - dev-cpp/pangomm - >=dev-cpp/glibmm-2.14:2 - dev-cpp/gtkmm:3.0 - dev-libs/atk - >=net-libs/libssh-0.8.5[server] - x11-libs/pango - x11-libs/gtk+:3 - gnome-base/libglade:2.0 - >=x11-libs/cairo-1.5.12[glib,svg] - >=dev-libs/rapidjson-1.1.0 - dev-libs/libsigc++:2 - >=dev-libs/boost-1.55.0[nls] - >=dev-cpp/ctemplate-0.95 - >=dev-libs/libxml2-2.6.2:2 - dev-libs/libzip - dev-libs/libpcre[cxx] - >=sci-libs/gdal-1.11.1-r1 - virtual/opengl - || ( sys-libs/e2fsprogs-libs dev-libs/ossp-uuid ) - dev-libs/tinyxml[stl] - >=dev-db/mysql-connector-c++-1.1.8 =dev-db/mysql-connector-c++-1* - dev-db/vsqlite++ - || ( dev-db/libiodbc dev-db/unixODBC ) - dev-python/pexpect - >=dev-python/paramiko-1.7.4 -" - -RDEPEND="${CDEPEND} - app-admin/sudo - >=sys-apps/net-tools-1.60_p20120127084908" - -DEPEND="${CDEPEND} - dev-lang/swig - virtual/jre - virtual/pkgconfig" - -S="${WORKDIR}"/"${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" - "${FILESDIR}/${PN}-8.0.19-mysql-connector-8.patch" - "${FILESDIR}/${P}-boost-1.73.0.patch" -) - -src_unpack() { - unpack ${PN}-community-${PV}-src.tar.gz -} - -src_prepare() { - ## remove hardcoded CXXFLAGS - sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die - ## And avoid -Werror - sed -i -e 's/-Werror//' CMakeLists.txt || die - - ## package is very fragile... - strip-flags - - cmake-utils_src_prepare -} - -src_configure() { - if has_version dev-db/libiodbc ; then - IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config" - fi - - append-cxxflags -std=c++11 - ANTLR_JAR_PATH="${DISTDIR}/antlr-${ANTLR_VERSION}-complete.jar" - local mycmakeargs=( - -DWITH_ANTLR_JAR=${ANTLR_JAR_PATH} - -DLIB_INSTALL_DIR="/usr/$(get_libdir)" - -DIODBC_INCLUDE_PATH="/usr/include/iodbc" - ${IODBC} - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DMySQL_CONFIG_PATH="/usr/bin/mysql_config" - ) - cmake-utils_src_configure -} |