commit:     964ddc7126abeba7efbf67fb30c706372ddc0cad
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 13:17:37 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 13 15:14:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964ddc71

dev-vcs/sourcegit: bump to 2025.12

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

 dev-vcs/sourcegit/Manifest                 |   1 +
 dev-vcs/sourcegit/sourcegit-2025.12.ebuild | 150 +++++++++++++++++++++++++++++
 2 files changed, 151 insertions(+)

diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest
index b616b1283372..261f5204f5de 100644
--- a/dev-vcs/sourcegit/Manifest
+++ b/dev-vcs/sourcegit/Manifest
@@ -97,6 +97,7 @@ DIST sourcegit-2025.08.gh.tar.gz 2864545 BLAKE2B 
88c853b02dc21004e07fd4ecf669230
 DIST sourcegit-2025.09.gh.tar.gz 2864585 BLAKE2B 
78b0b0f3cf4a5be82cc39811ba2160cd7e7147a5b05ea38f1d743d4d3d3c64d43a672c18a4d416250de2cfc25a5720172eb0310a64f14caf9b218ae3c3bb42d4
 SHA512 
dc44cbe9c5716f3cd01a40d349a2f7ee225025ef093268e6e03b2979964e4648daba1a2f6819519f937e181f2067f6a763a4f011cd79b5d8c9ca397626161361
 DIST sourcegit-2025.10.gh.tar.gz 2866226 BLAKE2B 
8e3c2d8127c2b1e9d7b6eb40d81f7cdc354576f821a5b6d4b4c12ccf41c3754fdccc88207d761362c00820091f16ccc07b0c0886ee04534c6f0aa4250ccd8ccf
 SHA512 
85f0be93872d81a60bcc58deb9ef87c805a19ba56ac8485458281f33e58d932bfc6b48b381deabdd88b8c4e09f5710521dbc3def521f366789f66743794766f2
 DIST sourcegit-2025.11.gh.tar.gz 2866867 BLAKE2B 
53f1b9f5265dd1e9408b7ee21c6bac031711fce1bfee76e59e1920980d72f6a38f74b6ca799e868d89a47680a0473c1c4e286f40b4c911ee55015fa4a65fb51e
 SHA512 
7b478015fc84c949b83f23ca47815a6855234210f6e156e47d6dea31c7f4ed4e8616683ebf2694046d4494a44fb4c0dcaa42f91b2ef7fab03bc94b581b5b3daf
+DIST sourcegit-2025.12.gh.tar.gz 2880161 BLAKE2B 
92d94365cb55c713254fc44d86220f7518bd66956192ce4152e7beee75ff3a543012f44a9357331603fb1133f05fe5938d6c9bb4740356a4f3a4c0d9a8ed52f3
 SHA512 
13bbe67542c16caddf354b88e59c61c1d6347821848abb45b8a7a70f0a923604305c7dd605f51a39e6b36c4935279f92232cd665bb1994e570b6a8205cc839f6
 DIST system.clientmodel.1.1.0.nupkg 181978 BLAKE2B 
5612b832e794b0c174f39ec43cde18eb6b7ab0de4578c02cd59abd1034d679a050f2dc1d48e8eaf77b60848dfe4acfb4dfd81090b4e8886701f0f419439126d5
 SHA512 
bd4fdc3d6bfb1dc864b2eda9304229206a5d2013e0f517c0b4666a8395c0fc0664e8cda6a0a18d404a2a22d2cfaa47d308e5ae5c5eb8ea3ddeff3d750063ae8c
 DIST system.clientmodel.1.2.1.nupkg 182231 BLAKE2B 
fbb90152eb58b05de50ba87100ce44282b2a6adf8033566ef3cbb5bff421c5f5f28df1b674f2d440a7b1f61564a707ee8742500245a341c72944959826109b50
 SHA512 
20bf56e87225c2696457ed2b785aaab86c20c5c7e76ef2062ecded96c0f4ef1d10e96b225f8f56a11cbaca4f4af47576577380551bad2d9ffc87cafd36f4611c
 DIST system.clientmodel.1.4.0-beta.1.nupkg 309712 BLAKE2B 
b4b437cde1f5459429db256022191ffb6a8ba008a4332b47716acddcc023483ccf8c7e13f23bd24b131aea0ddb456ba3ca314fa80ca9a3ed1ac704f39556a21d
 SHA512 
963da89b7cf32f652e913eafe70595b1ab466ed7632c1796f4bce9e944ebdfcb669f8656d3c18dc3bd75c2e2401e5647c108cddda7221f0501e728c8a798b368

diff --git a/dev-vcs/sourcegit/sourcegit-2025.12.ebuild 
b/dev-vcs/sourcegit/sourcegit-2025.12.ebuild
new file mode 100644
index 000000000000..84d334f91230
--- /dev/null
+++ b/dev-vcs/sourcegit/sourcegit-2025.12.ebuild
@@ -0,0 +1,150 @@
+# 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]
[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
+       SRC_URI="https://github.com/sourcegit-scm/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.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" )
+
+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