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 525C8139335 for ; Sat, 26 Jun 2021 23:42:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A9F3E0825; Sat, 26 Jun 2021 23:42:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 E0A33E0825 for ; Sat, 26 Jun 2021 23:42:20 +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 6582D335C29 for ; Sat, 26 Jun 2021 23:42:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8D507A4 for ; Sat, 26 Jun 2021 23:42:17 +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: <1624750853.27182de85583a610201760183d1c6f66a72a7170.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.11.0_beta.ebuild X-VCS-Directories: app-misc/apidb/ X-VCS-Committer: AzaelReyes X-VCS-Committer-Name: Azael Reyes X-VCS-Revision: 27182de85583a610201760183d1c6f66a72a7170 X-VCS-Branch: dev Date: Sat, 26 Jun 2021 23:42:17 +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: 304c6e03-43a3-420a-b453-2cfeaa3a2ae1 X-Archives-Hash: e588761b862b42da8cfdd5cd42fd07ce commit: 27182de85583a610201760183d1c6f66a72a7170 Author: Azael Reyes gmail com> AuthorDate: Sat Jun 26 23:40:19 2021 +0000 Commit: Azael Reyes gmail com> CommitDate: Sat Jun 26 23:40:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27182de8 app-misc/apidb: updating to 5.11 Signed-off-by: Azael Reyes gmail.com> Package-Manager: Portage-3.0.20, Repoman-3.0.2 app-misc/apidb/Manifest | 1 + app-misc/apidb/apidb-5.11.0_beta.ebuild | 82 +++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/app-misc/apidb/Manifest b/app-misc/apidb/Manifest index d6fe2f42c..45fdf021e 100644 --- a/app-misc/apidb/Manifest +++ b/app-misc/apidb/Manifest @@ -1 +1,2 @@ +DIST 5.11.0-beta.tar.gz 193852 BLAKE2B 522e691afdf97dde0d34982938d1443156057d30b46a2f705881dd76f5ff739dcc2c2b01a4aef8f0edf59d51259bc6a88760a9cee31fbbada622e6da7ad37718 SHA512 42955f30f79c8eb22a18b95aae480ca43ba2de95f0cd5db2a69851b1e3098927a9ef28c8a7ef4ae136d424821c5a6f8ca9f91893161baeca75236683df95d6be DIST 5.8.0-beta.tar.gz 183120 BLAKE2B 82d6a2e40aab046b14c6256acca458765bc744144f57d8aeae5201f8e89d97c70d5dbc42fe89880ded8ea9ee9ff96e2f2a91f3da8e7b13fb52cd4ba75caedaf6 SHA512 07d9cb217922239ad79ec6632d28f87d986e69ec3fd5c5440dbae96514a10a66f043efa84031c6541c3b1dc8b6786b5265c9cdd98f8b4102c3e937934bad649a diff --git a/app-misc/apidb/apidb-5.11.0_beta.ebuild b/app-misc/apidb/apidb-5.11.0_beta.ebuild new file mode 100644 index 000000000..cdde018ed --- /dev/null +++ b/app-misc/apidb/apidb-5.11.0_beta.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR="emake" +CMAKE_BINARY=cmake +CMAKE_MAKEFILE_GENERATOR=emake + +inherit cmake + +MYPV="${PV/_beta/-beta}" +MYPN="${PN}" +MYP="${MYPN}-${MYPV}" + +DESCRIPTION="API Generator for Database access" +HOMEPAGE="https://github.com/azaeldevel/apidb" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/azaeldevel/apidb.git" +else + inherit autotools + SRC_URI="https://github.com/azaeldevel/${PN}/archive/${MYPV}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+mariadb postgresql commands gtk +corelibs" + +RDEPEND=" + dev-libs/libxml2 + dev-libs/boost + dev-libs/octetos-coreutils + dev-libs/octetos-db-abstract + gtk? ( x11-libs/gtk+:3 ) + dev-libs/libtar + mariadb? ( dev-libs/octetos-db-maria ) + postgresql? ( dev-libs/octetos-db-postgresql ) + gnome-base/librsvg +" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex +" + +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 gtk ;then + APIDBINSTALL="$APIDBINSTALL;GTK3" + fi + local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DPLATFORM=LINUX_GENTOO -DAPIDBBUILD=$APIDBBUILD -DAPIDBINSTALL=$APIDBINSTALL) + cmake_src_configure +}