commit:     7abe2a76c1b7d8945073c4201d17afa1086390b7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 14:59:38 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 16:21:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abe2a76

dev-vcs/sourcegit: bump to 8.45

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/sourcegit/Manifest              |   1 +
 dev-vcs/sourcegit/sourcegit-8.45.ebuild | 137 ++++++++++++++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest
index 1750e66e9488..9907d63698dd 100644
--- a/dev-vcs/sourcegit/Manifest
+++ b/dev-vcs/sourcegit/Manifest
@@ -61,6 +61,7 @@ DIST skiasharp.nativeassets.win32.2.88.8.nupkg 10918061 
BLAKE2B 5cd3273f99d994c1
 DIST skiasharp.nativeassets.win32.2.88.9.nupkg 10918525 BLAKE2B 
39a607a2b9e51659080c2ca9d2129156308c7a1857bdd6d4228f3fc900d40eb70d9409ad6c11ab49ac1b4a962894b229e9db26e54ceb38bd236b8e5dfd8a4f92
 SHA512 
d18bd8194041c7ffb79302d4f1be584e8c024e88b12cb4669a738cae551da3d3e3924087bb0aa42d34a9003cfb35037d73637894e67d02223d100a1b4215eeec
 DIST sourcegit-8.40.tar.gz 2796422 BLAKE2B 
e2606d0bc52ebcf3db501eb09b052cdafa83b020bf9f6ee3bf46370a59a43e6eaaef6a8fca82baa1cc61d19f975685bafeb2e2a2b5ddba4328ad52cf4f5de0c2
 SHA512 
64f0a097264e62f337d0abdd290daa541eba4297bb94ac74322906dcc935e3ec186e56a4b45b11ee2729e26b39876822dd0d9358dbad52017f42415565e4b042
 DIST sourcegit-8.44.tar.gz 2829968 BLAKE2B 
58836c75a542861585ab6bff0188adfa0dca6508bad33cd028b63fd20398fb77e5263edb7a28f86d26c3652666df6934d3177f2ecdef72c3609df81dc812391f
 SHA512 
4dcfc55f0705ab6fdfc9e2c9be8be0400f3070ea7f89e9d048f6e9e189687cc739ebf813e77065158e7bcaf42645091d8fce79e2e004b28615cd06c9c394a202
+DIST sourcegit-8.45.tar.gz 2830345 BLAKE2B 
f07dd6cf8b416418324c2ad5f85e9256d7293db6578f7a5af807a74e52c75cd8ce36e11972965cc242a3765a46f1a7f6a53914f9224d662647ab3abe7abb36e1
 SHA512 
d39405054f24f9ea983f9d66041da35fb516555a438ece22b3d3c567412f01d59c126d4d0fb823217c0c1b593a533be24a3225b36d8589b1d15a3ebd384b1475
 DIST system.io.pipelines.8.0.0.nupkg 267394 BLAKE2B 
612570554ee41ae37c8987df6ec797583c95b38160aa70b1c2fba9af23f4bd85ac0ba5b7036abfc1ee3cecdbfbdaa83b861e9c017e5fdf3e726478b24e83d957
 SHA512 
57eb6a11e84f40a48b57b1dc5786a01aa9852122b7d15363490d8a12c9a458bf99a8ddf4c0c0247be98559c2b42e769a10bda2c5a9817735484d960dc652eb12
 DIST system.text.json.8.0.5.nupkg 1986315 BLAKE2B 
bc96765a19fd097c5aed6605f83f5236adbf75204a9da6a9ee2ce28372ca84abe87c8e0e0885d0b4d66e7937a14c582752ea353b7d53c5817e2738d1c2e5f8ae
 SHA512 
13589021ae3e81f54c877abf613ce931cc24ca57bf127af1063ccc1eb4dc57a6cc223a61e6452207f5d0dce453b6627430e31e4143c78e71e9b5dd647f680abf
 DIST textmatesharp.1.0.59.nupkg 1163235 BLAKE2B 
d8ba9ad3068e979feb7bd6fd7ffbda6e23b140cf57e9df727dcc93ac372619eafc033611b16605628ab9ae31c6b0830c29001ac7e694d5c7836fcb0c5120cdcc
 SHA512 
d8339b5085335f80c86c40be907e6e49d5bf8eaf7841b7e3c34cf2ed462058d9c623e4129a042fbd07a7c4ced49190176a370192e499fc519dba9db95bfa9df9

diff --git a/dev-vcs/sourcegit/sourcegit-8.45.ebuild 
b/dev-vcs/sourcegit/sourcegit-8.45.ebuild
new file mode 100644
index 000000000000..466e576ac669
--- /dev/null
+++ b/dev-vcs/sourcegit/sourcegit-8.45.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOTNET_PKG_COMPAT="9.0"
+NUGETS="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+"
+
+inherit check-reqs dotnet-pkg desktop xdg
+
+DESCRIPTION="Open Source Git GUI client using .NET AvaloniaUI"
+HOMEPAGE="https://github.com/sourcegit-scm/sourcegit/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/sourcegit-scm/${PN}.git";
+else
+       SRC_URI="https://github.com/sourcegit-scm/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+       KEYWORDS="~amd64"
+fi
+
+SRC_URI+=" ${NUGET_URIS} "
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+       app-arch/brotli
+       app-arch/bzip2
+       dev-libs/expat
+       dev-libs/glib:2
+       dev-libs/libpcre2
+       dev-vcs/git
+       media-gfx/graphite2
+       media-libs/fontconfig:1.0
+       media-libs/freetype:2
+       media-libs/harfbuzz
+       media-libs/libpng
+"
+
+CHECKREQS_DISK_BUILD="1G"
+DOTNET_PKG_PROJECTS=( src/SourceGit.csproj )
+DOTNET_PKG_BUILD_EXTRA_ARGS=(
+       -p:DisableUpdateDetection="true"
+)
+
+pkg_setup() {
+       check-reqs_pkg_setup
+       dotnet-pkg_pkg_setup
+}
+
+src_unpack() {
+       dotnet-pkg_src_unpack
+
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
+               git-r3_src_unpack
+       fi
+}
+
+src_prepare() {
+       sed -i "./build/resources/_common/applications/${PN}.desktop"   \
+               -e "s|/opt/sourcegit/sourcegit|sourcegit|g"     \
+               -e "s|/usr/share/icons/sourcegit.png|sourcegit|g"       \
+               || die
+
+       dotnet-pkg_src_prepare
+}
+
+src_install() {
+       dotnet-pkg-base_install
+       dotnet-pkg-base_dolauncher "/usr/share/${P}/SourceGit" "${PN}"
+
+       doicon "./build/resources/_common/icons/${PN}.png"
+       domenu "./build/resources/_common/applications/${PN}.desktop"
+
+       einstalldocs
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+       xdg_desktop_database_update
+}

Reply via email to