From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4876E138359 for ; Fri, 11 Sep 2020 07:45:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92C0BE0996; Fri, 11 Sep 2020 07:45:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E624E0996 for ; Fri, 11 Sep 2020 07:45:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 644FE340CC3 for ; Fri, 11 Sep 2020 07:45:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFB622E1 for ; Fri, 11 Sep 2020 07:45:52 +0000 (UTC) From: "Azael Reyes" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azael Reyes" Message-ID: <1599810323.6d143c9104e4e3fc8ade50620ee24afd140b6648.AzaelReyes@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/apidb/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/apidb/Manifest app-misc/apidb/apidb-5.0.0_alpha8.ebuild app-misc/apidb/metadata.xml X-VCS-Directories: app-misc/apidb/ X-VCS-Committer: AzaelReyes X-VCS-Committer-Name: Azael Reyes X-VCS-Revision: 6d143c9104e4e3fc8ade50620ee24afd140b6648 X-VCS-Branch: dev Date: Fri, 11 Sep 2020 07:45:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d227d369-7470-4bd7-930f-b8390b533ef5 X-Archives-Hash: 50060160971cc2311f55fa4b454b5222 commit: 6d143c9104e4e3fc8ade50620ee24afd140b6648 Author: Azael Reyes gmail com> AuthorDate: Fri Sep 11 07:45:23 2020 +0000 Commit: Azael Reyes gmail com> CommitDate: Fri Sep 11 07:45:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d143c91 app-misc/apidb: fixing packing. Signed-off-by: Azael Reyes gmail.com> Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azael Reyes gmail.com> app-misc/apidb/Manifest | 1 + app-misc/apidb/apidb-5.0.0_alpha8.ebuild | 73 ++++++++++++++++++++++++++++++++ app-misc/apidb/metadata.xml | 6 ++- 3 files changed, 78 insertions(+), 2 deletions(-) diff --git a/app-misc/apidb/Manifest b/app-misc/apidb/Manifest index 21f2aca4..8cacbc60 100644 --- a/app-misc/apidb/Manifest +++ b/app-misc/apidb/Manifest @@ -1,2 +1,3 @@ DIST 4.3.0-beta.2.tar.gz 168416 BLAKE2B a3c6e948d0227c6bfc1e030111c0c31fe89ebc294f283246f3446d611ae4d4353534c9270dac40fb46b9189d8ea42ab0f10c2e2d783af8499442c207bd76e3dd SHA512 efc0733ea683a47a2e10e97a53ea6ed378aa152b191d7689529a9acfe0866c7aefec2987b9094c4874c4966ae5869a133a5b194de8e99af338282ff30f2586ad DIST 5.0.0-alpha.2.tar.gz 165464 BLAKE2B 92975743b28dbed779c9d3c86cb9636b321f18268e830e97fcd80f54f67bb29a70b1d8f5bd509b5f6c86f982b48d31b861aad5f1981f4304ad43eda254620283 SHA512 d184cc782494e655f154cd23486a3bf4385b07c0ce95032b940c614cb16cb575ffecdceab3e71e7d90cb198b68867b06666da65db0981e5b87c4ab7c703fa794 +DIST 5.0.0-alpha8.tar.gz 165674 BLAKE2B 10227665ddf1c2b17cacb4b52a4fb0ef06125066546cfc5ce919e2ce6bcba27dabdb471edee4a405f05208333fd6e719981d90384194dc6fab62791abc2eb671 SHA512 e1ef0a916b64ba116efad641b64446656a1e57c0e1c0d65cceafb59ec04deb142de1a11e625c4e8c214b36dcbf9adb4d413283d7a22f0a090098cebfc021e182 diff --git a/app-misc/apidb/apidb-5.0.0_alpha8.ebuild b/app-misc/apidb/apidb-5.0.0_alpha8.ebuild new file mode 100644 index 00000000..7aa63d03 --- /dev/null +++ b/app-misc/apidb/apidb-5.0.0_alpha8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +CMAKE_MAKEFILE_GENERATOR="emake" +CMAKE_BINARY=cmake +CMAKE_MAKEFILE_GENERATOR=emake + +MYPV="${PV/_alpha8/-alpha8}" +MYPN="${PN}" +MYP="${MYPN}-${MYPV}" + +DESCRIPTION="API Generator for Database acces." +HOMEPAGE="https://github.com/azaeldevel/apidb" +SRC_URI="https://github.com/azaeldevel/${PN}/archive/${MYPV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="mariadb postgresql commands gui corelibs" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/libxml2 + dev-libs/boost + sys-devel/bison + sys-devel/flex + gui? ( x11-libs/gtk+ ) + dev-libs/libtar + mariadb? ( dev-libs/octetos-db-maria ) + postgresql? ( dev-libs/octetos-db-postgresql ) + media-gfx/imagemagick +" + +S="${WORKDIR}/${PN}-${MYPV}" + +src_prepare() { + sed -i 's/lib/${LIBDIR}/' src/CMakeLists.txt || die + sed -i 's/lib/${LIBDIR}/' src/mysql-reader-c++/CMakeLists.txt || die + sed -i 's/lib/${LIBDIR}/' src/mariadb-reader-c++/CMakeLists.txt || die + sed -i 's/lib/${LIBDIR}/' src/postgresql-reader-c++/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + APIDBBUILD="CORE" + APIDBINSTALL="" + if use corelibs ;then + APIDBINSTALL="CORE" + fi + if use mariadb ;then + APIDBBUILD="$APIDBBUILD;MARIADB" + APIDBINSTALL="$APIDBINSTALL;DRIVERS" + fi + if use postgresql ;then + APIDBBUILD="$APIDBBUILD;POSTGRESQL" + APIDBINSTALL="$APIDBINSTALL;DRIVERS" + fi + if use commands ;then + APIDBINSTALL="$APIDBINSTALL;COMMANDS" + fi + if use gui ;then + APIDBINSTALL="$APIDBINSTALL;GUI" + fi + local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DPLATFORM=GENTOO -DAPIDBBUILD=$APIDBBUILD -DAPIDBINSTALL=$APIDBINSTALL) + cmake_src_configure +} diff --git a/app-misc/apidb/metadata.xml b/app-misc/apidb/metadata.xml index 7e7ab6d0..0b42eb8a 100644 --- a/app-misc/apidb/metadata.xml +++ b/app-misc/apidb/metadata.xml @@ -6,7 +6,9 @@ Azael Reyes - Enable MariaDB conection - Enable PostgreSQL conection + Build MariaDB Layer + Build PostgreSQL Layer + Build commands + Build Abtract layer