dev-db/pgmodeler: drop 1.2.1

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/419
Merges: https://codeberg.org/gentoo/gentoo/pulls/419
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-02-23 14:56:25 +01:00
committed by Sam James
parent 251f20af04
commit fe2fd4b02b
2 changed files with 0 additions and 95 deletions

View File

@@ -1,3 +1,2 @@
DIST pgmodeler-1.2.1.tar.gz 4268607 BLAKE2B 65fe05551addee7e137297ce7fc47e818c372527f398583cb41a381d13a70ea4ac74c08f602cfaaf96bc79b94010c69d9378106e4eba3e8ee5360f7c69bbed62 SHA512 e83f84c793dd320f175c32d6a1e38d1e631319b0fcaf911c0a687e01f3ed3587dbc6396bcd1776a33f596a93c0eaf5b11ad9e88ebae3d861eba7e6561536408b
DIST pgmodeler-1.2.2.tar.gz 4270108 BLAKE2B 45f0522c7007a7cac1bedcb5faa99896983e350b6b96f161ee7d27e7dadbd21039705dd68bca3185ab46db0dbf9f68ce6c478401dd479c86d4b8114052950a54 SHA512 867f5cd07c67c0d3811d14e02c59837c7380e0dae56e530c2bd7288a9b22a6d58e311b507b774582048adc90bab359d4b835aba647828ea4c3098c5b6cf01107
DIST pgmodeler-1.2.3.tar.gz 4343622 BLAKE2B 2e4b69f2c8771d2b5d5988c5d5816a672b405a8494a8cf3f66fb24bc680b16c2546526284d0be39d9fae26a0ce602e372dd1d631eb40b1a44bb81432bec9bd17 SHA512 e7ba7489c22b54f9435448b6b553d0ca62b62f0a8ae95ff5750004c4278d43936af4353f29bb51342a37e7938b9904aa792d2b25eb4a8d85f5728c394e63fa15

View File

@@ -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
}