community/mysql-workbench to 8.0.26-1

This commit is contained in:
Kevin Mihelich 2021-07-20 13:03:10 +00:00
parent 5a6edd6710
commit 212ff7fcbc

View file

@ -13,11 +13,11 @@ highmem=1
buildarch=12
pkgname=mysql-workbench
pkgver=8.0.25
pkgver=8.0.26
pkgrel=1
_mysql_version=${pkgver}
_connector_version=${pkgver}
_gdal_version=3.2.2
_gdal_version=3.3.1
_boost_version=1.73.0
_antlr4_version=4.9.2
pkgdesc='A cross-platform, visual database design tool developed by MySQL'
@ -40,13 +40,13 @@ source=("https://cdn.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community
'0001-fix-buiild-for-32-bit.patch'
'atomic.patch'
'arch_linux_profile.xml')
sha256sums=('c09b2a2895c4f195f378f108ecc881a135a4ba71b907bc8492900cc75517ec42'
sha256sums=('529e385af60a4956045c4533e85f7d6e306230668497ba3e69d032e7c0eaecf8'
'SKIP'
'c16aa9cf621bc028efba2bb11f3c36a323b125fa0d108ff92fab60e46309206e'
'dbddcdc772f806c711a3731363a50f3d359eaac9c5d1480084728a1c2ce5da4d'
'SKIP'
'49f082ed21c04348b7080d505ae0c85fd3bd1156ff511a3b53a97ab026243194'
'50f881e0a46ec87dd789ce68edbbe076998d6c3f8c1ea40cbfbf5e441b710de2'
'SKIP'
'a7e1e414e5c405af48982bf4724a3da64a05770254f2ce8affb5f58a7604ca57'
'48ab00b77d49f08cf66c60ccce55abb6455c3079f545e60c90ee7ce857bccb70'
'4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402'
'cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f'
'2d0f6dcf38f22e49ef7ab9de0230484f1ffac41b7ac40feaf5ef4538ae2f7a18'
@ -64,17 +64,11 @@ prepare() {
# disable unsupported operating system warning
patch -Np1 < "${srcdir}"/0002-disable-unsupported-operating-system-warning.patch
# GCC 7.x introduced some new warnings, remove '-Werror' for the build to complete
sed -i '/^set/s|-Werror -Wall|-Wall|' CMakeLists.txt
# remove '-Werror'
sed -i '/^\s*set/s| -Werror||' CMakeLists.txt
# GCC 7.x complains about unsupported flag
sed -i 's|-Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt
# disable stringop-truncation for GCC 8.x
sed -i '/^set/s|-Wall|-Wall -Wno-stringop-truncation|' CMakeLists.txt
# make sure to link against bundled libraries
sed -i "/target_link_libraries/s|\\$|-L${srcdir}/install-bundle/usr/lib/ \\$|" backend/wbpublic/CMakeLists.txt
sed -i 's| -Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt
# be happy with more recent antlr
sed -i "/set(ANTLR_JAR_FILENAME/s/4.9.1/${_antlr4_version}/" CMakeLists.txt