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 DDAD1138359 for ; Fri, 25 Sep 2020 05:02:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2937CE0824; Fri, 25 Sep 2020 05:02:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 0C57CE0824 for ; Fri, 25 Sep 2020 05:02:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 38EB1335D07 for ; Fri, 25 Sep 2020 05:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C448365 for ; Fri, 25 Sep 2020 05:02:05 +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: <1600998695.e8d68306a0fb53b4aab8e14f3ae2bf060cb56438.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_alpha19.ebuild X-VCS-Directories: app-misc/apidb/ X-VCS-Committer: AzaelReyes X-VCS-Committer-Name: Azael Reyes X-VCS-Revision: e8d68306a0fb53b4aab8e14f3ae2bf060cb56438 X-VCS-Branch: dev Date: Fri, 25 Sep 2020 05:02:05 +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: 7a14749e-f2d1-4984-96c1-c261e45025fb X-Archives-Hash: e232f24b218e65caa0af7093e3c56a54 commit: e8d68306a0fb53b4aab8e14f3ae2bf060cb56438 Author: Azael Reyes gmail com> AuthorDate: Fri Sep 25 01:51:35 2020 +0000 Commit: Azael Reyes gmail com> CommitDate: Fri Sep 25 01:51:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8d68306 app-misc/apidb: Updating to 5.0.0-alpha19 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_alpha19.ebuild | 73 +++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-misc/apidb/Manifest b/app-misc/apidb/Manifest index 8cacbc60..69810b13 100644 --- a/app-misc/apidb/Manifest +++ b/app-misc/apidb/Manifest @@ -1,3 +1,4 @@ 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-alpha19.tar.gz 160561 BLAKE2B 52479e68742f62b8c98d9c9a31a261f6c887966bdf3e1820e3109af5a8164ba8294e4aecf806afb182a05750a6a548d855a492ee277051c494ef8897e2de3e73 SHA512 7008857aa20365d8b9f0c05a5e021e4071ae9af7c9208a4d33840b8e5118e5e1404cd005ec05a5a0d64bb3690d009a2f60af648dadc2bd14d806b6776828724b DIST 5.0.0-alpha8.tar.gz 165674 BLAKE2B 10227665ddf1c2b17cacb4b52a4fb0ef06125066546cfc5ce919e2ce6bcba27dabdb471edee4a405f05208333fd6e719981d90384194dc6fab62791abc2eb671 SHA512 e1ef0a916b64ba116efad641b64446656a1e57c0e1c0d65cceafb59ec04deb142de1a11e625c4e8c214b36dcbf9adb4d413283d7a22f0a090098cebfc021e182 diff --git a/app-misc/apidb/apidb-5.0.0_alpha19.ebuild b/app-misc/apidb/apidb-5.0.0_alpha19.ebuild new file mode 100644 index 00000000..e13f5fe5 --- /dev/null +++ b/app-misc/apidb/apidb-5.0.0_alpha19.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/_alpha19/-alpha19}" +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=LINUX_GENTOO -DAPIDBBUILD=$APIDBBUILD -DAPIDBINSTALL=$APIDBINSTALL) + cmake_src_configure +}