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 3DF8C1382C5 for ; Sun, 20 May 2018 20:03:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37AF4E0BD9; Sun, 20 May 2018 20:03:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 F2F6DE0BD9 for ; Sun, 20 May 2018 20:03:15 +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 6DBE5335CE9 for ; Sun, 20 May 2018 20:03:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D3682F for ; Sun, 20 May 2018 20:03:12 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <1526846562.8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgmodeler/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/pgmodeler/Manifest dev-db/pgmodeler/metadata.xml dev-db/pgmodeler/pgmodeler-0.9.1.ebuild X-VCS-Directories: dev-db/pgmodeler/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: 8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9 X-VCS-Branch: master Date: Sun, 20 May 2018 20:03:12 +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-Archives-Salt: 185a3de4-3f9e-430a-86a0-cc2cb6c0e958 X-Archives-Hash: 27cf01945865a7e565aa5f15ac3d19ea commit: 8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9 Author: Aaron W. Swenson gentoo org> AuthorDate: Sun May 20 20:02:17 2018 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Sun May 20 20:02:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef3ca1c dev-db/pgmodeler: Initial commit Thanks to Michael Orlitzky, Vasilis Lourdas, and linux0uid for their initial work on this ebuild. Closes: https://bugs.gentoo.org/459918 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-db/pgmodeler/Manifest | 1 + dev-db/pgmodeler/metadata.xml | 8 +++++ dev-db/pgmodeler/pgmodeler-0.9.1.ebuild | 61 +++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/dev-db/pgmodeler/Manifest b/dev-db/pgmodeler/Manifest new file mode 100644 index 00000000000..e0673a6a927 --- /dev/null +++ b/dev-db/pgmodeler/Manifest @@ -0,0 +1 @@ +DIST pgmodeler-0.9.1.tar.gz 3569027 BLAKE2B 4d91d430554f739b585ed155aa2d87dc648ea5d2d6a1c22ddd9ae829afb63654fe052091de5dea51b0fee20ef2ccaf5b77587f036c4072bbc623bffba9a67b27 SHA512 bb6f093e00f0e41a9dd2a9b7e3723459af759e79835b73ab67b01c23ae6b29f1453b5cf61e987c6f1a2a3908e700d048f0a7dcbed3ac1636493d6b6e657917ba diff --git a/dev-db/pgmodeler/metadata.xml b/dev-db/pgmodeler/metadata.xml new file mode 100644 index 00000000000..f1828406d76 --- /dev/null +++ b/dev-db/pgmodeler/metadata.xml @@ -0,0 +1,8 @@ + + + + + pgsql-bugs@gentoo.org + PostgreSQL + + diff --git a/dev-db/pgmodeler/pgmodeler-0.9.1.ebuild b/dev-db/pgmodeler/pgmodeler-0.9.1.ebuild new file mode 100644 index 00000000000..9d9b077aa76 --- /dev/null +++ b/dev-db/pgmodeler/pgmodeler-0.9.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +POSTGRES_COMPAT=( 9.{3..6} 10 ) + +inherit desktop postgres qmake-utils + +MY_PV=${PV/_/-} + +DESCRIPTION="PostgreSQL Database Modeler" +HOMEPAGE="https://pgmodeler.io" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="${POSTGRES_DEP} + dev-libs/icu:= + dev-libs/libxml2:= + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG.md README.md RELEASENOTES.md ) + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_configure() { + eqmake5 \ + PREFIX="${EPREFIX%/}/usr" \ + PLUGINSDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/plugins" \ + PRIVATEBINDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/bin" \ + PRIVATELIBDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}" \ + NO_UPDATE_CHECK=1 \ + -r ${PN}.pro +} + +src_test() { + cd "${S}/tests" || die + eqmake5 tests.pro + emake + emake check +} + +src_install() { + emake INSTALL_ROOT="${D}" install + + rm "${D}"/usr/share/${PN}/{CHANGELOG.md,LICENSE,README.md,RELEASENOTES.md} + + einstalldocs + + doicon conf/${PN}_logo.png + make_desktop_entry ${PN} ${PN} ${PN}_logo Development +}