diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2018-05-20 16:02:17 -0400 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2018-05-20 16:02:42 -0400 |
commit | 8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9 (patch) | |
tree | bcbd7f54168c401301d1a1d0a3fd28d75062df45 /dev-db/pgmodeler | |
parent | dev-vcs/hg-git: version bump (diff) | |
download | gentoo-8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9.tar.gz gentoo-8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9.tar.bz2 gentoo-8ef3ca1cf42dd97f22b6e7318d67b99f4f94aef9.zip |
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
Diffstat (limited to 'dev-db/pgmodeler')
-rw-r--r-- | dev-db/pgmodeler/Manifest | 1 | ||||
-rw-r--r-- | dev-db/pgmodeler/metadata.xml | 8 | ||||
-rw-r--r-- | dev-db/pgmodeler/pgmodeler-0.9.1.ebuild | 61 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-db/pgmodeler/Manifest b/dev-db/pgmodeler/Manifest new file mode 100644 index 000000000000..e0673a6a927b --- /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 000000000000..f1828406d76b --- /dev/null +++ b/dev-db/pgmodeler/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>pgsql-bugs@gentoo.org</email> + <name>PostgreSQL</name> + </maintainer> +</pkgmetadata> 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 000000000000..9d9b077aa76c --- /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 +} |