extra/libgda: fix

This commit is contained in:
Kevin Mihelich 2020-05-24 03:51:47 +00:00
parent ff5ec880ac
commit 671ccfb87b

View file

@ -3,8 +3,9 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - export java library path # - export java library path
# - remove firebird package, makedepends on libfbclient
pkgname=(libgda libgda-{firebird,jdbc,mysql,postgres}) pkgname=(libgda libgda-{jdbc,mysql,postgres})
pkgver=5.2.9 pkgver=5.2.9
pkgrel=3 pkgrel=3
pkgdesc="Database access library" pkgdesc="Database access library"
@ -12,7 +13,7 @@ url="https://www.gnome-db.org/"
arch=(x86_64) arch=(x86_64)
license=(GPL) license=(GPL)
depends=(gtksourceview3 libxslt python2 libsecret graphviz goocanvas iso-codes libgee openssl) depends=(gtksourceview3 libxslt python2 libsecret graphviz goocanvas iso-codes libgee openssl)
makedepends=(glade mariadb-libs postgresql-libs libfbclient jdk8-openjdk intltool makedepends=(glade mariadb-libs postgresql-libs jdk8-openjdk intltool
gobject-introspection gtk-doc vala itstool gnome-common git) gobject-introspection gtk-doc vala itstool gnome-common git)
_commit=295fa78d29eee6dbbc5d07fd6884cb95f48d92e0 # tags/LIBGDA_5_2_9^0 _commit=295fa78d29eee6dbbc5d07fd6884cb95f48d92e0 # tags/LIBGDA_5_2_9^0
source=("git+https://gitlab.gnome.org/GNOME/libgda.git#commit=$_commit" source=("git+https://gitlab.gnome.org/GNOME/libgda.git#commit=$_commit"
@ -50,8 +51,7 @@ build() {
} }
package_libgda() { package_libgda() {
optdepends=('libgda-firebird: provider for Firebird' optdepends=('libgda-jdbc: provider for JDBC'
'libgda-jdbc: provider for JDBC'
'libgda-mysql: provider for MySQL' 'libgda-mysql: provider for MySQL'
'libgda-postgres: provider for PostgreSQL') 'libgda-postgres: provider for PostgreSQL')
options+=(emptydirs) options+=(emptydirs)
@ -61,8 +61,8 @@ package_libgda() {
mkdir -p providers mkdir -p providers
local provider local provider
for provider in firebird jdbc mysql postgres; do for provider in jdbc mysql postgres; do
mv "$pkgdir"/usr/lib/libgda-$_apiver/providers/libgda-$provider[-.]*so \ mv -f "$pkgdir"/usr/lib/libgda-$_apiver/providers/libgda-$provider[-.]*so \
"$pkgdir"/usr/lib/pkgconfig/libgda-$provider-$_apiver.pc \ "$pkgdir"/usr/lib/pkgconfig/libgda-$provider-$_apiver.pc \
"$pkgdir"/usr/share/libgda-$_apiver/${provider}_specs_*.xml \ "$pkgdir"/usr/share/libgda-$_apiver/${provider}_specs_*.xml \
"$srcdir/providers" "$srcdir/providers"
@ -81,12 +81,6 @@ _packageprovider() {
mv providers/${1}_specs_*.xml "$pkgdir/usr/share/libgda-$_apiver" mv providers/${1}_specs_*.xml "$pkgdir/usr/share/libgda-$_apiver"
} }
package_libgda-firebird() {
pkgdesc="libgda provider for Firebird"
depends=(libgda libfbclient)
_packageprovider firebird
}
package_libgda-jdbc() { package_libgda-jdbc() {
pkgdesc="libgda provider for JDBC" pkgdesc="libgda provider for JDBC"
depends=(libgda java-environment) depends=(libgda java-environment)