Skip to content

Commit 0ae6d8f

Browse files
Synchronise with metacraft-desktop-packages
1 parent ab08251 commit 0ae6d8f

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

dev-debug/codetracer-bin/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DIST ct 324977096 BLAKE2B 6f9ca6e46a79c008ed86964be95fa04ef006e547c2ebe48f14002cb99a0c5e6429c51ba9e60576febc7502cdd49677939284e877e749df40e8340316072ef4b6 SHA512 5b0dad81bb0290e43c866fe5f454a8037006e3364e05001832063bf00068f8a0354f1dba54b18f84cd00e7c772c264d31b8d88471c0dd0a460076e1d08397e25
2+
DIST resources.tar.xz 452172 BLAKE2B 862c03da804b4f896d179aee4cea367db1d9f62a4952b671a439e6afd18f33a970b34144e84d42a2c8ca2bb74cf884fc2492d3f7e10c773dc13f2b899cdbf4bd SHA512 802ed106cd5e84af45f388f84238d7b597ca66f2daa9f9599f1b8229a1382974c792c4106f08ac03950c2de2978de8b3a7b535faefe917df23d66f85a3e601cd
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Distributed under the terms of the MIT License
2+
3+
EAPI="7"
4+
5+
inherit xdg
6+
7+
DESCRIPTION="A user-friendly time-traveling debugger for a varierty of programming languages"
8+
HOMEPAGE="https://github.com/metacraft-labs/codetracer"
9+
SRC_URI="$HOMEPAGE/releases/download/${PV}/resources.tar.xz -> resources.tar.xz
10+
https://downloads.codetracer.com/CodeTracer-${PV}-amd64.AppImage -> ct"
11+
12+
LICENSE="AGPL-3"
13+
SLOT="0"
14+
KEYWORDS="*"
15+
IUSE=""
16+
RESTRICT="strip" # Stripping ct will make it unable to be run
17+
18+
BDEPEND=""
19+
DEPEND=""
20+
RDEPEND="sys-fs/fuse
21+
dev-libs/openssl
22+
sys-apps/xdg-desktop-portal
23+
"
24+
25+
S="${WORKDIR}/"
26+
27+
src_unpack() {
28+
unpack resources.tar.xz
29+
cp "${DISTDIR}"/ct "${WORKDIR}"
30+
}
31+
32+
src_install() {
33+
dobin "${WORKDIR}"/ct
34+
35+
install -Dm644 "${WORKDIR}"/resources/codetracer.desktop "${ED}"/usr/share/applications/codetracer.desktop
36+
37+
install -Dm644 "${WORKDIR}"/resources/Icon.iconset/icon_16x16.png "${ED}"/usr/share/icons/hicolor/16x16/apps/codetracer.png
38+
install -Dm644 "${WORKDIR}"/resources/Icon.iconset/icon_32x32.png "${ED}"/usr/share/icons/hicolor/32x32/apps/codetracer.png
39+
install -Dm644 "${WORKDIR}"/resources/Icon.iconset/icon_128x128.png "${ED}"/usr/share/icons/hicolor/128x128/apps/codetracer.png
40+
install -Dm644 "${WORKDIR}"/resources/Icon.iconset/icon_256x256.png "${ED}"/usr/share/icons/hicolor/256x256/apps/codetracer.png
41+
install -Dm644 "${WORKDIR}"/resources/Icon.iconset/icon_512x512.png "${ED}"/usr/share/icons/hicolor/512x512/apps/codetracer.png
42+
}
43+
44+
pkg_postinst() {
45+
xdg_icon_cache_update
46+
}
47+
48+
pkg_postrm() {
49+
xdg_icon_cache_update
50+
}

0 commit comments

Comments
 (0)