app-misc/claude-desktop: new package, add 1.19367.0
Signed-off-by: Zakk <221879664+Zakkaus@users.noreply.github.com>
This commit is contained in:
1 parent
490347e237
commit
c68e1dfc84
5 files changed
+125
No files matched your search
@@ -283,6 +283,14 @@ use_latest_release = true
|
||||
prefix = "v"
|
||||
github_account = ["liangyongxiang", "gouwazi"]
|
||||
|
||||
["app-misc/claude-desktop"]
|
||||
source = "apt"
|
||||
mirror = "https://downloads.claude.ai/claude-desktop/apt/stable"
|
||||
suite = "stable"
|
||||
repo = "main"
|
||||
pkg = "claude-desktop"
|
||||
github_account = "zakkaus"
|
||||
|
||||
["app-misc/codex-auth"]
|
||||
source = "github"
|
||||
github = "Loongphy/codex-auth"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
DIST claude-desktop-1.19367.0-amd64.deb 145293396 BLAKE2B d74410507ef0dff585ff4473b6be0c85ce11e0e1903f264108ce47b30feab88f6403e9bce6758e9d8cb3c55d3209db65ba76848357adc894c691881b8dc71330 SHA512 e4ed7c51f6f8d9d182df26d1e5edeaa9f66819650d603d648312afd5b6da013e24bd8e686fb9734d9060f7e69c8f30e79c63cdf1cb80b7813895ac221097e283
|
||||
DIST claude-desktop-1.19367.0-arm64.deb 137657908 BLAKE2B ffd0ec448e0d07c1f8893d94daecd7557f39db70405d319fb78e635d65329c4b05d8eb6d2759ed0ffcec7f59747dc68d2f6fb875859def070e8e91b0ffbb7bab SHA512 3f8ee8be25f54bf60bd4a692c2c33b2bec78e8cb4164a1695a130752d661278f7adc59615b4d6c37b964fbc11d7536a169b1deb4f5a0b007485bdad6fde1114e
|
||||
@@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop optfeature pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Desktop application for Claude.ai"
|
||||
HOMEPAGE="https://claude.com/download"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://downloads.claude.ai/claude-desktop/apt/stable/pool/main/c/claude-desktop/claude-desktop_${PV}_amd64.deb
|
||||
-> ${P}-amd64.deb
|
||||
)
|
||||
arm64? (
|
||||
https://downloads.claude.ai/claude-desktop/apt/stable/pool/main/c/claude-desktop/claude-desktop_${PV}_arm64.deb
|
||||
-> ${P}-arm64.deb
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Anthropic"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
sys-apps/systemd
|
||||
sys-apps/systemd-utils
|
||||
)
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa[gbm(+)]
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-apps/xdg-desktop-portal
|
||||
sys-libs/libcap-ng
|
||||
sys-libs/libseccomp
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libnotify
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# Install the application to /opt
|
||||
dodir /opt
|
||||
mv usr/lib/claude-desktop "${ED}/opt/${PN}" || die
|
||||
|
||||
# Fix chrome-sandbox permissions
|
||||
fperms 4755 "/opt/${PN}/chrome-sandbox"
|
||||
|
||||
# Allow V8's JIT to run under PaX/hardened kernels
|
||||
pax-mark m "${ED}/opt/${PN}/claude-desktop"
|
||||
|
||||
# Launcher on PATH
|
||||
dosym -r "/opt/${PN}/claude-desktop" /usr/bin/claude-desktop
|
||||
|
||||
# Desktop entry and icons (upstream renamed it to the freedesktop app-id)
|
||||
domenu usr/share/applications/com.anthropic.Claude.desktop
|
||||
insinto /usr/share/icons
|
||||
doins -r usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
elog "~/.claude is shared with Claude Code, so signing in may update its login state."
|
||||
|
||||
optfeature "secret/keyring storage" virtual/secret-service
|
||||
optfeature "Cowork sandboxed VM support" app-emulation/qemu
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zakk@gentoozh.org</email>
|
||||
<name>Zakk</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<doc>https://claude.com/download</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,11 @@
|
||||
Anthropic Terms of Service
|
||||
|
||||
Claude Desktop is proprietary software from Anthropic PBC. Use of the
|
||||
application is governed by Anthropic's terms:
|
||||
|
||||
- Consumer Terms of Service: https://www.anthropic.com/legal/consumer-terms
|
||||
- Usage Policy: https://www.anthropic.com/legal/aup
|
||||
- Privacy Policy: https://www.anthropic.com/legal/privacy
|
||||
|
||||
The package redistributes the upstream binary unmodified from
|
||||
https://claude.com/download
|
||||
Reference in new issue
Block a user