extra/mysql-workbench to 8.0.36-2

This commit is contained in:
Kevin Mihelich 2024-03-15 13:12:04 +00:00
parent fe61e3e0d1
commit 7bcac6ee8a
2 changed files with 10 additions and 8 deletions

View file

@ -1,7 +1,7 @@
pkgbase = mysql-workbench
pkgdesc = A cross-platform, visual database design tool developed by MySQL
pkgver = 8.0.36
pkgrel = 1
pkgrel = 2
url = https://www.mysql.com/products/workbench/
arch = x86_64
license = GPL2
@ -29,7 +29,6 @@ pkgbase = mysql-workbench
depends = libaio
depends = libxml2
depends = libzip
depends = pcre
depends = proj
depends = python
depends = rapidjson
@ -42,7 +41,7 @@ pkgbase = mysql-workbench
source = https://cdn.mysql.com/Downloads/MySQL-8.3/mysql-8.3.0.tar.gz.asc
source = https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-8.3.0-src.tar.gz
source = https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-8.3.0-src.tar.gz.asc
source = https://download.osgeo.org/gdal/3.8.3/gdal-3.8.3.tar.xz
source = https://download.osgeo.org/gdal/3.8.4/gdal-3.8.4.tar.xz
source = https://downloads.sourceforge.net/project/boost/boost/1.77.0/boost_1_77_0.tar.bz2
source = 0001-mysql-workbench-no-check-for-updates.patch
source = 0002-disable-unsupported-operating-system-warning.patch
@ -56,7 +55,7 @@ pkgbase = mysql-workbench
sha256sums = SKIP
sha256sums = a17bf1fad12b1ab17f5f6c7766289fb87200e919453234c3ec1664d7734be8f8
sha256sums = SKIP
sha256sums = ae2d160f65016e208eca34ff14490ec4511f1fa03fd386ac130449d15e82929d
sha256sums = 0c53ced95d29474236487202709b49015854f8e02e35e44ed0f4f4e12a7966ce
sha256sums = fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854
sha256sums = cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f
sha256sums = 2d0f6dcf38f22e49ef7ab9de0230484f1ffac41b7ac40feaf5ef4538ae2f7a18

View file

@ -13,10 +13,10 @@ highmem=1
pkgname=mysql-workbench
pkgver=8.0.36
pkgrel=1
pkgrel=2
_mysql_version=8.3.0
_connector_version=8.3.0
_gdal_version=3.8.3
_gdal_version=3.8.4
_boost_version=1.77.0
# bump the antlr4 version as required, this is to match the jar file name
_antlr4_version=4.13.1
@ -26,7 +26,7 @@ url='https://www.mysql.com/products/workbench/'
license=('GPL2')
depends=('cairo' 'antlr4-runtime' 'curl' 'desktop-file-utils' 'freetype2' 'giflib'
'gtkmm3' 'hicolor-icon-theme' 'json-c' 'libgl' 'libsecret' 'libssh' 'libaio'
'libxml2' 'libzip' 'pcre' 'proj' 'python' 'rapidjson' 'unixodbc'
'libxml2' 'libzip' 'proj' 'python' 'rapidjson' 'unixodbc'
'vsqlite++' 'zstd')
makedepends=('cmake' 'boost' 'mesa' 'swig' 'java-runtime' 'imagemagick'
"antlr4=${_antlr4_version}" "antlr4-runtime=${_antlr4_version}")
@ -49,7 +49,7 @@ sha256sums=('634d8a66b6c2777491058a60aba8187e947e4c49a0e7ae83df312fa70714637c'
'SKIP'
'a17bf1fad12b1ab17f5f6c7766289fb87200e919453234c3ec1664d7734be8f8'
'SKIP'
'ae2d160f65016e208eca34ff14490ec4511f1fa03fd386ac130449d15e82929d'
'0c53ced95d29474236487202709b49015854f8e02e35e44ed0f4f4e12a7966ce'
'fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854'
'cdf687f23bc6e8d52dbee9fa02b23d755e80f88476f0fc2e7c4c71cdfed3792f'
'a9f1d3262350b22850f9720647c806be8959f2ed387d0095e6134b7f3251363c'
@ -75,6 +75,9 @@ prepare() {
# fix build with libxml2
patch -Np1 < "${srcdir}"/0004-libxml2.patch
# remove left over requirement on PCRE
sed -i '/PCRE REQUIRED/d' CMakeLists.txt
# remove '-Werror'
sed -i '/^\s*set/s| -Werror||' CMakeLists.txt