diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-11-13 17:28:55 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-11-13 19:07:07 +0100 |
commit | 4fd82525bd16956f535ec1c71f6f40ce15e700a7 (patch) | |
tree | dfe8d71d4840b7f469f77bf29d4695198120721f /dev-vcs | |
parent | app-office/joplin-desktop: bump to 3.1.24 (diff) | |
download | gentoo-4fd82525bd16956f535ec1c71f6f40ce15e700a7.tar.gz gentoo-4fd82525bd16956f535ec1c71f6f40ce15e700a7.tar.bz2 gentoo-4fd82525bd16956f535ec1c71f6f40ce15e700a7.zip |
dev-vcs/sourcegit: bump to 8.38
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/sourcegit/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/sourcegit/sourcegit-8.38.ebuild | 141 |
2 files changed, 142 insertions, 0 deletions
diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest index 2cdad9430088..35c70047cddb 100644 --- a/dev-vcs/sourcegit/Manifest +++ b/dev-vcs/sourcegit/Manifest @@ -64,6 +64,7 @@ DIST sourcegit-8.32.tar.gz 2897371 BLAKE2B 810cbac1e64a61c2861154cef3fb55bef2ab0 DIST sourcegit-8.35.tar.gz 2758409 BLAKE2B ff1f0c058cb11300d191622c57cc965c4cb931c1badf8c1f048ab27a0cd77cc45bcd3f61379c27ad1db6e784225afd6b0bc39e644f908a72ec9bc13d947179fb SHA512 857b5f0fa7a0db1a8ab26f92cdbbd11a69cc7a80c250414f39b7a2fdac60a27edf60278f415fd5ef379c1ba6a1e8d58574e502a9468476f4b0eb0b731a8cecda DIST sourcegit-8.36.tar.gz 2764132 BLAKE2B 8c4bee27b5f5257745fd380b2c74691d66681c895274262feda07dd946cc38490fc2e718e006a6cd7dd38f2280c11f3b7209ad89096ebc2e2b729742de4ae06a SHA512 0b1df3ecca91f5f91368025c05ad67bb6d84a3a016d32962766fe38aa12202ff19cb18e5b2dc0b329fb6379ee39453a0da99e12a1d8e9ab85779348d1ff76e6b DIST sourcegit-8.37.tar.gz 2779046 BLAKE2B a581a71889681b8bcf6d531fa947e0cf2f6c891204224c9df3f69ee8f169f198deba57a6513af7ef3f0eef6f36324dd0ab8c9594e3957763f9257e6b63515fdd SHA512 2c3973b4c3b19eaa8cec7c5fd5817ed6573f2d68a61f3835796ed788cc7cb9621a4975ab6a4e3f53fdcaa49d38a9e48673a46a9ddf15671707f6cd7c63f5a901 +DIST sourcegit-8.38.tar.gz 2784491 BLAKE2B 64c4b2eb1463716f190071d49ad245e8861dbc2120c6f6f5754d0c9967c7a6b4531bb6103b07baf9662f9bffa2fa477be88c27a467dcb746e785e4f9a48709e5 SHA512 ac84834dcc3a1aae8ce16a5987dcd5b5c8f43a202aa2c7c8c1afdba6f5fa279eeba2b37c75b610284887e64fa25ae3ae763f1e050f49835920f0051be921156f DIST system.io.pipelines.6.0.0.nupkg 221298 BLAKE2B 344160cc3e08c0a9004eac9672b89d8aa9fc726a0dbcb2aecd677f995157f90354d3c704862422bdf8a0195918a7411b6ad9315c2f68b01c0c24ca666f4dee53 SHA512 c5983b4510bc8ae4116133ffb9b280fe61d99d47ef52dd78e5bfd03e090901896d5d5fd738dae57006b971840a4d9422bded33ddefa5e927d75d309ef1f70dea DIST system.numerics.vectors.4.5.0.nupkg 382792 BLAKE2B a97284a76a6729052d3a127e1875e2012ae5b90a40533783dc799b543d44cc084035374799e9e1b894083cb61f2639711f18b76ff31145140519a9674dd9d2aa SHA512 9c04ec0530f608aaf801837a791b33857e2ca6d2265a6049c01fd4e972825967e709cad3070f174829b7400f608e9a641d3afc3a45d4636d4c47dd43dd0657b3 DIST system.text.encodings.web.8.0.0.nupkg 374440 BLAKE2B 97211e710df3dcd17932f168e254806d7c8692ac01d667a2e89a5ddc956b24fba8467fbc2d451057757b5c502442d2c91bcaf0f867da7e95456b2aa18136b354 SHA512 ba0822c38c3b658aba9495642d269e882b827e3be4ad2dc1426d8a97d3cbc5a2277c5f80847d0cb9381078af01523328c4992caa058146d5d8ee6b8a08609c32 diff --git a/dev-vcs/sourcegit/sourcegit-8.38.ebuild b/dev-vcs/sourcegit/sourcegit-8.38.ebuild new file mode 100644 index 000000000000..9e2094df470c --- /dev/null +++ b/dev-vcs/sourcegit/sourcegit-8.38.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT="8.0" +NUGETS=" +avalonia.angle.windows.natives@2.1.22045.20230930 +avalonia.avaloniaedit@11.1.0 +avalonia.buildservices@0.0.29 +avalonia.controls.colorpicker@11.1.4 +avalonia.controls.datagrid@11.1.4 +avalonia.desktop@11.1.4 +avalonia.diagnostics@11.1.4 +avalonia.fonts.inter@11.1.4 +avalonia.freedesktop@11.1.4 +avalonia.native@11.1.4 +avalonia.remote.protocol@11.1.4 +avalonia.skia@11.0.0 +avalonia.skia@11.1.4 +avalonia.themes.fluent@11.1.4 +avalonia.themes.simple@11.1.4 +avalonia.win32@11.1.4 +avalonia.x11@11.1.4 +avalonia@11.1.4 +avaloniaedit.textmate@11.1.0 +communitytoolkit.mvvm@8.3.2 +harfbuzzsharp.nativeassets.linux@2.8.2.3 +harfbuzzsharp.nativeassets.linux@7.3.0.2 +harfbuzzsharp.nativeassets.macos@2.8.2.3 +harfbuzzsharp.nativeassets.macos@7.3.0.2 +harfbuzzsharp.nativeassets.webassembly@2.8.2.3 +harfbuzzsharp.nativeassets.webassembly@7.3.0.2 +harfbuzzsharp.nativeassets.win32@2.8.2.3 +harfbuzzsharp.nativeassets.win32@7.3.0.2 +harfbuzzsharp@2.8.2.3 +harfbuzzsharp@7.3.0.2 +livechartscore.skiasharpview.avalonia@2.0.0-rc3.3 +livechartscore.skiasharpview@2.0.0-rc3.3 +livechartscore@2.0.0-rc3.3 +microcom.runtime@0.11.0 +onigwrap@1.0.6 +skiasharp.harfbuzz@2.88.8 +skiasharp.nativeassets.linux@2.88.3 +skiasharp.nativeassets.linux@2.88.8 +skiasharp.nativeassets.macos@2.88.3 +skiasharp.nativeassets.macos@2.88.8 +skiasharp.nativeassets.webassembly@2.88.3 +skiasharp.nativeassets.webassembly@2.88.8 +skiasharp.nativeassets.win32@2.88.3 +skiasharp.nativeassets.win32@2.88.8 +skiasharp@2.88.3 +skiasharp@2.88.8 +system.io.pipelines@6.0.0 +system.numerics.vectors@4.5.0 +system.text.encodings.web@8.0.0 +system.text.json@8.0.4 +textmatesharp.grammars@1.0.63 +textmatesharp@1.0.63 +tmds.dbus.protocol@0.16.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 ) + +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 +} |