From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F02F15812D for ; Sun, 05 Jan 2025 16:22:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7BC8E07D7; Sun, 05 Jan 2025 16:22:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACBEFE07D7 for ; Sun, 05 Jan 2025 16:22:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB5F0340DF9 for ; Sun, 05 Jan 2025 16:22:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA81D1A50 for ; Sun, 05 Jan 2025 16:21:59 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1736094115.7abe2a76c1b7d8945073c4201d17afa1086390b7.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/sourcegit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/sourcegit/Manifest dev-vcs/sourcegit/sourcegit-8.45.ebuild X-VCS-Directories: dev-vcs/sourcegit/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 7abe2a76c1b7d8945073c4201d17afa1086390b7 X-VCS-Branch: master Date: Sun, 05 Jan 2025 16:21:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b2db545-08ca-4f7c-8775-d2ccbff057c5 X-Archives-Hash: 78773a922ab3fa0fad2fa6a06823e480 commit: 7abe2a76c1b7d8945073c4201d17afa1086390b7 Author: Maciej Barć gentoo org> AuthorDate: Sun Jan 5 14:59:38 2025 +0000 Commit: Maciej Barć gentoo 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ć 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=" +avalonia.angle.windows.natives@2.1.22045.20230930 +avalonia.avaloniaedit@11.1.0 +avalonia.buildservices@0.0.29 +avalonia.controls.colorpicker@11.2.3 +avalonia.controls.datagrid@11.2.3 +avalonia.desktop@11.2.3 +avalonia.diagnostics@11.2.3 +avalonia.fonts.inter@11.2.3 +avalonia.freedesktop@11.2.3 +avalonia.native@11.2.3 +avalonia.remote.protocol@11.2.3 +avalonia.skia@11.0.0 +avalonia.skia@11.2.3 +avalonia.themes.fluent@11.2.3 +avalonia.themes.simple@11.2.3 +avalonia.win32@11.2.3 +avalonia.x11@11.2.3 +avalonia@11.0.0 +avalonia@11.2.3 +avaloniaedit.textmate@11.1.0 +communitytoolkit.mvvm@8.3.2 +harfbuzzsharp.nativeassets.linux@7.3.0.3 +harfbuzzsharp.nativeassets.macos@7.3.0.3 +harfbuzzsharp.nativeassets.webassembly@7.3.0.3 +harfbuzzsharp.nativeassets.win32@7.3.0.3 +harfbuzzsharp@7.3.0.2 +harfbuzzsharp@7.3.0.3 +livechartscore.skiasharpview.avalonia@2.0.0-rc4.5 +livechartscore.skiasharpview@2.0.0-rc4.5 +livechartscore@2.0.0-rc4.5 +microcom.runtime@0.11.0 +onigwrap@1.0.6 +skiasharp.harfbuzz@2.88.8 +skiasharp.nativeassets.linux@2.88.9 +skiasharp.nativeassets.macos@2.88.9 +skiasharp.nativeassets.webassembly@2.88.9 +skiasharp.nativeassets.win32@2.88.9 +skiasharp@2.88.8 +skiasharp@2.88.9 +system.io.pipelines@8.0.0 +system.text.json@8.0.5 +textmatesharp.grammars@1.0.59 +textmatesharp.grammars@1.0.65 +textmatesharp@1.0.59 +textmatesharp@1.0.65 +tmds.dbus.protocol@0.20.0 +" + +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 +}