commit: 3b57cc380a330f1e93b7fb34d5bbed57455bdfff Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Mar 7 16:59:45 2026 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Mar 7 18:23:39 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b57cc38
dev-vcs/sourcegit: bump to 2026.05 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-vcs/sourcegit/Manifest | 1 + dev-vcs/sourcegit/sourcegit-2026.05.ebuild | 157 +++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest index 05fe4fd0d0d4..54b4e2cc0ec3 100644 --- a/dev-vcs/sourcegit/Manifest +++ b/dev-vcs/sourcegit/Manifest @@ -67,6 +67,7 @@ DIST skiasharp.nativeassets.webassembly.2.88.9.nupkg 71804127 BLAKE2B eaff9d3f88 DIST skiasharp.nativeassets.win32.2.88.9.nupkg 10918525 BLAKE2B 39a607a2b9e51659080c2ca9d2129156308c7a1857bdd6d4228f3fc900d40eb70d9409ad6c11ab49ac1b4a962894b229e9db26e54ceb38bd236b8e5dfd8a4f92 SHA512 d18bd8194041c7ffb79302d4f1be584e8c024e88b12cb4669a738cae551da3d3e3924087bb0aa42d34a9003cfb35037d73637894e67d02223d100a1b4215eeec DIST sourcegit-2025.41.gh.tar.gz 2519131 BLAKE2B 05c9487edf65d707bb11c561fd2e27d7c47f97438292fa9f0c4f15751bc53773f476b417e6cc2965ac22054be97d398ca4b338d2845041edcc36d851bf0b4535 SHA512 03050ebba197c455afa16db14b76aff5999eede52cbda50e5a9b5ec74eaf47ee6255a3dce718bfe88450fb78289985e8b30270d97354bc92b435bf3c6ce1db88 DIST sourcegit-2026.04.gh.tar.gz 2553193 BLAKE2B 14adc2cbf885d095e855137559a248cc34ef9eae2c3d99ba6bb0f363b22ec9e63b92fab24fdfe0d3a8443de5a69962e4c270a2a866c3851c69a51b8a5e49ff75 SHA512 79fa54c3ef62caee270734c5a29f560a4431c2fab9a94640376cffbbc674f0ef9ad32a63481175fb4af8dde919cb9d8fb38707dd3696149f331c6aa9eb89deb3 +DIST sourcegit-2026.05.gh.tar.gz 2558961 BLAKE2B 82240309c5754b1f33c69cddffaa0fa9ec068fec49c9816aa355f4bad4d3f6125ccfc2bfab01ddf9edace064171a65707d0e064b9fe6eca4b390ebac83399248 SHA512 7eb66c90591c4014bf3209ee81d94b821cfffb0ddace65e962db8f1b4bede03f885c8aed6fc273c1199281624fa79169004e439eb97c1e76e0d5d74825025a43 DIST system.clientmodel.1.8.0.nupkg 458933 BLAKE2B a1e51e16076660a75968269b0aaa8eb8b98a69c0d47a5d326e2434e43e3bb88b38195fd0a15d831ab2eb16f11030057e65656e10e7cee5c090bfb59570b747c6 SHA512 f25b3ce31bd986050e746f80b507d51a978a67c162e76edc68a14eba7508599560b9ffd185529f0d6094aeed6224ce3ceaf4840b8d6458d3b8d1c5d18464a586 DIST system.clientmodel.1.8.1.nupkg 459542 BLAKE2B 706c31e3e3da96a04b966f2259bd02dd60ebef30cd34a8b5ce287ec9ce66bf9dcf8a9f71463fc21cfbfcf83ba139cdb99d1b4d1e19481e2d2472b769cf86e7f3 SHA512 8a305a6342bbeae05abfd47e4bd2ff3c671596503cd3f7a1da1867f111fe371fefe7f883bc2909f00a7242af9b1b21a33c5999d7d78539c0ea60a410f7e2ad66 DIST system.componentmodel.annotations.4.5.0.nupkg 691299 BLAKE2B 38a889831cef09c372c64fbb244dbe7e7f44d4a8b136516bc1d7a02b97d02f62f897b820ed16e67445c7168465ef77d62206d6d1123e52571cb92d57727fd63e SHA512 7f5029507196abf9490bc3d913b26a6c0ded898ed99e06503b699b61f086d0995055552aaa654c032d1f32f03012e1badfd338ec42dd3fa3d0c5ce4e228ea2e8 diff --git a/dev-vcs/sourcegit/sourcegit-2026.05.ebuild b/dev-vcs/sourcegit/sourcegit-2026.05.ebuild new file mode 100644 index 000000000000..580521df7a73 --- /dev/null +++ b/dev-vcs/sourcegit/sourcegit-2026.05.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT="10.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] [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}" +else + AVALONIA_EDIT_COMMIT="77f960a4e61fe3d73fd40a8f6d3b4d4f9ea12027" + SRC_URI=" + https://github.com/sourcegit-scm/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + https://github.com/love-linger/AvaloniaEdit/archive/${AVALONIA_EDIT_COMMIT}.tar.gz + -> AvaloniaEdit-${AVALONIA_EDIT_COMMIT}.snapshot.gh.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" ) + +dotnet-pkg_force-compat + +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 + else + rm -f -r "${S}/depends/AvaloniaEdit" || die + cp -r "AvaloniaEdit-${AVALONIA_EDIT_COMMIT}" "${S}/depends/AvaloniaEdit" || die + 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 + + rm SourceGit.slnx || 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 +}
