forked from hasufell/hasufell-repository
dev-db/mysql-workbench: bump to 8.0.12
This commit is contained in:
parent
d127f94a28
commit
939f42f0bc
@ -7,8 +7,7 @@ require cmake [ api=2 ]
|
|||||||
|
|
||||||
SUMMARY="MySQL Workbench"
|
SUMMARY="MySQL Workbench"
|
||||||
HOMEPAGE="https://www.mysql.com/products/workbench/"
|
HOMEPAGE="https://www.mysql.com/products/workbench/"
|
||||||
DOWNLOADS="https://dev.mysql.com/get/Downloads/MySQLGUITools/${PN}-community-${PV}-src.tar.gz
|
DOWNLOADS="https://dev.mysql.com/get/Downloads/MySQLGUITools/${PN}-community-${PV}-src.tar.gz"
|
||||||
http://www.antlr3.org/download/antlr-3.4-complete.jar"
|
|
||||||
|
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -27,16 +26,18 @@ DEPENDENCIES="
|
|||||||
dev-cpp/ctemplate
|
dev-cpp/ctemplate
|
||||||
dev-cpp/libsigc++:2
|
dev-cpp/libsigc++:2
|
||||||
dev-db/libiodbc
|
dev-db/libiodbc
|
||||||
dev-db/mysql-connector-c++
|
dev-db/mysql-connector-c++[>=${PV}]
|
||||||
dev-db/vsqlite++
|
dev-db/vsqlite++
|
||||||
|
dev-java/antlr:4
|
||||||
dev-lang/python:2.7[sqlite]
|
dev-lang/python:2.7[sqlite]
|
||||||
|
dev-libs/antlr4-cpp
|
||||||
dev-libs/boost
|
dev-libs/boost
|
||||||
dev-libs/glib:2
|
dev-libs/glib:2
|
||||||
|
dev-libs/libsecret:1
|
||||||
dev-libs/libxml2:2.0
|
dev-libs/libxml2:2.0
|
||||||
dev-libs/pcre
|
dev-libs/pcre
|
||||||
dev-libs/tinyxml
|
dev-libs/tinyxml
|
||||||
dev-python/paramiko[python_abis:2.7]
|
dev-python/paramiko[python_abis:2.7]
|
||||||
dev-python/pexpect[python_abis:2.7]
|
|
||||||
dev-python/pycairo[python_abis:2.7]
|
dev-python/pycairo[python_abis:2.7]
|
||||||
gnome-bindings/atkmm:1.6
|
gnome-bindings/atkmm:1.6
|
||||||
gnome-bindings/glibmm:2.4
|
gnome-bindings/glibmm:2.4
|
||||||
@ -44,6 +45,7 @@ DEPENDENCIES="
|
|||||||
gnome-bindings/pangomm:1.4
|
gnome-bindings/pangomm:1.4
|
||||||
gnome-desktop/libgnome-keyring
|
gnome-desktop/libgnome-keyring
|
||||||
gnome-platform/libglade:2
|
gnome-platform/libglade:2
|
||||||
|
net-libs/libssh
|
||||||
sci-libs/gdal
|
sci-libs/gdal
|
||||||
virtual/mysql
|
virtual/mysql
|
||||||
x11-dri/mesa
|
x11-dri/mesa
|
||||||
@ -59,9 +61,6 @@ DEPENDENCIES="
|
|||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
edo install -D "${FETCHEDDIR}"/antlr-3.4-complete.jar \
|
|
||||||
"${WORKBASE}"/linux-res/bin/antlr-3.4-complete.jar
|
|
||||||
|
|
||||||
# fix gdal includes
|
# fix gdal includes
|
||||||
edo sed -i \
|
edo sed -i \
|
||||||
-e 's|#include <gdal/|#include <|' \
|
-e 's|#include <gdal/|#include <|' \
|
||||||
@ -80,6 +79,16 @@ src_prepare() {
|
|||||||
-e 's/\-Werror//' \
|
-e 's/\-Werror//' \
|
||||||
"${CMAKE_SOURCE}"/CMakeLists.txt
|
"${CMAKE_SOURCE}"/CMakeLists.txt
|
||||||
|
|
||||||
|
# fix mysql-connector-c++ detection
|
||||||
|
edo sed -i \
|
||||||
|
-e '/MySQLCppConn_INCLUDE_DIR NAMES/s#/usr/include#/usr/include/jdbc#' \
|
||||||
|
"${CMAKE_SOURCE}"/build/cmake/Modules/FindMySQLCppConn.cmake
|
||||||
|
|
||||||
|
# fix antl4 jar detection
|
||||||
|
edo sed -i \
|
||||||
|
-e '/ANTLR_JAR_FILENAME/s/antlr-4.7.1-complete.jar/antlr-complete.jar/' \
|
||||||
|
"${CMAKE_SOURCE}"/CMakeLists.txt
|
||||||
|
|
||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,6 +97,8 @@ src_configure() {
|
|||||||
-DIODBC_CONFIG_PATH="/usr/$(exhost --target)/bin/iodbc-config"
|
-DIODBC_CONFIG_PATH="/usr/$(exhost --target)/bin/iodbc-config"
|
||||||
-DLIB_INSTALL_DIR="/usr/$(exhost --target)/lib"
|
-DLIB_INSTALL_DIR="/usr/$(exhost --target)/lib"
|
||||||
-DSHARE_INSTALL_PREFIX=/usr/share
|
-DSHARE_INSTALL_PREFIX=/usr/share
|
||||||
|
-DANTLR_JAR_PATH="/usr/share/antlr-4"
|
||||||
|
-DANTLR_JAR_FILENAME="antlr-complete.jar"
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_src_configure
|
cmake_src_configure
|
Loading…
Reference in New Issue
Block a user