commit:     d5c6bac610a386be5f33c2d57cd54c930db946ab
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 13:46:47 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 14:20:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c6bac6

dev-vcs/sourcegit: bump to 2025.21

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

 dev-vcs/sourcegit/Manifest                 |   2 +
 dev-vcs/sourcegit/sourcegit-2025.21.ebuild | 151 +++++++++++++++++++++++++++++
 2 files changed, 153 insertions(+)

diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest
index f80b9a83d263..182899acb06a 100644
--- a/dev-vcs/sourcegit/Manifest
+++ b/dev-vcs/sourcegit/Manifest
@@ -48,6 +48,7 @@ DIST microsoft.bcl.asyncinterfaces.6.0.0.nupkg 76354 BLAKE2B 
aca3f5db71e4037dbdd
 DIST microsoft.extensions.logging.abstractions.6.0.0.nupkg 458701 BLAKE2B 
09c519fbf7d98329fbb0fdfc387f1275dc490596c747560e79ba3736289e4b9337fd5f4978d2e74b67b47d542bfeba419464a0af68b5cbfb3a06736fc706c337
 SHA512 
bfb1b4b98242104803d1a65a1a051d0b8e481fbc987fa2f4b58a610ab459b4d24e8753c515c32a376dd2c6804d1ce2d39624b972a81c68e92481958e1a8a31df
 DIST onigwrap.1.0.6.nupkg 2733981 BLAKE2B 
0ccc084877be21f1c2c4a11fe4f0a5f75bb1f9fe579a1914fd5861bdbf88b9aba2cf87355297c39361cdb92eaa3b6d8eab1df25f8118512519f8d7ec3b01d3b2
 SHA512 
2c49c166d8d8620382bd2c87e0448fd809a7f5283ec889957f049a0f37cd6653e0a865ee25d8de02ce5f05369948916bbd121ca73bf8ea5b1c293f4ed5326532
 DIST openai.2.2.0-beta.4.nupkg 2318324 BLAKE2B 
6cf6952095ec820ef81e936ed09ad0e958d396a4637d36cb26f63affad47425af03055b254ff41b4cff6faed219a0754a1db079225b6594c19b5ecbf74a9c920
 SHA512 
167cd82a5bb579bba6b6829c9c275780beb77e0cfe4df6c39f6af2102d2cd8d5f03d8e2469b55902c7c4327350013c136733cb7141d4ae6fc9b66bba14f15ac1
+DIST pfim.0.11.3.nupkg 50489 BLAKE2B 
e5fe38722c6c42b363f10265fb260b5bede22d1c625b4b7745693b3efa1de74806a1a9f667460647d9a60b60d3c1f49a7ed5d76a62ff0a73ac29be57dc69c9c0
 SHA512 
dcef79d47a47e30611fedf59e08fffe544c0b221ecdcb69f260e66cb3230befde6ca3c2dfa0db5a7bdb47481e66c4865d1fa3811f55037f905aa6fb8852dd70d
 DIST skiasharp.2.88.9.nupkg 7150003 BLAKE2B 
293da099e97d3eb057cdf20dd5832a9a0e5dab561e7831ecbcfa2cf1bc3d53b4160cff3459aca50f6123a440f1bc11b52eec4357214b7b53e90d04639bf0047a
 SHA512 
3a2ffa5e05f45cdb80e6735ee947e91e08ff145fc50c7882e75d44b6ae0c2cd733420d15b6a4274a186b3a79d463a1273e27ff7fd79a51d0937251ebb6ef761d
 DIST skiasharp.harfbuzz.2.88.9.nupkg 154048 BLAKE2B 
6b530a826fa2467ed16611b9985cec75186c2e2317bfc01233d69aa19f2cf8d47159ef37c69f9d761ce53b236fdd57abd41d6062c7507d8e7d00781916495cd1
 SHA512 
7ebc75df46b3d2bfb110324dc0613fb1395667219ce42c757fb98f0ff60b755fc69fe6bb94613a2be854e8feecdebe671ea46cd9e8a0df2e90ff7d461ab123cf
 DIST skiasharp.nativeassets.linux.2.88.9.nupkg 15619648 BLAKE2B 
d7d34379fd376528f5b700b70e0de7590b1f902fed66a672c8930002044f5270a4554e2eaec02cd06925f6022f6c71536f2f6456607d0eb319ec619e92ddb1da
 SHA512 
5c6a3e93a18e70e6adcd548bd2f76fa311114346ce4d812e520f250d33342d5ad8d05ea285433bd15cb19bbc48d9bbf2ef7d1f1725dd71705accefaba3f46892
@@ -56,6 +57,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.13.gh.tar.gz 2899872 BLAKE2B 
bffcb922f536f095ea8285ba6280d6bbd7801342acf3bb3acf96526d6fb692a45a97191f99fa55d75c4d0f52071fbfa724e6b3d2f3a06d2e80cdd3dada3f8a7f
 SHA512 
750a5423479f968fcc02f077ab55a6b6de454ea9ccaae1dc1d169b56ef7dd147575ea46cb8cfe2604a1f80d3cdcafb691bc80d32b419c40fa8616ef2c7c0e161
 DIST sourcegit-2025.15.gh.tar.gz 2928758 BLAKE2B 
8081053f59cf24a6d6fe6be9e7b6a0b85de78ff5948c0c47bd2ac961a0f6b96d72127efa64e384933908e8cdd1a68a42e6e61869090585abe1d6433df8757647
 SHA512 
861af29cd381d7c8e64c075b80a0844213c39012fd78562a03b09931a03cc4f258d0137065cca142ada019683e21b3b270c053b5ef96419238d3e3d47f51b0b7
+DIST sourcegit-2025.21.gh.tar.gz 2949789 BLAKE2B 
885320fd382b73ece98be63f85dba2d5f9dda09bdc14042b91f900f76a5a3e910dd118914a0f1af45e50a34a13c078ac6cd4e0f08f26bafc0fdf6b22b72cf99d
 SHA512 
ef196d523fd80133ead4b74c4cb33ed44916f56840c2a84e6b3621f8c58acf1fc17c7e336821ffc0f4c5f57928085d9ef7211cb780ce0f61278bf0d9d2aa00d9
 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.21.ebuild 
b/dev-vcs/sourcegit/sourcegit-2025.21.ebuild
new file mode 100644
index 000000000000..4cade8e05243
--- /dev/null
+++ b/dev-vcs/sourcegit/sourcegit-2025.21.ebuild
@@ -0,0 +1,151 @@
+# 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]
[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