From ec8daf15e08a001221b6cebc7c905c6b7bdb0e75 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Sat, 9 Feb 2019 22:00:27 -0500 Subject: [PATCH] dev-libs/poco: Revbump to fix MySQL dependencies and detection Bug: https://bugs.gentoo.org/665880 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans --- dev-libs/poco/metadata.xml | 1 + dev-libs/poco/poco-1.7.6-r1.ebuild | 119 +++++++++++++++++++++++++++ dev-libs/poco/poco-1.9.0-r1.ebuild | 128 +++++++++++++++++++++++++++++ 3 files changed, 248 insertions(+) create mode 100644 dev-libs/poco/poco-1.7.6-r1.ebuild create mode 100644 dev-libs/poco/poco-1.9.0-r1.ebuild diff --git a/dev-libs/poco/metadata.xml b/dev-libs/poco/metadata.xml index a2b0f1f2ac3f..f7a05b32b68d 100644 --- a/dev-libs/poco/metadata.xml +++ b/dev-libs/poco/metadata.xml @@ -33,6 +33,7 @@ done quickly and working on the features that make their application unique. Database abstraction layer to easily send/retrieve data to/from various databases Utility to convert ordinary files to Page Compiler source files Add JSON support + Prefer dev-db/mariadb-connector-c over dev-db/mysql-connector-c Add dev-db/mongodb support Classes to write network clients & servers Simple compiler translating HTML pages containing embedded C++ code into HTTPRequestHandler classes diff --git a/dev-libs/poco/poco-1.7.6-r1.ebuild b/dev-libs/poco/poco-1.7.6-r1.ebuild new file mode 100644 index 000000000000..0f6dc7386860 --- /dev/null +++ b/dev-libs/poco/poco-1.7.6-r1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="C++ libraries for building network-based applications" +HOMEPAGE="https://pocoproject.org/" +SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P}.tar.gz" +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="7z apache cppparser +crypto +data examples +file2pagecompiler +json +pagecompiler iodbc libressl +mongodb mysql +net odbc pdf pocodoc sqlite +ssl test +util +xml +zip" +REQUIRED_USE="7z? ( xml ) + apache? ( net util ) + file2pagecompiler? ( pagecompiler ) + iodbc? ( odbc ) + mongodb? ( data ) + mysql? ( data ) + odbc? ( data ) + pagecompiler? ( json net util xml ) + pocodoc? ( cppparser util xml ) + sqlite? ( data ) + test? ( data? ( sqlite ) json util xml )" + +RDEPEND=">=dev-libs/libpcre-8.13 + xml? ( dev-libs/expat ) + apache? ( dev-libs/apr + dev-libs/apr-util + www-servers/apache ) + mysql? ( dev-db/mysql-connector-c:0= ) + odbc? ( iodbc? ( dev-db/libiodbc ) + !iodbc? ( dev-db/unixODBC ) ) + ssl? ( + !libressl? (