Package Details: qt5-plugin-sql-oci 5.7.0-1

Git Clone URL: https://aur.archlinux.org/qt5-plugin-sql-oci.git (read-only)
Package Base: qt5-plugin-sql-oci
Description: QT5 Oracle OCI SQL plugin.
Upstream URL: http://qt-project.org/
Keywords: occi oci oracle qt qt5
Licenses: custom
Groups: qt, qt5
Submitter: morealaz
Maintainer: None
Last Packager: morealaz
Votes: 2
Popularity: 0.000000
First Submitted: 2015-07-08 11:26
Last Updated: 2016-07-09 18:03

Latest Comments

5smile5 commented on 2018-11-26 09:40

for updating to 5.11.2 use this pkgbuild ( perhaps is more secure to verify md5sums )

pkgname="qt5-plugin-sql-oci"

pkgver=5.11.2

_pkgicver=12.1.0.2.0

pkgrel=1

pkgdesc="QT5 Oracle OCI SQL plugin."

arch=('i686' 'x86_64')

url='http://qt-project.org/'

license=('custom')

depends=("qt5-base>=${pkgver}" "oracle-instantclient-basic>=${_pkgicver}")

makedepends=("oracle-instantclient-sdk>=${_pkgicver}")

groups=('qt' 'qt5')

_pkgfqn="qtbase-everywhere-src-${pkgver}"

source=("http://download.qt-project.org/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz")

md5sums=('SKIP')

build() {

cd "${srcdir}/${_pkgfqn}"

./configure -sql-oci

cd "${srcdir}/${_pkgfqn}/src/plugins/sqldrivers/oci"

qmake -- OCI_INCDIR=/usr/include OCI_LIBDIR=/usr/lib "OCI_LIBS=-Wl,-rpath,/usr/lib -lclntsh -lnnz18"

make

}

package() {

install -D "${srcdir}/${_pkgfqn}/plugins/sqldrivers/libqsqloci.so" "${pkgdir}/usr/lib/qt/plugins/sqldrivers/libqsqloci.so"

}

morealaz commented on 2016-07-09 18:07

updated to version 5.7
@jef3r50n thank you for noticing me.

jef3r50n commented on 2016-07-08 17:40

Para compilar e instalar, é necessário atualizar a versão do pacote (pkgver) para a 5.7.0, bem como alterar o md5sums do pacote de código fonte da QT.

Atenciosamente,
------------------
pkgname="qt5-plugin-sql-oci"
pkgver=5.7.0
_pkgicver=12.1.0.2.0
pkgrel=1
pkgdesc="QT5 Oracle OCI SQL plugin."
arch=('i686' 'x86_64')
url='http://qt-project.org/'
license=('custom')
depends=("qt5-base>=${pkgver}" "oracle-instantclient-basic>=${_pkgicver}")
makedepends=("oracle-instantclient-sdk>=${_pkgicver}")
groups=('qt' 'qt5')
_pkgfqn="qtbase-opensource-src-${pkgver}"
source=("http://download.qt-project.org/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz")
md5sums=('184f9460b40752d71b15b827260580c2')

build() {
cd "${srcdir}/${_pkgfqn}/src/plugins/sqldrivers/oci"
qmake "LIBS+= -lclntsh -lnnz12" oci.pro
make
}

package() {
install -D "${srcdir}/${_pkgfqn}/plugins/sqldrivers/libqsqloci.so" "${pkgdir}/usr/lib/qt/plugins/sqldrivers/libqsqloci.so"
}