commit: 45e58744194d72259b2759b87fdcb27baa7e0391 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Thu Jul 3 20:12:50 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Thu Jul 3 20:37:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e58744
dev-vcs/sourcegit: bump to 2025.24 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-vcs/sourcegit/Manifest | 1 + dev-vcs/sourcegit/sourcegit-2025.24.ebuild | 152 +++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+) diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest index f314757fa2dc..d988264b7cd7 100644 --- a/dev-vcs/sourcegit/Manifest +++ b/dev-vcs/sourcegit/Manifest @@ -59,6 +59,7 @@ DIST skiasharp.nativeassets.win32.2.88.9.nupkg 10918525 BLAKE2B 39a607a2b9e51659 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 sourcegit-2025.23.gh.tar.gz 2950453 BLAKE2B a5c7d17b7ec1c489f223dd2232cedc5462155b33cbb7bba913b3d94e6588bde4882f2fe7ff9fc5b389b12e727b0ee7208ef71550c028facce9bda75ceb449c85 SHA512 3e085782cc4ca43965ffaecf6f513d398847d24b68b4214ec3d4c1c451ee6015fb9445fd4609e2446b4b14ccb5343d6c0b091ad174e5b64051a0f63b8088f126 +DIST sourcegit-2025.24.gh.tar.gz 2959455 BLAKE2B d77fb41f17c89498225eea4cc07f123450a534fd2f6de93e0a84c3ac6f8773c0c0ae12ef19123f3f8384dc94301e2a451b7dfd4f8d8580182bee25b867080c24 SHA512 2964e804a5de45dd2ecb18ee4f020fe727b9f29a83e25503878e3ac010e9d57eaad13620859dda2ae82989bbf4c0cb860a593b8ca979154c887e5004f8c9e0a5 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.24.ebuild b/dev-vcs/sourcegit/sourcegit-2025.24.ebuild new file mode 100644 index 000000000000..37393b63b4e3 --- /dev/null +++ b/dev-vcs/sourcegit/sourcegit-2025.24.ebuild @@ -0,0 +1,152 @@ +# 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] [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 +}
