Cleanup and python 3.13

This commit is contained in:
Mario Fetka
2025-05-05 10:23:40 +02:00
parent 7c1ee4ca45
commit b56141d74d
121 changed files with 9006 additions and 479 deletions

View File

@@ -0,0 +1,3 @@
DIST smartgit-linux-24_1_3.tar.gz 114331319 BLAKE2B bd93a34d4a5a401876ee7eefed407b0ef85631caddaf4c3e016216b21a285c390bacb5e0932d10578354d4e9b0b014024459e8ba67ccfdf9ebae206472e15b9d SHA512 20eaf5e1a50930da98995388cd6b24e65c91fc150d16611a50382b28155d4a23f97cf49a6e14495ff574874c1f5e1c0dc53bc2ab0e000c8dcb2084e28c799ea3
EBUILD smartgit-24.1.3.ebuild 1828 BLAKE2B 27fa71b604b1e4ab81a9b89ae5fc095fc3c7787d29ab6360e1f0ecda240b1ff36ca65c5f013ae2189007dfe0fbc7a6ea71bf0a597cf587bc36ae52951989b86b SHA512 be19fa12af72025f36067f76e252ba745f0604e10f79c98c70ad8cf5cafd62ba71f630ccaf2aa317e949255994e2e1592d29036744e56140d7a4657f8bc971ec
MISC metadata.xml 349 BLAKE2B 03f788b099a1848be49f82e53cdbabde80b226276df7632eb4589660503ee06953f21251609e5444b9a593f97b102d4d1eab3c3cf38fe65c8cf92e6d1d537ee5 SHA512 2ec7de32f08bc98067071da34fb86cadfc57f6eb640d15ebbf8774bf874eb2849ef27af19c583c907135995da45beb0d669cf71d49a3a0fd9e80981a79d55553

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>waebbl-gentoo@posteo.net</email>
<name>Bernd Waibel</name>
</maintainer>
<longdescription>SmartSVN is a powerful GUI SVN client written in Java</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop java-pkg-2 optfeature xdg
MY_PV="$(ver_rs 1- '_')"
MY_P="${PN}-linux-${MY_PV}"
DESCRIPTION="Git client with support for GitHub Pull Requests+Comments, SVN and Mercurial"
HOMEPAGE="https://www.syntevo.com/smartgit"
SRC_URI="https://www.syntevo.com/downloads/smartgit/${MY_P}.tar.gz"
S="${WORKDIR}"/${PN}
SLOT="0"
LICENSE="smartgit"
KEYWORDS="~amd64 ~x86"
RESTRICT="bindist fetch mirror"
RDEPEND=">=virtual/jre-1.8:1.8"
DEPEND="${RDEPEND}"
QA_FLAGS_IGNORED='.*'
pkg_nofetch(){
einfo "Please download ${MY_P} from:"
einfo "http://www.syntevo.com/smartgit/download"
einfo "and move/copy it to your DISTDIR folder"
}
pkg_setup() {
java-pkg-2_pkg_setup
}
src_install() {
local rdir="/opt/${PN}" X
insinto ${rdir}
doins -r *
chmod +x "${ED}"${rdir}/bin/smartgit.sh || die
java-pkg_register-environment-variable SWT_GTK3 0
java-pkg_regjar "${ED}"/${rdir}/lib/*.jar
# java-pkg_dolauncher ${PN} --java_args "-Dsun.io.useCanonCaches=false -Xmx768m -Xverify:none -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:InitiatingHeapOccupancyPercent=25" --jar bootloader.jar
for X in 32 48 64 128 256; do
doicon -s ${X} "${ED}"${rdir}/bin/smartgit-${X}.png
done
doicon -s scalable "${ED}"${rdir}/bin/smartgit.svg
make_desktop_entry "bash ${rdir}/bin/${PN}.sh" "SmartGIT" "/usr/share/icons/hicolor/scalable/apps/${PN}.svg" "Development;RevisionControl"
# remove integrated git
rm -r "${ED}"${rdir}/git || die
}
pkg_postinst() {
xdg_pkg_postinst
elog "${PN} relies on external git executables to work."
elog "To run SmartGIT run /opt/${PN}/bin/${PN}.sh"
ewarn "Please note, the current version needs java-11 to work!"
optfeature "Git support" dev-vcs/git
}
pkg_postrm() {
xdg_pkg_postrm
}