summaryrefslogtreecommitdiff
path: root/dev-vcs/sourcegit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/sourcegit')
-rw-r--r--dev-vcs/sourcegit/Manifest2
-rw-r--r--dev-vcs/sourcegit/sourcegit-8.31.ebuild118
2 files changed, 120 insertions, 0 deletions
diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest
index 30b96d88cb0d..0cab8bdafddc 100644
--- a/dev-vcs/sourcegit/Manifest
+++ b/dev-vcs/sourcegit/Manifest
@@ -30,6 +30,7 @@ DIST skiasharp.nativeassets.macos.2.88.8.nupkg 6821808 BLAKE2B d378296cdf4e7ab47
DIST skiasharp.nativeassets.webassembly.2.88.8.nupkg 52734847 BLAKE2B 415a13d0907ee2867c9e89948a0206ff0a176b130dcd3f2edf967692b817595635f1c0685356707f3e4348f4e101bc5856278896a5b56d4133b539f7b65211c6 SHA512 18f19a940f21e458c78fb65d3988fcf7fa3ef87ac266568d938a4c47f89806b6790da851a0db49bf412df9b43d0a8ae461d067def875602bff2670a7d7bf1b89
DIST skiasharp.nativeassets.win32.2.88.8.nupkg 10918061 BLAKE2B 5cd3273f99d994c19463685d8834d18f9062f7a6f39e22b5858a7103817a6d55d333d1a109590448ccbdf5633a10166fc1b3b6c4eb86854b90df33a4c61b616a SHA512 cf469d9b57e03bd775035db8da878241c7bfca0917195665fccf8f73de4d8b5bdf95613421c2fc3dc12c88d05163fa7e8f4cc7ca382cb4288302258ccfe88be8
DIST sourcegit-8.30.1.tar.gz 2858817 BLAKE2B b91fed20111e4fb29a318d0fddd8634fafc0629b9a6a5bb5072281fa0c93f797348a5288ed95dccdcf8af60233de358889288842067e6d16f8e7d9e0914c6d85 SHA512 edf2caacd975a0e55ebd08982cb4e73612e0a38db37c391ba85ee87257299da50baad64187e93ace2123fa18cb595a95e4a1f5b3b00cae0e64b7084267f0a20c
+DIST sourcegit-8.31.tar.gz 2895984 BLAKE2B 94fbb71adc4013d1bca991dd2d6f1cc8b52ae752836cfea32f8380f5ffb7941acbda568279a62508ce83a35b25f5a96de87025fa7f7624f7a3d4af4dcba15da4 SHA512 38007669791275534ef04a0a0586c4ebecfa39360a90d1c8732c9bf8321952898b1dd447b52eea21b68330fd16b25bf25da4eef2c0bc6c54bea876c540bbb638
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
@@ -38,4 +39,5 @@ DIST textmatesharp.1.0.63.nupkg 84136 BLAKE2B d727385f349767a082d28f2e8db088b2b0
DIST textmatesharp.grammars.1.0.63.nupkg 866866 BLAKE2B 4ab3615f3d73d9ebde33ca6a41e42eb31e6a838ebf01cc117507413188778f006a03b28c075ef13a5d1f87c9c4b9ced2cba7e550dd2f2fc3cae88866cbe5cba9 SHA512 bbcb83e0697c4a673d9b0e0e7d0f263ad19a0d2b9a0aa6e4d6c7d004ad3789268880c496f7baea0f5109691a5a8db7a012d9c0f51047a32850b08045c13c35c1
DIST tmds.dbus.protocol.0.16.0.nupkg 241531 BLAKE2B 186c927cbe193005849196ab8d6415790d8ec3435be9fa17f4c2fd50e33fdf5236a5c62679f383b68b37d855dc497208094493d10cb96a97d50ccb94aac2c567 SHA512 1e6e1bf8ea7c652e5502e96323984157e060ac728843f2104ff8dcab755483ff93ef4df7cc4e7dd4b56047ba42bf349c2681e2fb8d6518328eab002e63d371b2
EBUILD sourcegit-8.30.1.ebuild 2672 BLAKE2B 37cbccf8ac103553718a55e92ee275080449d2c8d3ae6036fde606dd3642507cf79ee90bfb14b09dac7216703c897b26e4abf9f3ec7bc781245da63ac2c2f486 SHA512 9041ce60e25adece3aef435c2a928b759169901576ea6afac1556b01f0212e539fd72dc5343defc7836a09e453d373a04f6358c5f8e52885c07e93b4a97882d4
+EBUILD sourcegit-8.31.ebuild 2672 BLAKE2B 37cbccf8ac103553718a55e92ee275080449d2c8d3ae6036fde606dd3642507cf79ee90bfb14b09dac7216703c897b26e4abf9f3ec7bc781245da63ac2c2f486 SHA512 9041ce60e25adece3aef435c2a928b759169901576ea6afac1556b01f0212e539fd72dc5343defc7836a09e453d373a04f6358c5f8e52885c07e93b4a97882d4
MISC metadata.xml 509 BLAKE2B aab4770380a33bf4fb6bae2da226fb4304f1cd5383a05db987860840685c0d0527e01b0919b51825c6bfbf0dc4325b7ab36a089cd6f6831fa1d83914d2d85202 SHA512 f25b7979ba4a49b4d1a50b2c7b50ece83792ea2f34856eab1bf06b0d71075e54d6b896ff538d5cb7f722acfae2d7bf40bc4f277395047208dec3cefc4c14a6b6
diff --git a/dev-vcs/sourcegit/sourcegit-8.31.ebuild b/dev-vcs/sourcegit/sourcegit-8.31.ebuild
new file mode 100644
index 000000000000..ab5e67d5e060
--- /dev/null
+++ b/dev-vcs/sourcegit/sourcegit-8.31.ebuild
@@ -0,0 +1,118 @@
+# 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.3
+avalonia.controls.datagrid@11.1.3
+avalonia.desktop@11.1.3
+avalonia.diagnostics@11.1.3
+avalonia.fonts.inter@11.1.3
+avalonia.freedesktop@11.1.3
+avalonia.native@11.1.3
+avalonia.remote.protocol@11.1.3
+avalonia.skia@11.1.3
+avalonia.themes.fluent@11.1.3
+avalonia.themes.simple@11.1.3
+avalonia.win32@11.1.3
+avalonia.x11@11.1.3
+avalonia@11.1.3
+avaloniaedit.textmate@11.1.0
+communitytoolkit.mvvm@8.2.2
+harfbuzzsharp.nativeassets.linux@7.3.0.2
+harfbuzzsharp.nativeassets.macos@7.3.0.2
+harfbuzzsharp.nativeassets.webassembly@7.3.0.2
+harfbuzzsharp.nativeassets.win32@7.3.0.2
+harfbuzzsharp@7.3.0.2
+microcom.runtime@0.11.0
+onigwrap@1.0.6
+skiasharp.nativeassets.linux@2.88.8
+skiasharp.nativeassets.macos@2.88.8
+skiasharp.nativeassets.webassembly@2.88.8
+skiasharp.nativeassets.win32@2.88.8
+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_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
+}