dev-db/opendbx: drop 1.5.0-r3

This verion does not build with C++17 and it is keyworded only for solaris.

Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/28882
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Marco Scardovi
2023-01-10 14:11:30 +01:00
committed by Joonas Niilola
parent 5d45465987
commit 0bd1eafbd9
2 changed files with 0 additions and 82 deletions

View File

@@ -1,2 +1 @@
DIST libopendbx-1.5.0.tar.gz 583894 BLAKE2B c427bf8d79df6b83d0ce940d974625bd9b54e49e502f864d244a780185b6321f84a6b779e09b603a71ca26549844001268f0357169e9a74e742b9c2668e4b3ec SHA512 7e4e9b8c62fd981276f6747f8184d7e34d743b866bfd76c8126a16371b50dc682177fd563212333d2dbebe2128d0b1527fc69029833329ba8cc0311308fa9bb5
DIST opendbx-1.4.6.tar.gz 587514 BLAKE2B 0a6c983ac1ebdc3ad9390185938f32e13ba9ff2ced6d41390421e1e3a1e9eb639a85d89da7ce2dd67f05fd2fcaebb2f53146f43678e548511403d8cdc4de88da SHA512 dd6d53d29157057dbf4e273fd82c7694e8bc626d3409d6ab9c25627a0fec96418326550fa8004b5341facdc4cd8aae12516224e8bb84e2562482885780ff0e55

View File

@@ -1,81 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit flag-o-matic
MY_PN="lib${PN}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="OpenDBX - A database abstraction layer"
HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX"
SRC_URI="https://www.linuxnetworks.de/opendbx/download/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x64-solaris"
IUSE="firebird +mysql oracle postgres sqlite"
RESTRICT="firebird? ( bindist )"
RDEPEND="mysql? ( dev-db/mysql-connector-c:0= )
postgres? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite:3 )
oracle? ( dev-db/oracle-instantclient[sdk] )
firebird? ( dev-db/firebird )"
DEPEND="${RDEPEND} app-doc/doxygen app-text/docbook2X"
S="${WORKDIR}"/${MY_P}
REQUIRED_USE="|| ( firebird mysql oracle postgres sqlite )"
PATCHES=( "${FILESDIR}/${PN}-doxy.patch" )
pkg_setup() {
if use oracle && [[ ! -d ${ORACLE_HOME} ]]
then
die "Oracle support requested, but ORACLE_HOME not set to a valid directory!"
fi
}
src_configure() {
local backends=""
use firebird && backends="${backends} firebird"
use mysql && backends="${backends} mysql"
use oracle && backends="${backends} oracle"
use postgres && backends="${backends} pgsql"
use sqlite && backends="${backends} sqlite3"
use mysql && append-cppflags -I/usr/include/mysql
use firebird && append-cppflags -I/opt/firebird/include
if use oracle ; then
# Traditionally, OCI header files are provided in:
append-cppflags -I"${ORACLE_HOME}"/rdbms/public
# But newer versions merged them with additional SDKs:
append-cppflags -I"${ORACLE_HOME}"/sdk/include
# Depending on the client package ORACLE_HOME refers to,
# we need to find the libraries in varying locations:
# - gentoo instantclient has multilib (dev-db/oracle-instantclient)
append-ldflags -L"${ORACLE_HOME}"/$(get_libdir)
# - vanilla full client lacks multilib (LINUX*_client{,_home}.zip)
append-ldflags -L"${ORACLE_HOME}"/lib
# - vanilla instantclient lacks libdir (instantclient-*.zip)
append-ldflags -L"${ORACLE_HOME}"
fi
econf --with-backends="${backends}"
}
src_compile() {
# bug #322221
emake -j1
}
src_install() {
emake -j1 install DESTDIR="${D}"
dodoc AUTHORS ChangeLog README
rm -f "${D}"/usr/$(get_libdir)/opendbx/*.{a,la}
}