From a10a9f84e206f8995951a8d30e77e7981a52c7b7 Mon Sep 17 00:00:00 2001 From: Jaak Ristioja Date: Thu, 7 May 2020 18:31:24 +0300 Subject: [PATCH] dev-db/pgmodeler: Bump to 0.9.2 Closes: https://bugs.gentoo.org/701326 Signed-off-by: Jaak Ristioja Closes: https://github.com/gentoo/gentoo/pull/15683 Signed-off-by: Aaron W. Swenson --- dev-db/pgmodeler/Manifest | 1 + dev-db/pgmodeler/pgmodeler-0.9.2.ebuild | 61 +++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-db/pgmodeler/pgmodeler-0.9.2.ebuild diff --git a/dev-db/pgmodeler/Manifest b/dev-db/pgmodeler/Manifest index e0673a6a927b..3917521f445f 100644 --- a/dev-db/pgmodeler/Manifest +++ b/dev-db/pgmodeler/Manifest @@ -1 +1,2 @@ DIST pgmodeler-0.9.1.tar.gz 3569027 BLAKE2B 4d91d430554f739b585ed155aa2d87dc648ea5d2d6a1c22ddd9ae829afb63654fe052091de5dea51b0fee20ef2ccaf5b77587f036c4072bbc623bffba9a67b27 SHA512 bb6f093e00f0e41a9dd2a9b7e3723459af759e79835b73ab67b01c23ae6b29f1453b5cf61e987c6f1a2a3908e700d048f0a7dcbed3ac1636493d6b6e657917ba +DIST pgmodeler-0.9.2.tar.gz 3930988 BLAKE2B 36d89c3bb400cd82199492208acf40fb872cb832a4911f818581672478d80e43bf56246a4485dd9b3a65a378bc261ad1c4b40243f1007aa2e67e75b62233ded4 SHA512 1bc48998623e39139e930c028095aace808084bb05d837273386a96aaeccd292890bbee58059b27710331f87d6e89a79005f2b0cdf901d229be6f777958fe051 diff --git a/dev-db/pgmodeler/pgmodeler-0.9.2.ebuild b/dev-db/pgmodeler/pgmodeler-0.9.2.ebuild new file mode 100644 index 000000000000..bb15a8302a3a --- /dev/null +++ b/dev-db/pgmodeler/pgmodeler-0.9.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 9.{5..6} 10 11 12 ) + +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 +} -- 2.26.2