mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/mysql-workbench to 8.0.12-5
This commit is contained in:
parent
ede9df113b
commit
2e81abfadd
1 changed files with 18 additions and 18 deletions
|
@ -1,4 +1,3 @@
|
||||||
# $Id$
|
|
||||||
# Maintainer: Christian Hesse <mail@eworm.de>
|
# Maintainer: Christian Hesse <mail@eworm.de>
|
||||||
# Contributor: Alexandre Boily <alexandreboily@gmail.com>
|
# Contributor: Alexandre Boily <alexandreboily@gmail.com>
|
||||||
# Contributor: Illarion Kovalchuk <illarion.kovalchuk@gmail.com>
|
# Contributor: Illarion Kovalchuk <illarion.kovalchuk@gmail.com>
|
||||||
|
@ -14,10 +13,10 @@ buildarch=28
|
||||||
|
|
||||||
pkgname=mysql-workbench
|
pkgname=mysql-workbench
|
||||||
pkgver=8.0.12
|
pkgver=8.0.12
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
_mysql_version=8.0.12
|
_mysql_version=8.0.12
|
||||||
_connector_version=8.0.12
|
_connector_version=8.0.12
|
||||||
_gdal_version=2.3.1
|
_gdal_version=2.3.2
|
||||||
_boost_version=1.67.0
|
_boost_version=1.67.0
|
||||||
pkgdesc='A cross-platform, visual database design tool developed by MySQL'
|
pkgdesc='A cross-platform, visual database design tool developed by MySQL'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -27,7 +26,7 @@ depends=('cairo' 'ctemplate' 'desktop-file-utils' 'freetype2' 'gtkmm3'
|
||||||
'hicolor-icon-theme' 'libgl' 'libsecret' 'libiodbc' 'libxml2'
|
'hicolor-icon-theme' 'libgl' 'libsecret' 'libiodbc' 'libxml2'
|
||||||
'libzip' 'mysql-python' 'pcre' 'python2' 'python2-cairo' 'libssh'
|
'libzip' 'mysql-python' 'pcre' 'python2' 'python2-cairo' 'libssh'
|
||||||
'python2-pexpect' 'tinyxml' 'unixodbc' 'vsqlite++' 'proj' 'json-c'
|
'python2-pexpect' 'tinyxml' 'unixodbc' 'vsqlite++' 'proj' 'json-c'
|
||||||
'antlr4-runtime')
|
'antlr4-runtime' 'giflib' 'zstd' 'curl')
|
||||||
optdepends=('python2-pyodbc: database migration')
|
optdepends=('python2-pyodbc: database migration')
|
||||||
makedepends=('cmake' 'boost' 'mesa' 'swig' 'java-runtime' 'imagemagick' 'antlr4')
|
makedepends=('cmake' 'boost' 'mesa' 'swig' 'java-runtime' 'imagemagick' 'antlr4')
|
||||||
validpgpkeys=('A4A9406876FCBD3C456770C88C718D3B5072E1F5') # MySQL Release Engineering <mysql-build@oss.oracle.com>
|
validpgpkeys=('A4A9406876FCBD3C456770C88C718D3B5072E1F5') # MySQL Release Engineering <mysql-build@oss.oracle.com>
|
||||||
|
@ -47,7 +46,7 @@ sha256sums=('0241586c95026a7d4d1b552ba2e33d8e66f6826e8f7e1a692b78c405f80cd334'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'47d9f152988fe205350a6d31d032692a6777f838a886c3b3dc7af3b0652fdd50'
|
'47d9f152988fe205350a6d31d032692a6777f838a886c3b3dc7af3b0652fdd50'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'9c4625c45a3ee7e49a604ef221778983dd9fd8104922a87f20b99d9bedb7725a'
|
'3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4'
|
||||||
'2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba'
|
'2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba'
|
||||||
'cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f'
|
'cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f'
|
||||||
'2d0f6dcf38f22e49ef7ab9de0230484f1ffac41b7ac40feaf5ef4538ae2f7a18'
|
'2d0f6dcf38f22e49ef7ab9de0230484f1ffac41b7ac40feaf5ef4538ae2f7a18'
|
||||||
|
@ -91,7 +90,7 @@ build() {
|
||||||
# Build mysql
|
# Build mysql
|
||||||
mkdir "${srcdir}/mysql-${_mysql_version}-build"
|
mkdir "${srcdir}/mysql-${_mysql_version}-build"
|
||||||
cd "${srcdir}/mysql-${_mysql_version}-build"
|
cd "${srcdir}/mysql-${_mysql_version}-build"
|
||||||
msg "Configure mysql"
|
echo "Configure mysql..."
|
||||||
cmake "${srcdir}/mysql-${_mysql_version}" \
|
cmake "${srcdir}/mysql-${_mysql_version}" \
|
||||||
-DWITHOUT_SERVER=ON \
|
-DWITHOUT_SERVER=ON \
|
||||||
-DBUILD_CONFIG=mysql_release \
|
-DBUILD_CONFIG=mysql_release \
|
||||||
|
@ -99,15 +98,15 @@ build() {
|
||||||
-DSYSCONFDIR=/etc/mysql \
|
-DSYSCONFDIR=/etc/mysql \
|
||||||
-DMYSQL_DATADIR=/var/lib/mysql \
|
-DMYSQL_DATADIR=/var/lib/mysql \
|
||||||
-DWITH_BOOST="${srcdir}/boost_${_boost_version//./_}"
|
-DWITH_BOOST="${srcdir}/boost_${_boost_version//./_}"
|
||||||
msg "Build mysql"
|
echo "Build mysql..."
|
||||||
make
|
make
|
||||||
msg "Install mysql"
|
echo "Install mysql..."
|
||||||
make DESTDIR="${srcdir}/install-bundle/" install
|
make DESTDIR="${srcdir}/install-bundle/" install
|
||||||
|
|
||||||
# Build mysql-connector-c++
|
# Build mysql-connector-c++
|
||||||
mkdir "${srcdir}/mysql-connector-c++-${_connector_version}-src-build"
|
mkdir "${srcdir}/mysql-connector-c++-${_connector_version}-src-build"
|
||||||
cd "${srcdir}/mysql-connector-c++-${_connector_version}-src-build"
|
cd "${srcdir}/mysql-connector-c++-${_connector_version}-src-build"
|
||||||
msg "Configure mysql-connector-c++"
|
echo "Configure mysql-connector-c++..."
|
||||||
cmake "${srcdir}/mysql-connector-c++-${_connector_version}-src" \
|
cmake "${srcdir}/mysql-connector-c++-${_connector_version}-src" \
|
||||||
-Wno-dev \
|
-Wno-dev \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
@ -116,14 +115,14 @@ build() {
|
||||||
-DMYSQL_DIR="${srcdir}/install-bundle/" \
|
-DMYSQL_DIR="${srcdir}/install-bundle/" \
|
||||||
-DMYSQL_CONFIG_EXECUTABLE="${srcdir}/install-bundle/usr/bin/mysql_config" \
|
-DMYSQL_CONFIG_EXECUTABLE="${srcdir}/install-bundle/usr/bin/mysql_config" \
|
||||||
-DWITH_JDBC=ON
|
-DWITH_JDBC=ON
|
||||||
msg "Build mysql-connector-c++"
|
echo "Build mysql-connector-c++..."
|
||||||
make
|
make
|
||||||
msg "Install mysql-connector-c++"
|
echo "Install mysql-connector-c++..."
|
||||||
make DESTDIR="${srcdir}/install-bundle/" install
|
make DESTDIR="${srcdir}/install-bundle/" install
|
||||||
|
|
||||||
# Build gdal
|
# Build gdal
|
||||||
cd "${srcdir}/gdal-${_gdal_version}"
|
cd "${srcdir}/gdal-${_gdal_version}"
|
||||||
msg "Configure gdal"
|
echo "Configure gdal..."
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--includedir=/usr/include/gdal \
|
--includedir=/usr/include/gdal \
|
||||||
|
@ -131,15 +130,15 @@ build() {
|
||||||
--with-mysql="${srcdir}/install-bundle/usr/bin/mysql_config" \
|
--with-mysql="${srcdir}/install-bundle/usr/bin/mysql_config" \
|
||||||
--with-curl \
|
--with-curl \
|
||||||
--without-jasper
|
--without-jasper
|
||||||
msg "Build gdal"
|
echo "Build gdal..."
|
||||||
make LD_LIBRARY_PATH="${srcdir}/install-bundle/usr/lib/"
|
make LD_LIBRARY_PATH="${srcdir}/install-bundle/usr/lib/"
|
||||||
msg "Install gdal"
|
echo "Install gdal..."
|
||||||
make LD_LIBRARY_PATH="${srcdir}/install-bundle/usr/lib/" DESTDIR="${srcdir}/install-bundle/" install
|
make LD_LIBRARY_PATH="${srcdir}/install-bundle/usr/lib/" DESTDIR="${srcdir}/install-bundle/" install
|
||||||
|
|
||||||
# Build MySQL Workbench itself with bundled libs
|
# Build MySQL Workbench itself with bundled libs
|
||||||
mkdir "${srcdir}/mysql-workbench-community-${pkgver}-src-build"
|
mkdir "${srcdir}/mysql-workbench-community-${pkgver}-src-build"
|
||||||
cd "${srcdir}/mysql-workbench-community-${pkgver}-src-build"
|
cd "${srcdir}/mysql-workbench-community-${pkgver}-src-build"
|
||||||
msg "Configure mysql-workbench"
|
echo "Configure mysql-workbench..."
|
||||||
cmake "${srcdir}/mysql-workbench-community-${pkgver}-src" \
|
cmake "${srcdir}/mysql-workbench-community-${pkgver}-src" \
|
||||||
-Wno-dev \
|
-Wno-dev \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||||
|
@ -152,7 +151,7 @@ build() {
|
||||||
-DGDAL_LIBRARY="${srcdir}/install-bundle/usr/lib/libgdal.so" \
|
-DGDAL_LIBRARY="${srcdir}/install-bundle/usr/lib/libgdal.so" \
|
||||||
-DWITH_ANTLR_JAR='/usr/share/java/antlr-complete.jar' \
|
-DWITH_ANTLR_JAR='/usr/share/java/antlr-complete.jar' \
|
||||||
-DUSE_BUNDLED_MYSQLDUMP=1
|
-DUSE_BUNDLED_MYSQLDUMP=1
|
||||||
msg "Build mysql-workbench"
|
echo "Build mysql-workbench..."
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,7 +174,8 @@ package() {
|
||||||
|
|
||||||
# icons
|
# icons
|
||||||
for SIZE in 16 24 32 48 64 96 128; do
|
for SIZE in 16 24 32 48 64 96 128; do
|
||||||
convert -scale ${SIZE} \
|
# set modify/create for reproducible builds
|
||||||
|
convert -scale ${SIZE} +set date:create +set date:modify \
|
||||||
"${srcdir}/mysql-workbench-community-${pkgver}-src/images/icons/MySQLWorkbench-128.png" \
|
"${srcdir}/mysql-workbench-community-${pkgver}-src/images/icons/MySQLWorkbench-128.png" \
|
||||||
"${srcdir}/mysql-workbench.png"
|
"${srcdir}/mysql-workbench.png"
|
||||||
install -D -m0644 "${srcdir}/mysql-workbench.png" "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/mysql-workbench.png"
|
install -D -m0644 "${srcdir}/mysql-workbench.png" "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/mysql-workbench.png"
|
||||||
|
|
Loading…
Reference in a new issue