mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-db/pgmodeler: drop 1.2.0
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44271 Closes: https://github.com/gentoo/gentoo/pull/44271 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
2505a111e8
commit
eafd119beb
@ -1,3 +1,2 @@
|
||||
DIST pgmodeler-1.2.0.tar.gz 4272101 BLAKE2B cd3453f494d9bd1bb6f927ff7c02e01f4e26a144ed760f38de070dd09dcf1b7e85cc9509bc22732000de388334e385c553e66d4ead5a726686f27a6da2340111 SHA512 9a7b96ec3eeed6d88d28e824b044f0e2c073eceacd3afdb6a77354b574c5f3a8a9df7ea99333b20a5176f5684e48b20a990ba15bf3db09f47cd44d07b44d9a7b
|
||||
DIST pgmodeler-1.2.1.tar.gz 4268607 BLAKE2B 65fe05551addee7e137297ce7fc47e818c372527f398583cb41a381d13a70ea4ac74c08f602cfaaf96bc79b94010c69d9378106e4eba3e8ee5360f7c69bbed62 SHA512 e83f84c793dd320f175c32d6a1e38d1e631319b0fcaf911c0a687e01f3ed3587dbc6396bcd1776a33f596a93c0eaf5b11ad9e88ebae3d861eba7e6561536408b
|
||||
DIST pgmodeler-1.2.2.tar.gz 4270108 BLAKE2B 45f0522c7007a7cac1bedcb5faa99896983e350b6b96f161ee7d27e7dadbd21039705dd68bca3185ab46db0dbf9f68ce6c478401dd479c86d4b8114052950a54 SHA512 867f5cd07c67c0d3811d14e02c59837c7380e0dae56e530c2bd7288a9b22a6d58e311b507b774582048adc90bab359d4b835aba647828ea4c3098c5b6cf01107
|
||||
|
||||
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
POSTGRES_COMPAT=( {13..17} )
|
||||
inherit desktop postgres qmake-utils
|
||||
|
||||
DESCRIPTION="PostgreSQL Database Modeler"
|
||||
HOMEPAGE="https://pgmodeler.io"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}
|
||||
dev-libs/libxml2:=
|
||||
dev-qt/qtbase:6[gui,network,opengl,widgets,X]
|
||||
dev-qt/qtsvg:6
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "/^doc.files/s/LICENSE //" -i pgmodeler.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myqmakeargs=(
|
||||
DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
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="true"
|
||||
)
|
||||
eqmake6 "${myqmakeargs[@]}" -r ${PN}.pro
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myqmakeargs=(
|
||||
BINDIR="${T}"
|
||||
SAMPLESDIR="${S}/assets/samples"
|
||||
SCHEMASDIR="${S}/assets"
|
||||
)
|
||||
|
||||
pushd "${S}/tests" || die
|
||||
# skip tests with graphical interaction
|
||||
sed -e '/^src\/fileselectortest/d' \
|
||||
-e '/^src\/linenumberstest/d' \
|
||||
-i tests.pro || die
|
||||
# skip test with sandbox restriction (/proc/self/mem)
|
||||
sed -e '/^src\/syntaxhighlightertest/d' \
|
||||
-i tests.pro || die
|
||||
# skip xml tests
|
||||
# see https://github.com/pgmodeler/pgmodeler/issues/1971
|
||||
sed -e '/^src\/foreigndatawrappertest/d' \
|
||||
-e '/^src\/proceduretest/d' \
|
||||
-e '/^src\/servertest/d' \
|
||||
-e '/^src\/transformtest/d' \
|
||||
-e '/^src\/xmlparsertest/d' \
|
||||
-i tests.pro || die
|
||||
# tests not updated after functions have been modified
|
||||
# see https://github.com/pgmodeler/pgmodeler/issues/1971 too
|
||||
sed -e '/^src\/basefunctiontest/d' \
|
||||
-i tests.pro || die
|
||||
|
||||
eqmake6 "${myqmakeargs[@]}" tests.pro
|
||||
emake
|
||||
|
||||
# append all shared-libs to LD_LIBRARY_PATH
|
||||
local l
|
||||
for l in "${S}"/libs/*; do
|
||||
[[ -d ${l} ]] && LD_LIBRARY_PATH+=":${l}"
|
||||
done
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
local -x QT_QPA_PLATFORM=offscreen
|
||||
|
||||
# run each test individually
|
||||
local t
|
||||
for t in $(find src -type f -executable); do
|
||||
${t} || die "${t} failed"
|
||||
done
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
doicon assets/conf/${PN}_logo.png
|
||||
make_desktop_entry ${PN} ${PN} ${PN}_logo Development
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user